Go to the documentation of this file.
7 #ifndef INCLUDE_JET_GRID_BLOCKED_BOUNDARY_CONDITION_SOLVER2_H_
8 #define INCLUDE_JET_GRID_BLOCKED_BOUNDARY_CONDITION_SOLVER2_H_
40 unsigned int extrapolationDepth = 5)
override;
57 typedef std::shared_ptr<GridBlockedBoundaryConditionSolver2>
62 #endif // INCLUDE_JET_GRID_BLOCKED_BOUNDARY_CONDITION_SOLVER2_H_
const Vector2D & gridOrigin() const
Returns the origin of the velocity grid to be constrained.
Fractional 2-D boundary condition solver for grids.
Definition: grid_fractional_boundary_condition_solver2.h:27
2-D face-centered (a.k.a MAC or staggered) grid.
Definition: face_centered_grid2.h:26
const Size2 & gridSize() const
Returns the size of the velocity grid to be constrained.
2-D array class.
Definition: array2.h:42
const Array2< char > & marker() const
Returns the marker which is 1 if occupied by the collider.
Definition: advection_solver2.h:18
const Vector2D & gridSpacing() const
Returns the spacing of the velocity grid to be constrained.
2-D vector class.
Definition: vector2.h:24
2-D size class.
Definition: size2.h:19
void constrainVelocity(FaceCenteredGrid2 *velocity, unsigned int extrapolationDepth=5) override
Blocked 2-D boundary condition solver for grids.
Definition: grid_blocked_boundary_condition_solver2.h:26
std::shared_ptr< GridBlockedBoundaryConditionSolver2 > GridBlockedBoundaryConditionSolver2Ptr
Shared pointer type for the GridBlockedBoundaryConditionSolver2.
Definition: grid_blocked_boundary_condition_solver2.h:58
void onColliderUpdated(const Size2 &gridSize, const Vector2D &gridSpacing, const Vector2D &gridOrigin) override
Invoked when a new collider is set.
GridBlockedBoundaryConditionSolver2()
Default constructor.