Go to the documentation of this file.
7 #ifndef INCLUDE_JET_GRID_BLOCKED_BOUNDARY_CONDITION_SOLVER3_H_
8 #define INCLUDE_JET_GRID_BLOCKED_BOUNDARY_CONDITION_SOLVER3_H_
40 unsigned int extrapolationDepth = 5)
override;
57 typedef std::shared_ptr<GridBlockedBoundaryConditionSolver3>
62 #endif // INCLUDE_JET_GRID_BLOCKED_BOUNDARY_CONDITION_SOLVER3_H_
void onColliderUpdated(const Size3 &gridSize, const Vector3D &gridSpacing, const Vector3D &gridOrigin) override
Invoked when a new collider is set.
void constrainVelocity(FaceCenteredGrid3 *velocity, unsigned int extrapolationDepth=5) override
Fractional 3-D boundary condition solver for grids.
Definition: grid_fractional_boundary_condition_solver3.h:27
Blocked 3-D boundary condition solver for grids.
Definition: grid_blocked_boundary_condition_solver3.h:26
const Vector3D & gridOrigin() const
Returns the origin of the velocity grid to be constrained.
std::shared_ptr< GridBlockedBoundaryConditionSolver3 > GridBlockedBoundaryConditionSolver3Ptr
Shared pointer type for the GridBlockedBoundaryConditionSolver3.
Definition: grid_blocked_boundary_condition_solver3.h:58
Definition: advection_solver2.h:18
GridBlockedBoundaryConditionSolver3()
Default constructor.
3-D face-centered (a.k.a MAC or staggered) grid.
Definition: face_centered_grid3.h:26
const Size3 & gridSize() const
Returns the size of the velocity grid to be constrained.
3-D size class.
Definition: size3.h:19
3-D vector class.
Definition: vector3.h:25
const Array3< char > & marker() const
Returns the marker which is 1 if occupied by the collider.
const Vector3D & gridSpacing() const
Returns the spacing of the velocity grid to be constrained.
3-D array class.
Definition: array3.h:43