ABLATE Source Documentation  0.12.34
ablate::finiteElement::LowMachFlowSolver Class Reference
+ Inheritance diagram for ablate::finiteElement::LowMachFlowSolver:

Public Member Functions

 LowMachFlowSolver (std::string solverId, std::shared_ptr< domain::Region > region, std::shared_ptr< parameters::Parameters > options={}, std::shared_ptr< parameters::Parameters > parameters={}, std::vector< std::shared_ptr< boundaryConditions::BoundaryCondition >> boundaryConditions={}, std::vector< std::shared_ptr< mathFunctions::FieldFunction >> auxiliaryFields={})
 
void Setup () override
 
void Initialize () override
 
void CompleteFlowInitialization (DM, Vec) override
 
- Public Member Functions inherited from ablate::finiteElement::FiniteElementSolver
 FiniteElementSolver (std::string solverId, std::shared_ptr< domain::Region > region, std::shared_ptr< parameters::Parameters > options, std::vector< std::shared_ptr< boundaryConditions::BoundaryCondition >> boundaryConditions, std::vector< std::shared_ptr< mathFunctions::FieldFunction >> auxiliaryFields)
 
void Register (std::shared_ptr< ablate::domain::SubDomain > subDomain) override
 
PetscErrorCode ComputeIFunction (PetscReal time, Vec locX, Vec locX_t, Vec locF) override
 
PetscErrorCode ComputeIJacobian (PetscReal time, Vec locX, Vec locX_t, PetscReal X_tShift, Mat Jac, Mat JacP) override
 
PetscErrorCode ComputeBoundary (PetscReal time, Vec locX, Vec locX_t) override
 
- Public Member Functions inherited from ablate::solver::Solver
const std::string & GetSolverId () const
 
ablate::domain::SubDomainGetSubDomain () noexcept
 
const ablate::domain::SubDomainGetSubDomain () const noexcept
 
std::shared_ptr< domain::RegionGetRegion () const noexcept
 
void PreStage (TS ts, PetscReal stagetime)
 
void PreStep (TS ts)
 
void PostStep (TS ts)
 
void PostEvaluate (TS ts)
 
void RegisterPreStep (const std::function< void(TS ts, Solver &)> &preStep)
 
void RegisterPreStage (const std::function< void(TS ts, Solver &, PetscReal)> &preStage)
 
void RegisterPostStep (const std::function< void(TS ts, Solver &)> &postStep)
 
void RegisterPostEvaluate (const std::function< void(TS ts, Solver &)> &postEval)
 
void GetCellRange (ablate::domain::Range &cellRange) const
 
void GetFaceRange (ablate::domain::Range &faceRange) const
 
void GetRange (PetscInt depth, ablate::domain::Range &range) const
 
void RestoreRange (ablate::domain::Range &range) const
 

Additional Inherited Members

- Static Public Member Functions inherited from ablate::finiteElement::FiniteElementSolver
static void UpdateAuxFields (TS ts, FiniteElementSolver &fe)
 
- Protected Member Functions inherited from ablate::solver::Solver
 Solver (std::string solverId, std::shared_ptr< domain::Region >={}, std::shared_ptr< parameters::Parameters > options=nullptr)
 
- Static Protected Member Functions inherited from ablate::solver::Solver
static PetscErrorCode DMPlexInsertBoundaryValues_Plex (DM dm, PetscDS ds, PetscBool insertEssential, Vec locX, PetscReal time, Vec faceGeomFVM, Vec cellGeomFVM, Vec gradFVM)
 
static PetscErrorCode DMPlexInsertTimeDerivativeBoundaryValues_Plex (DM dm, PetscDS ds, PetscBool insertEssential, Vec locX, PetscReal time, Vec faceGeomFVM, Vec cellGeomFVM, Vec gradFVM)
 
- Protected Attributes inherited from ablate::solver::Solver
PetscOptions petscOptions
 
std::shared_ptr< ablate::domain::SubDomainsubDomain
 

Member Function Documentation

◆ CompleteFlowInitialization()

void ablate::finiteElement::LowMachFlowSolver::CompleteFlowInitialization ( DM  dm,
Vec  u 
)
overridevirtual

A finite element complete function

Implements ablate::finiteElement::FiniteElementSolver.

◆ Setup()

void ablate::finiteElement::LowMachFlowSolver::Setup ( )
overridevirtual

SubDomain Register and Setup

Reimplemented from ablate::finiteElement::FiniteElementSolver.


The documentation for this class was generated from the following files: