Go to the documentation of this file.
7 #ifndef INCLUDE_JET_GRID_PRESSURE_SOLVER3_H_
8 #define INCLUDE_JET_GRID_PRESSURE_SOLVER3_H_
64 bool useCompressed =
false) = 0;
82 #endif // INCLUDE_JET_GRID_PRESSURE_SOLVER3_H_
Abstract base class for 3-D grid-based pressure solver.
Definition: grid_pressure_solver3.h:29
Abstract base class for 3-D scalar field.
Definition: scalar_field3.h:18
std::shared_ptr< GridPressureSolver3 > GridPressureSolver3Ptr
Shared pointer type for the GridPressureSolver3.
Definition: grid_pressure_solver3.h:78
virtual ~GridPressureSolver3()
Default destructor.
3-D constant vector field.
Definition: constant_vector_field3.h:16
Definition: advection_solver2.h:18
Abstract base class for 3-D vector field.
Definition: vector_field3.h:18
virtual void solve(const FaceCenteredGrid3 &input, double timeIntervalInSeconds, FaceCenteredGrid3 *output, const ScalarField3 &boundarySdf=ConstantScalarField3(kMaxD), const VectorField3 &boundaryVelocity=ConstantVectorField3({0, 0, 0}), const ScalarField3 &fluidSdf=ConstantScalarField3(-kMaxD), bool useCompressed=false)=0
Solves the pressure term and apply it to the velocity field.
3-D face-centered (a.k.a MAC or staggered) grid.
Definition: face_centered_grid3.h:26
3-D constant scalar field.
Definition: constant_scalar_field3.h:15
GridPressureSolver3()
Default constructor.
std::shared_ptr< GridBoundaryConditionSolver3 > GridBoundaryConditionSolver3Ptr
Shared pointer type for the GridBoundaryConditionSolver3.
Definition: grid_boundary_condition_solver3.h:104
constexpr double kMaxD
Max double.
Definition: constants.h:88
virtual GridBoundaryConditionSolver3Ptr suggestedBoundaryConditionSolver() const =0
Returns the best boundary condition solver for this solver.