MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
Accessor< Derived, SolverType_ > Class Template Referenceabstract

#include <fvstg.h>

Inheritance diagram for Accessor< Derived, SolverType_ >:
[legend]
Collaboration diagram for Accessor< Derived, SolverType_ >:
[legend]

Public Types

using nDim_citerator = nDim_iterator_t< std::vector< MInt >::const_iterator, SolverType_ >
 

Public Member Functions

Derivedd ()
 
virtual MFloat a_coordinate (MInt, MInt) const =0
 
virtual MInt domainId (MInt, MInt) const =0
 
virtual MFloata_pvariable (MInt, MInt)=0
 
virtual MFloatUInfinity () const =0
 
virtual MFloatPInfinity () const =0
 
virtual MFloatrhoInfinity () const =0
 
MInt sizeBC () const
 
MInt sizeStg () const
 
nDim_citerator iterateSlopes ()
 
nDim_citerator iterateSlopes_nDim_citerator_end ()
 
nDim_citerator iterateB1 ()
 
nDim_citerator iterateB1_nDim_citerator_end ()
 
nDim_citerator iterateAll ()
 
nDim_citerator iterateAll_nDim_citerator_end ()
 
MInt getCellId (const nDim_citerator &it_) const
 
MInt getStgId (const nDim_citerator &it_) const
 
MInt getNghbr (const nDim_citerator &it_, MInt dir) const
 
MInt getNghbrStg (const nDim_citerator &it_, MInt dir) const
 

Public Attributes

SolverType *const m_solver
 
MPI_Comm m_commStg
 
Storage m_stgToCellId
 
Storage m_bcStgId
 
Storage m_stgId
 
MInt m_noBcCells {}
 
MInt m_stgSize {}
 

Static Public Attributes

static constexpr const MInt m_nDim = 3
 

Protected Types

using Storage = std::vector< MInt >
 
using iterator = std::vector< MInt >::iterator
 
using const_iterator = std::vector< MInt >::const_iterator
 

Private Types

using SolverType = SolverType_
 

Private Member Functions

 Accessor (SolverType_ *solver, const MPI_Comm &commStg)
 

Private Attributes

friend Derived
 

Detailed Description

template<class Derived, class SolverType_>
class Accessor< Derived, SolverType_ >

Definition at line 88 of file fvstg.h.

Member Typedef Documentation

◆ const_iterator

template<class Derived , class SolverType_ >
using Accessor< Derived, SolverType_ >::const_iterator = std::vector<MInt>::const_iterator
protected

Definition at line 102 of file fvstg.h.

◆ iterator

template<class Derived , class SolverType_ >
using Accessor< Derived, SolverType_ >::iterator = std::vector<MInt>::iterator
protected

Definition at line 101 of file fvstg.h.

◆ nDim_citerator

template<class Derived , class SolverType_ >
using Accessor< Derived, SolverType_ >::nDim_citerator = nDim_iterator_t<std::vector<MInt>::const_iterator, SolverType_>

Definition at line 120 of file fvstg.h.

◆ SolverType

template<class Derived , class SolverType_ >
using Accessor< Derived, SolverType_ >::SolverType = SolverType_
private

Definition at line 92 of file fvstg.h.

◆ Storage

template<class Derived , class SolverType_ >
using Accessor< Derived, SolverType_ >::Storage = std::vector<MInt>
protected

Definition at line 100 of file fvstg.h.

Constructor & Destructor Documentation

◆ Accessor()

template<class Derived , class SolverType_ >
Accessor< Derived, SolverType_ >::Accessor ( SolverType_ *  solver,
const MPI_Comm &  commStg 
)
inlineprivate

Definition at line 96 of file fvstg.h.

96: m_solver(solver), m_commStg(commStg) {} //= default;
SolverType *const m_solver
Definition: fvstg.h:152
MPI_Comm m_commStg
Definition: fvstg.h:153

Member Function Documentation

◆ a_coordinate()

template<class Derived , class SolverType_ >
virtual MFloat Accessor< Derived, SolverType_ >::a_coordinate ( MInt  ,
MInt   
) const
pure virtual

◆ a_pvariable()

template<class Derived , class SolverType_ >
virtual MFloat & Accessor< Derived, SolverType_ >::a_pvariable ( MInt  ,
MInt   
)
pure virtual

◆ d()

template<class Derived , class SolverType_ >
Derived * Accessor< Derived, SolverType_ >::d ( )
inline

Definition at line 106 of file fvstg.h.

106{ return static_cast<Derived*>(this); }
friend Derived
Definition: fvstg.h:97

◆ domainId()

