#include <FieldWrapper.h>
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. |
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.
FieldWrapper& gridripper::amr1d::FieldWrapper::operator= | ( | const FieldWrapper & | a | ) | [inline] |
Copy.