Proto  3.2
Public Member Functions | Private Attributes | List of all members
Proto::MBAMRMap< MAP, MEM > Class Template Reference

#include <Proto_MBAMRMap.H>

Public Member Functions

 MBAMRMap ()
 Trivial Constructor. More...
 
 MBAMRMap (const MBAMRLayout &a_grid, const Array< Point, DIM+1 > &a_ghost, unsigned int a_focalBlock=0)
 Non-Trivial Constructor. More...
 
 MBAMRMap (const MBAMRLayout &a_grid, Point a_ghost, unsigned int a_focalBlock=0)
 Non-Trivial Constructor. More...
 
void define (const MBAMRLayout &a_grid, const Array< Point, DIM+1 > &a_ghost, unsigned int a_focalBlock=0)
 Lazy Constructor. More...
 
void define (const MBAMRLayout &a_grid, const Point a_ghost, unsigned int a_focalBlock=0)
 
void initialize ()
 
const MBLevelMap< MAP, MEM > & getLevel (unsigned int a_level) const
 Get Level Map. More...
 
const MBAMRLayoutgrid () const
 Get Grid. More...
 
const MBAMRData< double, DIM, MEM, PR_NODE > & map () const
 Get Cached Coordinates. More...
 
const MBAMRData< double, 1, MEM, PR_NODE > & jacobian () const
 Get Cached Jacobian. More...
 
MBLevelMap< MAP, MEM > & operator[] (unsigned int a_level)
 

Private Attributes

const MBAMRLayoutm_grid
 
MBAMRData< double, DIM, MEM, PR_NODEm_X
 
MBAMRData< double, 1, MEM, PR_CELLm_J
 
std::vector< std::shared_ptr< MBLevelMap< MAP, MEM > > > m_maps
 

Constructor & Destructor Documentation

◆ MBAMRMap() [1/3]

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
Proto::MBAMRMap< MAP, MEM >::MBAMRMap ( )
inline

Trivial Constructor.

◆ MBAMRMap() [2/3]

template<typename MAP , MemType MEM>
Proto::MBAMRMap< MAP, MEM >::MBAMRMap ( const MBAMRLayout a_grid,
const Array< Point, DIM+1 > &  a_ghost,
unsigned int  a_focalBlock = 0 
)
inline

Non-Trivial Constructor.

◆ MBAMRMap() [3/3]

template<typename MAP , MemType MEM>
Proto::MBAMRMap< MAP, MEM >::MBAMRMap ( const MBAMRLayout a_grid,
Point  a_ghost,
unsigned int  a_focalBlock = 0 
)
inline

Non-Trivial Constructor.

Member Function Documentation

◆ define() [1/2]

template<typename MAP , MemType MEM>
void Proto::MBAMRMap< MAP, MEM >::define ( const MBAMRLayout a_grid,
const Array< Point, DIM+1 > &  a_ghost,
unsigned int  a_focalBlock = 0 
)
inline

Lazy Constructor.

◆ define() [2/2]

template<typename MAP , MemType MEM>
void Proto::MBAMRMap< MAP, MEM >::define ( const MBAMRLayout a_grid,
const Point  a_ghost,
unsigned int  a_focalBlock = 0 
)
inline

◆ initialize()

template<typename MAP , MemType MEM>
void Proto::MBAMRMap< MAP, MEM >::initialize ( )
inline

◆ getLevel()

template<typename MAP , MemType MEM>
const MBLevelMap< MAP, MEM > & Proto::MBAMRMap< MAP, MEM >::getLevel ( unsigned int  a_level) const
inline

Get Level Map.

◆ grid()

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
const MBAMRLayout& Proto::MBAMRMap< MAP, MEM >::grid ( ) const
inline

Get Grid.

References Proto::MBAMRMap< MAP, MEM >::m_grid.

◆ map()

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
const MBAMRData<double, DIM, MEM, PR_NODE>& Proto::MBAMRMap< MAP, MEM >::map ( ) const
inline

Get Cached Coordinates.

References Proto::MBAMRMap< MAP, MEM >::m_X.

◆ jacobian()

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
const MBAMRData<double, 1, MEM, PR_NODE>& Proto::MBAMRMap< MAP, MEM >::jacobian ( ) const
inline

Get Cached Jacobian.

References Proto::MBAMRMap< MAP, MEM >::m_J.

◆ operator[]()

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
MBLevelMap<MAP,MEM>& Proto::MBAMRMap< MAP, MEM >::operator[] ( unsigned int  a_level)
inline

Member Data Documentation

◆ m_grid

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
const MBAMRLayout* Proto::MBAMRMap< MAP, MEM >::m_grid
private

◆ m_X

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
MBAMRData<double, DIM, MEM, PR_NODE> Proto::MBAMRMap< MAP, MEM >::m_X
private

◆ m_J

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
MBAMRData<double, 1, MEM, PR_CELL> Proto::MBAMRMap< MAP, MEM >::m_J
private

◆ m_maps

template<typename MAP, MemType MEM = MEMTYPE_DEFAULT>
std::vector<std::shared_ptr<MBLevelMap<MAP,MEM> > > Proto::MBAMRMap< MAP, MEM >::m_maps
private

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