#include <RectilinearMesh.h>
Public Member Functions | |
PositionsFunctor () | |
Need to be able to default construct since we fill in the details after the fact. | |
PositionsFunctor (const RectilinearMesh< Dim, T > &m, const Centering< Dim > &c) | |
PositionsFunctor (const PositionsFunctor &m) | |
PositionsFunctor & | operator= (const PositionsFunctor &m) |
PointType_t | operator() (int i0) const |
PointType_t | operator() (int i0, int i1) const |
PointType_t | operator() (int i0, int i1, int i2) const |
We need to provide a functor for use with IndexFunction-engine. We also need to export the PositionsEngineTag_t typedef and the positionsFunctor() member function, which computes the positions using the centering point positions. The indices passed in refer to cells.
RectilinearMesh< Dim, T >::PositionsFunctor::PositionsFunctor | ( | ) | [inline] |
Need to be able to default construct since we fill in the details after the fact.
RectilinearMesh< Dim, T >::PositionsFunctor::PositionsFunctor | ( | const RectilinearMesh< Dim, T > & | m, | |
const Centering< Dim > & | c | |||
) | [inline] |
RectilinearMesh< Dim, T >::PositionsFunctor::PositionsFunctor | ( | const PositionsFunctor & | m | ) | [inline] |
PositionsFunctor& RectilinearMesh< Dim, T >::PositionsFunctor::operator= | ( | const PositionsFunctor & | m | ) | [inline] |
PointType_t RectilinearMesh< Dim, T >::PositionsFunctor::operator() | ( | int | i0 | ) | const [inline] |
PointType_t RectilinearMesh< Dim, T >::PositionsFunctor::operator() | ( | int | i0, | |
int | i1 | |||
) | const [inline] |
PointType_t RectilinearMesh< Dim, T >::PositionsFunctor::operator() | ( | int | i0, | |
int | i1, | |||
int | i2 | |||
) | const [inline] |