Loading...
Searching...
No Matches
GridBackwardEulerDiffusionSolver2.hpp
Go to the documentation of this file.
Abstract base class for N-D collocated vector grid structure.
Definition CollocatedVectorGrid.hpp:23
N-D face-centered (a.k.a MAC or staggered) grid.
Definition FaceCenteredGrid.hpp:32
2-D grid-based backward Euler diffusion solver.
Definition GridBackwardEulerDiffusionSolver2.hpp:31
void Solve(const ScalarGrid2 &source, double diffusionCoefficient, double timeIntervalInSeconds, ScalarGrid2 *dest, const ScalarField2 &boundarySDF=ConstantScalarField2{ std::numeric_limits< double >::max() }, const ScalarField2 &fluidSDF=ConstantScalarField2{ -std::numeric_limits< double >::max() }) override
GridBackwardEulerDiffusionSolver2(BoundaryType boundaryType=BoundaryType::Neumann)
Constructs the solver with given boundary type.
void Solve(const CollocatedVectorGrid2 &source, double diffusionCoefficient, double timeIntervalInSeconds, CollocatedVectorGrid2 *dest, const ScalarField2 &boundarySDF=ConstantScalarField2{ std::numeric_limits< double >::max() }, const ScalarField2 &fluidSDF=ConstantScalarField2{ -std::numeric_limits< double >::max() }) override
BoundaryType
Definition GridBackwardEulerDiffusionSolver2.hpp:34
GridBackwardEulerDiffusionSolver2(GridBackwardEulerDiffusionSolver2 &&) noexcept=delete
Deleted move constructor.
void Solve(const FaceCenteredGrid2 &source, double diffusionCoefficient, double timeIntervalInSeconds, FaceCenteredGrid2 *dest, const ScalarField2 &boundarySDF=ConstantScalarField2{ std::numeric_limits< double >::max() }, const ScalarField2 &fluidSDF=ConstantScalarField2{ -std::numeric_limits< double >::max() }) override
void SetLinearSystemSolver(const FDMLinearSystemSolver2Ptr &solver)
Sets the linear system solver for this diffusion solver.
GridBackwardEulerDiffusionSolver2(const GridBackwardEulerDiffusionSolver2 &)=delete
Deleted copy constructor.
Abstract base class for 2-D grid-based diffusion equation solver.
Definition GridDiffusionSolver2.hpp:31
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< GridBackwardEulerDiffusionSolver2 > GridBackwardEulerDiffusionSolver2Ptr
Shared pointer type for the GridBackwardEulerDiffusionSolver2.
Definition GridBackwardEulerDiffusionSolver2.hpp:137
std::shared_ptr< FDMLinearSystemSolver2 > FDMLinearSystemSolver2Ptr
Shared pointer type for the FDMLinearSystemSolver2.
Definition FDMLinearSystemSolver2.hpp:52
Linear system (Ax=b) for 2-D finite differencing.
Definition FDMLinearSystem2.hpp:41
1.9.8