Chombo + EB + MF  3.2
Public Member Functions | Protected Attributes | List of all members
LevelDataOps< T > Class Template Reference

#include <LevelDataOps.H>

Inheritance diagram for LevelDataOps< T >:
Inheritance graph
[legend]

Public Member Functions

 LevelDataOps ()
 
 LevelDataOps (RefCountedPtr< DataFactory< T > > a_factoryPtr)
 
virtual ~LevelDataOps ()
 
virtual void define (const RefCountedPtr< DataFactory< T > > &a_factoryPtr)
 
virtual void define (DataFactory< T > *a_rawPointer)
 
virtual void create (LevelData< T > &a_lhs, const LevelData< T > &a_rhs)
 
virtual void assign (LevelData< T > &a_lhs, const LevelData< T > &a_rhs)
 
virtual Real dotProduct (const LevelData< T > &a_1, const LevelData< T > &a_2)
 
virtual void mDotProduct (const LevelData< T > &a_1, const int a_sz, const LevelData< T > a_2arr[], Real a_mdots[])
 
virtual void incr (LevelData< T > &a_lhs, const LevelData< T > &a_x, Real a_scale)
 
virtual void mult (LevelData< T > &a_lhs, const LevelData< T > &a_x)
 
virtual void axby (LevelData< T > &a_lhs, const LevelData< T > &a_x, const LevelData< T > &a_y, Real a_a, Real a_b)
 
virtual void scale (LevelData< T > &a_lhs, const Real &a_scale)
 
virtual void plus (LevelData< T > &a_lhs, const Real &a_inc)
 
virtual void setToZero (LevelData< T > &a_lhs)
 
virtual void setVal (LevelData< T > &a_lhs, const Real &a_val)
 
virtual void copyToZero (LevelData< T > &a_lhs, const Copier &a_copier)
 

Protected Attributes

RefCountedPtr< DataFactory< T > > m_levelFactory
 

Constructor & Destructor Documentation

◆ LevelDataOps() [1/2]

template<class T>
LevelDataOps< T >::LevelDataOps ( )
inline

◆ LevelDataOps() [2/2]

template<class T>
LevelDataOps< T >::LevelDataOps ( RefCountedPtr< DataFactory< T > >  a_factoryPtr)
inline

◆ ~LevelDataOps()

template<class T>
virtual LevelDataOps< T >::~LevelDataOps ( )
inlinevirtual

Member Function Documentation

◆ define() [1/2]

template<class T>
virtual void LevelDataOps< T >::define ( const RefCountedPtr< DataFactory< T > > &  a_factoryPtr)
inlinevirtual

◆ define() [2/2]

template<class T>
virtual void LevelDataOps< T >::define ( DataFactory< T > *  a_rawPointer)
inlinevirtual

◆ create()

template<class T>
void LevelDataOps< T >::create ( LevelData< T > &  a_lhs,
const LevelData< T > &  a_rhs 
)
virtual

◆ assign()

template<class T>
void LevelDataOps< T >::assign ( LevelData< T > &  a_lhs,
const LevelData< T > &  a_rhs 
)
virtual

◆ dotProduct()

template<class T>
Real LevelDataOps< T >::dotProduct ( const LevelData< T > &  a_1,
const LevelData< T > &  a_2 
)
virtual

◆ mDotProduct()

template<class T>
void LevelDataOps< T >::mDotProduct ( const LevelData< T > &  a_1,
const int  a_sz,
const LevelData< T >  a_2arr[],
Real  a_mdots[] 
)
virtual

◆ incr()

template<class T>
void LevelDataOps< T >::incr ( LevelData< T > &  a_lhs,
const LevelData< T > &  a_x,
Real  a_scale 
)
virtual

Reimplemented in NodeLevelDataOps.

Referenced by LevelDataOps< FArrayBox >::define().

◆ mult()

template<class T>
void LevelDataOps< T >::mult ( LevelData< T > &  a_lhs,
const LevelData< T > &  a_x 
)
virtual

◆ axby()

template<class T>
void LevelDataOps< T >::axby ( LevelData< T > &  a_lhs,
const LevelData< T > &  a_x,
const LevelData< T > &  a_y,
Real  a_a,
Real  a_b 
)
virtual

Reimplemented in NodeLevelDataOps.

Referenced by LevelDataOps< FArrayBox >::define().

◆ scale()

template<class T>
void LevelDataOps< T >::scale ( LevelData< T > &  a_lhs,
const Real a_scale 
)
virtual

Reimplemented in NodeLevelDataOps.

Referenced by LevelDataOps< FArrayBox >::define().

◆ plus()

template<class T>
void LevelDataOps< T >::plus ( LevelData< T > &  a_lhs,
const Real a_inc 
)
virtual

◆ setToZero()

template<class T>
void LevelDataOps< T >::setToZero ( LevelData< T > &  a_lhs)
virtual

◆ setVal()

template<class T>
void LevelDataOps< T >::setVal ( LevelData< T > &  a_lhs,
const Real a_val 
)
virtual

◆ copyToZero()

template<class T>
void LevelDataOps< T >::copyToZero ( LevelData< T > &  a_lhs,
const Copier a_copier 
)
virtual

Member Data Documentation

◆ m_levelFactory

template<class T>
RefCountedPtr<DataFactory<T> > LevelDataOps< T >::m_levelFactory
protected

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