GridFractionalBoundaryConditionSolver2.hpp
Go to the documentation of this file.
83 std::shared_ptr<GridFractionalBoundaryConditionSolver2>;
GridFractionalBoundaryConditionSolver2 & operator=(const GridFractionalBoundaryConditionSolver2 &)=delete
Deleted copy assignment operator.
Abstract base class for 2-D boundary condition solver for grids.
Definition: GridBoundaryConditionSolver2.hpp:27
~GridFractionalBoundaryConditionSolver2() override=default
Default virtual destructor.
void OnColliderUpdated(const Vector2UZ &gridSize, const Vector2D &gridSpacing, const Vector2D &gridOrigin) override
Invoked when a new collider is set.
std::shared_ptr< ScalarField2 > ScalarField2Ptr
Shared pointer for the ScalarField2 type.
Definition: ScalarField.hpp:67
std::shared_ptr< GridFractionalBoundaryConditionSolver2 > GridFractionalBoundaryConditionSolver2Ptr
Shared pointer type for the GridFractionalBoundaryConditionSolver2.
Definition: GridFractionalBoundaryConditionSolver2.hpp:83
Fractional 2-D boundary condition solver for grids.
Definition: GridFractionalBoundaryConditionSolver2.hpp:28
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
void ConstrainVelocity(FaceCenteredGrid2 *velocity, unsigned int extrapolationDepth=5) override
N-D face-centered (a.k.a MAC or staggered) grid.
Definition: FaceCenteredGrid.hpp:31
std::shared_ptr< VectorField2 > VectorField2Ptr
Shared pointer for the VectorField2 type.
Definition: VectorField.hpp:87
ScalarField2Ptr GetColliderSDF() const override
Returns the signed distance field of the collider.
std::shared_ptr< CellCenteredScalarGrid2 > CellCenteredScalarGrid2Ptr
Shared pointer for the CellCenteredScalarGrid2 type.
Definition: CellCenteredScalarGrid.hpp:103
GridFractionalBoundaryConditionSolver2()=default
Default constructor.
std::shared_ptr< CustomVectorField2 > CustomVectorField2Ptr
Shared pointer type for the CustomVectorField2.
Definition: CustomVectorField.hpp:93
VectorField2Ptr GetColliderVelocityField() const override
Returns the velocity field of the collider.