#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 | 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 |
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] |
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] |
void LevelDataOps< T >::mDotProduct | ( | const LevelData< T > & | a_1, | |
const int | a_sz, | |||
const LevelData< T > | a_2arr[], | |||
Real | a_mdots[] | |||
) | [inline, virtual] |
void LevelDataOps< T >::incr | ( | LevelData< T > & | a_lhs, | |
const LevelData< T > & | a_x, | |||
Real | a_scale | |||
) | [inline, virtual] |
Reimplemented in NodeLevelDataOps.
References LayoutData< T >::dataIterator(), LevelData< T >::disjointBoxLayout(), BoxLayoutData< T >::nComp(), and DataIterator::size().
void LevelDataOps< T >::mult | ( | LevelData< T > & | a_lhs, | |
const LevelData< T > & | a_x | |||
) | [inline, virtual] |
References LayoutData< T >::dataIterator(), and DataIterator::size().
void LevelDataOps< T >::axby | ( | LevelData< T > & | a_lhs, | |
const LevelData< T > & | a_x, | |||
const LevelData< T > & | a_y, | |||
Real | a_a, | |||
Real | a_b | |||
) | [inline, virtual] |
Reimplemented in NodeLevelDataOps.
References LayoutData< T >::dataIterator(), and DataIterator::size().
void LevelDataOps< T >::scale | ( | LevelData< T > & | a_lhs, | |
const Real & | a_scale | |||
) | [inline, virtual] |
Reimplemented in NodeLevelDataOps.
References LayoutData< T >::dataIterator(), and DataIterator::size().
void LevelDataOps< T >::plus | ( | LevelData< T > & | a_lhs, | |
const Real & | a_inc | |||
) | [inline, virtual] |
References LayoutData< T >::dataIterator(), and DataIterator::size().
void LevelDataOps< T >::setToZero | ( | LevelData< T > & | a_lhs | ) | [inline, virtual] |
References LayoutData< T >::dataIterator(), and DataIterator::size().
void LevelDataOps< T >::setVal | ( | LevelData< T > & | a_lhs, | |
const Real & | a_val | |||
) | [inline, virtual] |
References LayoutData< T >::dataIterator(), and DataIterator::size().
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().