Loading...
Searching...
No Matches
GridFractionalSinglePhasePressureSolver3.hpp
Go to the documentation of this file.
N-D face-centered (a.k.a MAC or staggered) grid.
Definition FaceCenteredGrid.hpp:32
3-D fractional single-phase pressure solver.
Definition GridFractionalSinglePhasePressureSolver3.hpp:47
const FDMVector3 & GetPressure() const
Returns the pressure field.
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) override
Solves the pressure term and apply it to the velocity field.
const FDMLinearSystemSolver3Ptr & GetLinearSystemSolver() const
Returns the linear system solver.
void SetLinearSystemSolver(const FDMLinearSystemSolver3Ptr &solver)
Sets the linear system solver.
GridFractionalSinglePhasePressureSolver3()
Default constructor.
GridFractionalSinglePhasePressureSolver3(GridFractionalSinglePhasePressureSolver3 &&) noexcept=delete
Deleted move constructor.
GridFractionalSinglePhasePressureSolver3(const GridFractionalSinglePhasePressureSolver3 &)=delete
Deleted copy constructor.
GridBoundaryConditionSolver3Ptr SuggestedBoundaryConditionSolver() const override
Returns the best boundary condition solver for this solver.
Abstract base class for 2-D grid-based pressure solver.
Definition GridPressureSolver3.hpp:30
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< FDMLinearSystemSolver3 > FDMLinearSystemSolver3Ptr
Shared pointer type for the FDMLinearSystemSolver3.
Definition FDMLinearSystemSolver3.hpp:52
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< GridFractionalSinglePhasePressureSolver3 > GridFractionalSinglePhasePressureSolver3Ptr
Shared pointer type for the GridFractionalSinglePhasePressureSolver3.
Definition GridFractionalSinglePhasePressureSolver3.hpp:157
std::shared_ptr< FDMMGSolver3 > FDMMGSolver3Ptr
Shared pointer type for the FDMMGSolver3.
Definition FDMMGSolver3.hpp:55
std::shared_ptr< GridBoundaryConditionSolver3 > GridBoundaryConditionSolver3Ptr
Shared pointer type for the GridBoundaryConditionSolver3.
Definition GridBoundaryConditionSolver3.hpp:117
Compressed linear system (Ax=b) for 3-D finite differencing.
Definition FDMLinearSystem3.hpp:63
Linear system (Ax=b) for 3-D finite differencing.
Definition FDMLinearSystem3.hpp:44
1.9.8