FreePOOMA
2.4.1
|
Given a field f, a Loc loc, and a field offset (offset,num), a field value can be obtained. More...
#include <FieldOffset.h>
Public Member Functions | |
FieldOffset (const Loc< Dim > &loc, const int subFieldNumber=0) | |
User-callable constructors. These ctors are meant to be called by users. | |
FieldOffset () | |
Internal POOMA constructor. | |
void | setSubFieldNumber (int subFieldNumber) |
Loc< Dim > & | modifyCellOffset () |
const Loc< Dim > & | cellOffset () const |
Get the cell offset. | |
int | subFieldNumber () const |
Get the subfield number. |
Given a field f, a Loc loc, and a field offset (offset,num), a field value can be obtained.
Since each value specified by the field's centering is stored in a separate subfield, the offset is used to specify the appropriate subfield.
FieldOffset< Dim >::FieldOffset | ( | const Loc< Dim > & | loc, |
const int | subFieldNumber = 0 |
||
) | [inline] |
User-callable constructors. These ctors are meant to be called by users.
References PInsist.
FieldOffset< Dim >::FieldOffset | ( | ) | [inline] |
Internal POOMA constructor.
These operations are used internally by POOMA. They are not really meant to be called by users.
void FieldOffset< Dim >::setSubFieldNumber | ( | int | subFieldNumber | ) | [inline] |
References FieldOffset< Dim >::subFieldNumber().
Loc<Dim>& FieldOffset< Dim >::modifyCellOffset | ( | ) | [inline] |
const Loc<Dim>& FieldOffset< Dim >::cellOffset | ( | ) | const [inline] |
int FieldOffset< Dim >::subFieldNumber | ( | ) | const [inline] |
Get the subfield number.
Referenced by inputPosition(), FieldShiftSimple< Expression >::make(), View2< Field< Mesh, T, EngineTag >, FieldOffset< Dim >, Loc< Dim > >::make(), View2< Field< Mesh, T, EngineTag >, FieldOffset< Dim >, Loc< Dim > >::makeRead(), NearestNeighborClass< Dim, IntraCellOnly >::operator()(), operator<<(), operator==(), and FieldOffset< Dim >::setSubFieldNumber().