Go to the documentation of this file.
7 #ifndef INCLUDE_JET_GRID_FRACTIONAL_BOUNDARY_CONDITION_SOLVER3_H_
8 #define INCLUDE_JET_GRID_FRACTIONAL_BOUNDARY_CONDITION_SOLVER3_H_
44 unsigned int extrapolationDepth = 5)
override;
65 typedef std::shared_ptr<GridFractionalBoundaryConditionSolver3>
70 #endif // INCLUDE_JET_GRID_FRACTIONAL_BOUNDARY_CONDITION_SOLVER3_H_
void constrainVelocity(FaceCenteredGrid3 *velocity, unsigned int extrapolationDepth=5) override
GridFractionalBoundaryConditionSolver3()
Default constructor.
void onColliderUpdated(const Size3 &gridSize, const Vector3D &gridSpacing, const Vector3D &gridOrigin) override
Invoked when a new collider is set.
Fractional 3-D boundary condition solver for grids.
Definition: grid_fractional_boundary_condition_solver3.h:27
std::shared_ptr< CellCenteredScalarGrid3 > CellCenteredScalarGrid3Ptr
Shared pointer for the CellCenteredScalarGrid3 type.
Definition: cell_centered_scalar_grid3.h:87
const Vector3D & gridOrigin() const
Returns the origin of the velocity grid to be constrained.
std::shared_ptr< GridFractionalBoundaryConditionSolver3 > GridFractionalBoundaryConditionSolver3Ptr
Shared pointer type for the GridFractionalBoundaryConditionSolver3.
Definition: grid_fractional_boundary_condition_solver3.h:66
Definition: advection_solver2.h:18
VectorField3Ptr colliderVelocityField() const override
Returns the velocity field of the collider.
3-D face-centered (a.k.a MAC or staggered) grid.
Definition: face_centered_grid3.h:26
Abstract base class for 3-D boundary condition solver for grids.
Definition: grid_boundary_condition_solver3.h:26
std::shared_ptr< ScalarField3 > ScalarField3Ptr
Shared pointer for the ScalarField3 type.
Definition: scalar_field3.h:40
const Size3 & gridSize() const
Returns the size of the velocity grid to be constrained.
3-D size class.
Definition: size3.h:19
virtual ~GridFractionalBoundaryConditionSolver3()
Default destructor.
std::shared_ptr< CustomVectorField3 > CustomVectorField3Ptr
Shared pointer type for the CustomVectorField3.
Definition: custom_vector_field3.h:73
ScalarField3Ptr colliderSdf() const override
Returns the signed distance field of the collider.
3-D vector class.
Definition: vector3.h:25
const Vector3D & gridSpacing() const
Returns the spacing of the velocity grid to be constrained.
std::shared_ptr< VectorField3 > VectorField3Ptr
Shared pointer for the VectorField3 type.
Definition: vector_field3.h:40