#include <UniformRectilinearMesh.h>
Public Member Functions | |
PositionsFunctor () | |
Need to be able to default construct since we fill in the details after the fact. | |
PositionsFunctor (const UniformRectilinearMesh< Dim, T > &m, const Centering< Dim > &c) | |
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.
UniformRectilinearMesh< Dim, T >::PositionsFunctor::PositionsFunctor | ( | ) | [inline] |
Need to be able to default construct since we fill in the details after the fact.
UniformRectilinearMesh< Dim, T >::PositionsFunctor::PositionsFunctor | ( | const UniformRectilinearMesh< Dim, T > & | m, | |
const Centering< Dim > & | c | |||
) | [inline] |
PointType_t UniformRectilinearMesh< Dim, T >::PositionsFunctor::operator() | ( | int | i0 | ) | const [inline] |
PointType_t UniformRectilinearMesh< Dim, T >::PositionsFunctor::operator() | ( | int | i0, | |
int | i1 | |||
) | const [inline] |
PointType_t UniformRectilinearMesh< Dim, T >::PositionsFunctor::operator() | ( | int | i0, | |
int | i1, | |||
int | i2 | |||
) | const [inline] |