Loading...
Searching...
No Matches
GridPressureSolver3.hpp
Go to the documentation of this file.
N-D face-centered (a.k.a MAC or staggered) grid.
Definition FaceCenteredGrid.hpp:32
Abstract base class for 2-D grid-based pressure solver.
Definition GridPressureSolver3.hpp:30
GridPressureSolver3(const GridPressureSolver3 &)=delete
Deleted copy constructor.
virtual GridBoundaryConditionSolver3Ptr SuggestedBoundaryConditionSolver() const =0
Returns the best boundary condition solver for this solver.
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.
GridPressureSolver3(GridPressureSolver3 &&) noexcept=delete
Deleted move constructor.
GridPressureSolver3()=default
Default constructor.
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< GridPressureSolver3 > GridPressureSolver3Ptr
Shared pointer type for the GridPressureSolver3.
Definition GridPressureSolver3.hpp:96
ConstantScalarField< 3 > ConstantScalarField3
3-D ConstantScalarField type.
Definition ConstantScalarField.hpp:46
ScalarField< 3 > ScalarField3
3-D ScalarField type.
Definition ScalarField.hpp:64
std::shared_ptr< GridBoundaryConditionSolver3 > GridBoundaryConditionSolver3Ptr
Shared pointer type for the GridBoundaryConditionSolver3.
Definition GridBoundaryConditionSolver3.hpp:117
1.9.8