Public Member Functions | Public Attributes | Protected Member Functions

gridripper::amr1d::FieldWrapper Class Reference

GridRipper field base class. More...

#include <FieldWrapper.h>

Inheritance diagram for gridripper::amr1d::FieldWrapper:
gridripper::amr1d::FieldComponents< GComplex_t > gridripper::amr1d::FieldComponents< GReal_t > gridripper::multipole::ScalarFieldMP< GComplex_t > gridripper::multipole::ScalarFieldMP< GReal_t >

List of all members.

Public Member Functions

 FieldWrapper (const FieldWrapper &other)
 Copy constructor.
virtual void set (const FieldWrapper &other)
GReal_t * data ()
const GReal_t * data () const
unsigned size () const
bool resize (int n)
 Returns true if owns data and resizes if necessary, otherwise returns false and does nothing.
virtual FieldWrapper * cloneFieldWrapper () const
FieldWrapper & operator= (const FieldWrapper &a)
 Copy.

Public Attributes

const bool ownsData

Protected Member Functions

 FieldWrapper (GReal_t *d, int n)
 Constructs an n-component field using the specified low level array.
 FieldWrapper (int n)
 Constructs an n-component field.

Detailed Description

GridRipper field base class.

Version:
0.5, 02/12/2007
Since:
GridRipper 0.5, 01/22/2007
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::amr1d::FieldWrapper::FieldWrapper ( GReal_t *  d,
int  n 
) [inline, protected]

Constructs an n-component field using the specified low level array.

gridripper::amr1d::FieldWrapper::FieldWrapper ( int  n  )  [inline, protected]

Constructs an n-component field.

gridripper::amr1d::FieldWrapper::FieldWrapper ( const FieldWrapper &  other  ) 

Copy constructor.


Member Function Documentation

FieldWrapper& gridripper::amr1d::FieldWrapper::operator= ( const FieldWrapper &  a  )  [inline]

Copy.


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