GridFractionalBoundaryConditionSolver3.hpp
Go to the documentation of this file.
83 std::shared_ptr<GridFractionalBoundaryConditionSolver3>;
std::shared_ptr< CustomVectorField3 > CustomVectorField3Ptr
Shared pointer type for the CustomVectorField3.
Definition: CustomVectorField.hpp:96
std::shared_ptr< CellCenteredScalarGrid3 > CellCenteredScalarGrid3Ptr
Shared pointer for the CellCenteredScalarGrid3 type.
Definition: CellCenteredScalarGrid.hpp:106
std::shared_ptr< GridFractionalBoundaryConditionSolver3 > GridFractionalBoundaryConditionSolver3Ptr
Shared pointer type for the GridFractionalBoundaryConditionSolver3.
Definition: GridFractionalBoundaryConditionSolver3.hpp:83
Fractional 3-D boundary condition solver for grids.
Definition: GridFractionalBoundaryConditionSolver3.hpp:28
std::shared_ptr< ScalarField3 > ScalarField3Ptr
Shared pointer for the ScalarField3 type.
Definition: ScalarField.hpp:70
GridFractionalBoundaryConditionSolver3()=default
Default constructor.
ScalarField3Ptr GetColliderSDF() const override
Returns the signed distance field of the collider.
Abstract base class for 3-D boundary condition solver for grids.
Definition: GridBoundaryConditionSolver3.hpp:27
std::shared_ptr< VectorField3 > VectorField3Ptr
Shared pointer for the VectorField3 type.
Definition: VectorField.hpp:90
void OnColliderUpdated(const Vector3UZ &gridSize, const Vector3D &gridSpacing, const Vector3D &gridOrigin) override
Invoked when a new collider is set.
void ConstrainVelocity(FaceCenteredGrid3 *velocity, unsigned int extrapolationDepth=5) override
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
VectorField3Ptr GetColliderVelocityField() const override
Returns the velocity field of the collider.
N-D face-centered (a.k.a MAC or staggered) grid.
Definition: FaceCenteredGrid.hpp:31
GridFractionalBoundaryConditionSolver3 & operator=(const GridFractionalBoundaryConditionSolver3 &)=delete
Deleted copy assignment operator.
~GridFractionalBoundaryConditionSolver3() override=default
Default virtual destructor.