#include <LevelDataOps.H>
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 | 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 | copyToZero (LevelData< T > &a_lhs, const Copier &a_copier) |
Protected Attributes | |
RefCountedPtr< DataFactory< T > > | m_levelFactory |
LevelDataOps< T >::LevelDataOps | ( | ) | [inline] |
LevelDataOps< T >::LevelDataOps | ( | RefCountedPtr< DataFactory< T > > | a_factoryPtr | ) | [inline] |
virtual LevelDataOps< T >::~LevelDataOps | ( | ) | [inline, virtual] |
virtual void LevelDataOps< T >::define | ( | const RefCountedPtr< DataFactory< T > > & | a_factoryPtr | ) | [inline, virtual] |
virtual void LevelDataOps< T >::define | ( | DataFactory< T > * | a_rawPointer | ) | [inline, virtual] |
void LevelDataOps< T >::create | ( | LevelData< T > & | a_lhs, | |
const LevelData< T > & | a_rhs | |||
) | [inline, virtual] |
References LevelData< T >::define(), and LevelDataOps< T >::m_levelFactory.
void LevelDataOps< T >::assign | ( | LevelData< T > & | a_lhs, | |
const LevelData< T > & | a_rhs | |||
) | [inline, virtual] |
References LevelData< T >::copyTo(), and BoxLayoutData< T >::nComp().
Real LevelDataOps< T >::dotProduct | ( | const LevelData< T > & | a_1, | |
const LevelData< T > & | a_2 | |||
) | [inline, virtual] |
References LevelData< T >::disjointBoxLayout(), ENDFOR, BoxLayout::get(), ITER, MPI_CH_REAL, and MayDay::Warning().
void LevelDataOps< T >::incr | ( | LevelData< T > & | a_lhs, | |
const LevelData< T > & | a_x, | |||
Real | a_scale | |||
) | [inline, virtual] |
Reimplemented in NodeLevelDataOps.
References LevelData< T >::disjointBoxLayout(), ENDFOR, ITER, and BoxLayoutData< T >::nComp().
void LevelDataOps< T >::mult | ( | LevelData< T > & | a_lhs, | |
const LevelData< T > & | a_x | |||
) | [inline, virtual] |
void LevelDataOps< T >::scale | ( | LevelData< T > & | a_lhs, | |
const Real & | a_scale | |||
) | [inline, virtual] |
void LevelDataOps< T >::plus | ( | LevelData< T > & | a_lhs, | |
const Real & | a_inc | |||
) | [inline, virtual] |
void LevelDataOps< T >::setToZero | ( | LevelData< T > & | a_lhs | ) | [inline, virtual] |
void LevelDataOps< T >::copyToZero | ( | LevelData< T > & | a_lhs, | |
const Copier & | a_copier | |||
) | [inline, virtual] |
RefCountedPtr<DataFactory<T> > LevelDataOps< T >::m_levelFactory [protected] |
Reimplemented in NodeLevelDataOps.
Referenced by LevelDataOps< T >::create(), and LevelDataOps< FArrayBox >::define().