The ChainCon Software (Release 0.03)
|
A simple class for wrapping cubical cell coordinstes, using the one defined in the CHomP package. More...
#include <wrapping.h>
Public Types | |
typedef CoordT | CoordType |
The type of coordinates for wrapping. More... | |
Static Public Member Functions | |
template<class ArrayT > | |
static void | wrap (ArrayT &coords, int dim) |
Makes a correction to the given array of coordinates if wrapping is in effect. More... | |
template<class ArrayT > | |
static void | setWrapping (const ArrayT &coords, int dim) |
Sets wrapping for all spaces of the given dimension. More... | |
Static Private Attributes | |
static std::vector< std::vector< CoordT > > | wrapping |
An array of wrapping vectors for each dimension where defined. More... | |
A simple class for wrapping cubical cell coordinstes, using the one defined in the CHomP package.
Definition at line 92 of file wrapping.h.
typedef CoordT SettableWrapping< CoordT >::CoordType |
The type of coordinates for wrapping.
Definition at line 96 of file wrapping.h.
|
inlinestatic |
Sets wrapping for all spaces of the given dimension.
Definition at line 167 of file wrapping.h.
Referenced by SettableWrapping< CoordT >::wrap().
|
inlinestatic |
Makes a correction to the given array of coordinates if wrapping is in effect.
Definition at line 122 of file wrapping.h.
References SettableWrapping< CoordT >::setWrapping().
|
staticprivate |
An array of wrapping vectors for each dimension where defined.
Definition at line 109 of file wrapping.h.