#include <FieldCentering.h>
Public Member Functions | |
CanonicalCentering () | |
Internal POOMA constructors. | |
~CanonicalCentering () | |
Deallocate centering_table_m. | |
Centering< Dim > | operator() (const enum CenteringType type, const enum ContinuityType discontinuous, int dimension=0) const |
Return the desired centering. |
By calling with
the corresponding centering is returned. Some parameters do not make sense for some centerings.
The canonical centerings include:
The dimension field should be the bitwise-or of X, Y, Z, and All, where the All value equals X | Y | Z. For example, using `Y | Z' yields the edges along the y- and z-axes or yields the y- and z-faces.
CanonicalCentering< Dim >::CanonicalCentering | ( | ) |
Internal POOMA constructors.
These ctors are used internally by POOMA. They are not really meant to be called by users.
CanonicalCentering< Dim >::~CanonicalCentering | ( | ) | [inline] |
Centering<Dim> CanonicalCentering< Dim >::operator() | ( | const enum CenteringType | type, | |
const enum ContinuityType | discontinuous, | |||
int | dimension = 0 | |||
) | const [inline] |