GridPressureSolver3.h
Go to the documentation of this file.
virtual void Solve(const FaceCenteredGrid3 &input, double timeIntervalInSeconds, FaceCenteredGrid3 *output, const ScalarField3 &boundarySDF=ConstantScalarField3(std::numeric_limits< double >::max()), const VectorField3 &boundaryVelocity=ConstantVectorField3({ 0, 0, 0 }), const ScalarField3 &fluidSDF=ConstantScalarField3(-std::numeric_limits< double >::max()), bool useCompressed=false)=0
Solves the pressure term and apply it to the velocity field.
std::shared_ptr< GridPressureSolver3 > GridPressureSolver3Ptr
Shared pointer type for the GridPressureSolver3.
Definition: GridPressureSolver3.h:78
std::shared_ptr< GridBoundaryConditionSolver3 > GridBoundaryConditionSolver3Ptr
Shared pointer type for the GridBoundaryConditionSolver3.
Definition: GridBoundaryConditionSolver3.h:104
3-D face-centered (a.k.a MAC or staggered) grid.
Definition: FaceCenteredGrid3.h:25
virtual ~GridPressureSolver3()
Default destructor.
Definition: pybind11Utils.h:24
Abstract base class for 2-D grid-based pressure solver.
Definition: GridPressureSolver3.h:27
virtual GridBoundaryConditionSolver3Ptr SuggestedBoundaryConditionSolver() const =0
Returns the best boundary condition solver for this solver.