template<class Derived , class SolverType_ >
virtual MInt Accessor< Derived, SolverType_ >::domainId ( MInt  ,
MInt   
) const
pure virtual

◆ getCellId()

template<class Derived , class SolverType_ >
MInt Accessor< Derived, SolverType_ >::getCellId ( const nDim_citerator it_) const

◆ getNghbr()

template<class Derived , class SolverType_ >
MInt Accessor< Derived, SolverType_ >::getNghbr ( const nDim_citerator it_,
MInt  dir 
) const

◆ getNghbrStg()

template<class Derived , class SolverType_ >
MInt Accessor< Derived, SolverType_ >::getNghbrStg ( const nDim_citerator it_,
MInt  dir 
) const

◆ getStgId()

template<class Derived , class SolverType_ >
MInt Accessor< Derived, SolverType_ >::getStgId ( const nDim_citerator it_) const

◆ iterateAll()

template<class Derived , class SolverType_ >
nDim_citerator Accessor< Derived, SolverType_ >::iterateAll ( )

◆ iterateAll_nDim_citerator_end()

template<class Derived , class SolverType_ >
nDim_citerator Accessor< Derived, SolverType_ >::iterateAll_nDim_citerator_end ( )

◆ iterateB1()

template<class Derived , class SolverType_ >
nDim_citerator Accessor< Derived, SolverType_ >::iterateB1 ( )

◆ iterateB1_nDim_citerator_end()

template<class Derived , class SolverType_ >
nDim_citerator Accessor< Derived, SolverType_ >::iterateB1_nDim_citerator_end ( )

◆ iterateSlopes()

template<class Derived , class SolverType_ >
nDim_citerator Accessor< Derived, SolverType_ >::iterateSlopes ( )

◆ iterateSlopes_nDim_citerator_end()

template<class Derived , class SolverType_ >
nDim_citerator Accessor< Derived, SolverType_ >::iterateSlopes_nDim_citerator_end ( )

◆ PInfinity()

template<class Derived , class SolverType_ >
virtual MFloat & Accessor< Derived, SolverType_ >::PInfinity ( ) const
pure virtual

◆ rhoInfinity()

template<class Derived , class SolverType_ >
virtual MFloat & Accessor< Derived, SolverType_ >::rhoInfinity ( ) const
pure virtual

◆ sizeBC()

template<class Derived , class SolverType_ >
MInt Accessor< Derived, SolverType_ >::sizeBC ( ) const
inline

Definition at line 116 of file fvstg.h.

116{ return m_noBcCells; }
MInt m_noBcCells
Definition: fvstg.h:163

◆ sizeStg()

template<class Derived , class SolverType_ >
MInt Accessor< Derived, SolverType_ >::sizeStg ( ) const
inline

Definition at line 117 of file fvstg.h.

117{ return m_stgSize; }
MInt m_stgSize
Definition: fvstg.h:165

◆ UInfinity()

template<class Derived , class SolverType_ >
virtual MFloat & Accessor< Derived, SolverType_ >::UInfinity ( ) const
pure virtual

Member Data Documentation

◆ Derived

template<class Derived , class SolverType_ >
friend Accessor< Derived, SolverType_ >::Derived
private

Definition at line 97 of file fvstg.h.

◆ m_bcStgId

template<class Derived , class SolverType_ >
Storage Accessor< Derived, SolverType_ >::m_bcStgId

Definition at line 159 of file fvstg.h.

◆ m_commStg

template<class Derived , class SolverType_ >
MPI_Comm Accessor< Derived, SolverType_ >::m_commStg

Definition at line 153 of file fvstg.h.

◆ m_nDim

template<class Derived , class SolverType_ >
constexpr const MInt Accessor< Derived, SolverType_ >::m_nDim = 3
staticconstexpr

Definition at line 154 of file fvstg.h.

◆ m_noBcCells

template<class Derived , class SolverType_ >
MInt Accessor< Derived, SolverType_ >::m_noBcCells {}

Definition at line 163 of file fvstg.h.

◆ m_solver

template<class Derived , class SolverType_ >
SolverType* const Accessor< Derived, SolverType_ >::m_solver

Definition at line 152 of file fvstg.h.

◆ m_stgId

template<class Derived , class SolverType_ >
Storage Accessor< Derived, SolverType_ >::m_stgId

Definition at line 161 of file fvstg.h.

◆ m_stgSize

template<class Derived , class SolverType_ >
MInt Accessor< Derived, SolverType_ >::m_stgSize {}

Definition at line 165 of file fvstg.h.

◆ m_stgToCellId

template<class Derived , class SolverType_ >
Storage Accessor< Derived, SolverType_ >::m_stgToCellId

Definition at line 157 of file fvstg.h.


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