|
Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
#include <PatchHierarchy.hpp>
Public Member Functions | |
| template<typename Equation > | |
| PatchHierarchy (const Equation &equation, const CartesianGridGeometry &geometry, const PatchHierarchyOptions &options) | |
| Constructs a PatchHierarchy object which is capable of holding data described by the secified data description on given geometry extents. More... | |
| PatchHierarchy (DataDescription description, const CartesianGridGeometry &geometry, const PatchHierarchyOptions &options) | |
| Constructs a PatchHierarchy object which is capable of holding data described by the secified data description on given geometry extents. More... | |
Member Acccess | |
| const DataDescription & | GetDataDescription () const noexcept |
| Return some additional patch hierarchy options. More... | |
| const PatchHierarchyOptions & | GetOptions () const noexcept |
| Return some additional patch hierarchy options. More... | |
| const CartesianGridGeometry & | GetGridGeometry () const noexcept |
| Returns the Grid Geometry which was used to create the hierarchy with. More... | |
| const std::shared_ptr< CounterRegistry > & | GetCounterRegistry () const noexcept |
| Return some additional patch hierarchy options. More... | |
| void | SetCounterRegistry (std::shared_ptr< CounterRegistry > registry) |
| Return some additional patch hierarchy options. More... | |
Observers | |
| int | GetNumberOfLevels () const noexcept |
| int | GetMaxNumberOfLevels () const noexcept |
Level specific Access | |
| std::ptrdiff_t | GetCycles (int level=0) const |
| Returns the number of cycles done for a specific level. More... | |
| Duration | GetTimePoint (int level=0) const |
| Returns the time point of a specified level number. More... | |
| int | GetRatioToCoarserLevel (int level, Direction dir) const |
| Returns the ratio from fine to coarse for specified fine level number and direction. More... | |
| ::amrex::IntVect | GetRatioToCoarserLevel (int level) const |
| Returns the number of cycles done for a specific level. More... | |
| const ::amrex::Geometry & | GetGeometry (int level) const |
| Returns the number of cycles done for a specific level. More... | |
| PatchLevel & | GetPatchLevel (int level) |
| Returns the number of cycles done for a specific level. More... | |
| const PatchLevel & | GetPatchLevel (int level) const |
| Returns the number of cycles done for a specific level. More... | |
| const std::shared_ptr<::amrex::EBFArrayBoxFactory > & | GetEmbeddedBoundary (int level) const |
| Returns the number of cycles done for a specific level. More... | |
| CutCellData< AMREX_SPACEDIM > | GetCutCellData (int level, const ::amrex::MFIter &mfi) const |
| Returns the number of cycles done for a specific level. More... | |
| const std::shared_ptr< DebugStorage > & | GetDebugStorage () const noexcept |
| Returns a shared pointer to the debug storage. More... | |
Private Attributes | |
| DataDescription | description_ |
| CartesianGridGeometry | grid_geometry_ |
| PatchHierarchyOptions | options_ |
| std::vector< PatchLevel > | patch_level_ |
| std::vector<::amrex::Geometry > | patch_level_geometry_ |
| std::shared_ptr< CounterRegistry > | registry_ |
| std::shared_ptr< DebugStorage > | debug_storage_ |
| fub::amrex::cutcell::PatchHierarchy::PatchHierarchy | ( | const Equation & | equation, |
| const CartesianGridGeometry & | geometry, | ||
| const PatchHierarchyOptions & | options | ||
| ) |
Constructs a PatchHierarchy object which is capable of holding data described by the secified data description on given geometry extents.
| fub::amrex::cutcell::PatchHierarchy::PatchHierarchy | ( | DataDescription | description, |
| const CartesianGridGeometry & | geometry, | ||
| const PatchHierarchyOptions & | options | ||
| ) |
Constructs a PatchHierarchy object which is capable of holding data described by the secified data description on given geometry extents.
|
noexcept |
Return some additional patch hierarchy options.
| CutCellData<AMREX_SPACEDIM> fub::amrex::cutcell::PatchHierarchy::GetCutCellData | ( | int | level, |
| const ::amrex::MFIter & | mfi | ||
| ) | const |
Returns the number of cycles done for a specific level.
| [in] | level | the refinement level number |
| std::ptrdiff_t fub::amrex::cutcell::PatchHierarchy::GetCycles | ( | int | level = 0 | ) | const |
Returns the number of cycles done for a specific level.
| [in] | level | the refinement level number |
|
noexcept |
Return some additional patch hierarchy options.
|
noexcept |
Returns a shared pointer to the debug storage.
| const std::shared_ptr<::amrex::EBFArrayBoxFactory>& fub::amrex::cutcell::PatchHierarchy::GetEmbeddedBoundary | ( | int | level | ) | const |
Returns the number of cycles done for a specific level.
| [in] | level | the refinement level number |
| const ::amrex::Geometry& fub::amrex::cutcell::PatchHierarchy::GetGeometry | ( | int | level | ) | const |
Returns the number of cycles done for a specific level.
| [in] | level | the refinement level number |
|
noexcept |
Returns the Grid Geometry which was used to create the hierarchy with.
|
noexcept |
|
noexcept |
|
noexcept |
Return some additional patch hierarchy options.
| PatchLevel& fub::amrex::cutcell::PatchHierarchy::GetPatchLevel | ( | int | level | ) |
Returns the number of cycles done for a specific level.
| [in] | level | the refinement level number |
| const PatchLevel& fub::amrex::cutcell::PatchHierarchy::GetPatchLevel | ( | int | level | ) | const |
Returns the number of cycles done for a specific level.
| [in] | level | the refinement level number |
| ::amrex::IntVect fub::amrex::cutcell::PatchHierarchy::GetRatioToCoarserLevel | ( | int | level | ) | const |
Returns the number of cycles done for a specific level.
| [in] | level | the refinement level number |
| int fub::amrex::cutcell::PatchHierarchy::GetRatioToCoarserLevel | ( | int | level, |
| Direction | dir | ||
| ) | const |
Returns the ratio from fine to coarse for specified fine level number and direction.
| [in] | level | the fine refinement level number |
| [in] | dir | the direction |
| Duration fub::amrex::cutcell::PatchHierarchy::GetTimePoint | ( | int | level = 0 | ) | const |
Returns the time point of a specified level number.
| [in] | level | the refinement level number |
| void fub::amrex::cutcell::PatchHierarchy::SetCounterRegistry | ( | std::shared_ptr< CounterRegistry > | registry | ) |
Return some additional patch hierarchy options.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |