GridBackwardEulerDiffusionSolver3.h
Go to the documentation of this file.
56 const ScalarField3& fluidSDF = ConstantScalarField3(-std::numeric_limits<double>::max())) override;
74 const ScalarField3& fluidSDF = ConstantScalarField3(-std::numeric_limits<double>::max())) override;
92 const ScalarField3& fluidSDF = ConstantScalarField3(-std::numeric_limits<double>::max())) override;
124 using GridBackwardEulerDiffusionSolver3Ptr = std::shared_ptr<GridBackwardEulerDiffusionSolver3>;
Abstract base class for 3-D collocated vector grid structure.
Definition: CollocatedVectorGrid3.h:19
void Solve(const ScalarGrid3 &source, double diffusionCoefficient, double timeIntervalInSeconds, ScalarGrid3 *dest, const ScalarField3 &boundarySDF=ConstantScalarField3(std::numeric_limits< double >::max()), const ScalarField3 &fluidSDF=ConstantScalarField3(-std::numeric_limits< double >::max())) override
3-D grid-based backward Euler diffusion solver.
Definition: GridBackwardEulerDiffusionSolver3.h:28
3-D read-only array accessor class.
Definition: ArrayAccessor3.h:269
std::shared_ptr< FDMLinearSystemSolver3 > FDMLinearSystemSolver3Ptr
Shared pointer type for the FDMLinearSystemSolver3.
Definition: FDMLinearSystemSolver3.h:33
3-D face-centered (a.k.a MAC or staggered) grid.
Definition: FaceCenteredGrid3.h:25
Abstract base class for 3-D grid-based diffusion equation solver.
Definition: GridDiffusionSolver3.h:28
Definition: pybind11Utils.h:24
std::shared_ptr< GridBackwardEulerDiffusionSolver3 > GridBackwardEulerDiffusionSolver3Ptr
Shared pointer type for the GridBackwardEulerDiffusionSolver3.
Definition: GridBackwardEulerDiffusionSolver3.h:124
Abstract base class for 3-D scalar grid structure.
Definition: ScalarGrid3.h:21
void SetLinearSystemSolver(const FDMLinearSystemSolver3Ptr &solver)
Sets the linear system solver for this diffusion solver.
GridBackwardEulerDiffusionSolver3(BoundaryType boundaryType=BoundaryType::Neumann)
Constructs the solver with given boundary type.
Linear system (Ax=b) for 3-D finite differencing.
Definition: FDMLinearSystem3.h:42
BoundaryType
Definition: GridBackwardEulerDiffusionSolver3.h:31