Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Public Member Functions | Private Attributes | List of all members
fub::amrex::cutcell::IsentropicPressureBoundary Class Reference

#include <IsentropicPressureBoundary.hpp>

Public Member Functions

 IsentropicPressureBoundary (const IdealGasMix< AMREX_SPACEDIM > &eq, const IsentropicPressureBoundaryOptions &options)
 
void FillBoundary (::amrex::MultiFab &mf, const GriddingAlgorithm &gridding, int level)
 Isentropically expand to an outer pressure each state on the physical domain boundary. More...
 
void FillBoundary (::amrex::MultiFab &mf, const GriddingAlgorithm &gridding, int level, Direction dir)
 Isentropically expand to an outer pressure each state on the physical domain boundary. More...
 
void FillBoundary (::amrex::MultiFab &mf, const ::amrex::MultiFab &alphas, const ::amrex::Geometry &geom, const Complete< IdealGasMix< AMREX_SPACEDIM >> &state)
 

Private Attributes

IdealGasMix< AMREX_SPACEDIM > equation_
 
IsentropicPressureBoundaryOptions options_
 

Constructor & Destructor Documentation

◆ IsentropicPressureBoundary()

fub::amrex::cutcell::IsentropicPressureBoundary::IsentropicPressureBoundary ( const IdealGasMix< AMREX_SPACEDIM > &  eq,
const IsentropicPressureBoundaryOptions options 
)

Member Function Documentation

◆ FillBoundary() [1/3]

void fub::amrex::cutcell::IsentropicPressureBoundary::FillBoundary ( ::amrex::MultiFab &  mf,
const ::amrex::MultiFab &  alphas,
const ::amrex::Geometry geom,
const Complete< IdealGasMix< AMREX_SPACEDIM >> &  state 
)

◆ FillBoundary() [2/3]

void fub::amrex::cutcell::IsentropicPressureBoundary::FillBoundary ( ::amrex::MultiFab &  mf,
const GriddingAlgorithm gridding,
int  level 
)

Isentropically expand to an outer pressure each state on the physical domain boundary.

Parameters
[in,out]mfThe MultiFab that will be filled.
[in]griddingThe GriddingAlgorithm will serve as a context.
[in]levelThe level number which is associated with the specified MultiFab mf.
Exceptions
TheOdeSolver within the FlameMasterReactor might not converge and throw an exception.
Ifan unphysical state appears an exception is thrown.
Precondition
mf is defined with the same (BoxArray, DistributionMapping) as defined in the gridding algorithm at refinement level level.

◆ FillBoundary() [3/3]

void fub::amrex::cutcell::IsentropicPressureBoundary::FillBoundary ( ::amrex::MultiFab &  mf,
const GriddingAlgorithm gridding,
int  level,
Direction  dir 
)
inline

Isentropically expand to an outer pressure each state on the physical domain boundary.

Parameters
[in,out]mfThe MultiFab that will be filled.
[in]griddingThe GriddingAlgorithm will serve as a context.
[in]levelThe level number which is associated with the specified MultiFab mf.
[in]dirThe direction in which the physical boundary shall be filled.
Exceptions
TheOdeSolver within the FlameMasterReactor might not converge and throw an exception.
Ifan unphysical state appears an exception is thrown.
Precondition
mf is defined with the same (BoxArray, DistributionMapping) as defined in the gridding algorithm at refinement level level.

Member Data Documentation

◆ equation_

IdealGasMix<AMREX_SPACEDIM> fub::amrex::cutcell::IsentropicPressureBoundary::equation_
private

◆ options_

IsentropicPressureBoundaryOptions fub::amrex::cutcell::IsentropicPressureBoundary::options_
private

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