Field3D
|
Contains utility functions for constructing coordinate systems. More...
Go to the source code of this file.
Namespaces | |
detail | |
Functions | |
template<typename T > | |
FIELD3D_VEC3_T< T > | detail::ceil (const FIELD3D_VEC3_T< T > &v) |
Ceil function for Vec3. More... | |
template<typename T > | |
FIELD3D_NAMESPACE_OPEN FIELD3D_MTX_T< T > | coordinateSystem (const FIELD3D_VEC3_T< T > &e1, const FIELD3D_VEC3_T< T > &e2, const FIELD3D_VEC3_T< T > &e3, const FIELD3D_VEC3_T< T > &origin) |
Constructs a coordinate systems given a set of basis vectors and an origin. More... | |
template<typename T > | |
FIELD3D_MTX_T< T > | coordinateSystem (const FIELD3D_BOX_T< FIELD3D_VEC3_T< T > > &wsBounds) |
Constructs a coordinate system given a bounding box. More... | |
template<typename T > | |
FIELD3D_MTX_T< T > | coordinateSystem (const FIELD3D_BOX_T< FIELD3D_VEC3_T< T > > &wsBounds, const FIELD3D_VEC3_T< T > &wsVoxelSize) |
Constructs a coordinate system that has its lower left corner at an even multiplier of the voxel-size, to ensure that voxel centers don't shift as the domain grows. More... | |
template<typename T > | |
FIELD3D_MTX_T< T > | coordinateSystem (const FIELD3D_VEC3_T< T > &e1, const FIELD3D_VEC3_T< T > &e2, const FIELD3D_VEC3_T< T > &e3, const FIELD3D_VEC3_T< T > &origin) |
Constructs a coordinate systems given a set of basis vectors and an origin. More... | |
template<typename T > | |
FIELD3D_VEC3_T< T > | detail::floor (const FIELD3D_VEC3_T< T > &v) |
Floor function for Vec3. More... | |
Contains utility functions for constructing coordinate systems.
Definition in file CoordSys.h.
FIELD3D_NAMESPACE_OPEN FIELD3D_MTX_T<T> coordinateSystem | ( | const FIELD3D_VEC3_T< T > & | e1, |
const FIELD3D_VEC3_T< T > & | e2, | ||
const FIELD3D_VEC3_T< T > & | e3, | ||
const FIELD3D_VEC3_T< T > & | origin | ||
) |
Constructs a coordinate systems given a set of basis vectors and an origin.
Definition at line 119 of file CoordSys.h.
References coordinateSystem().
Referenced by detail::adjustedMIPFieldMapping(), and coordinateSystem().
FIELD3D_MTX_T< T > coordinateSystem | ( | const FIELD3D_BOX_T< FIELD3D_VEC3_T< T > > & | wsBounds | ) |
Constructs a coordinate system given a bounding box.
Definition at line 163 of file CoordSys.h.
References coordinateSystem(), and FIELD3D_NAMESPACE_HEADER_CLOSE.
FIELD3D_MTX_T< T > coordinateSystem | ( | const FIELD3D_BOX_T< FIELD3D_VEC3_T< T > > & | wsBounds, |
const FIELD3D_VEC3_T< T > & | wsVoxelSize | ||
) |
Constructs a coordinate system that has its lower left corner at an even multiplier of the voxel-size, to ensure that voxel centers don't shift as the domain grows.
Definition at line 145 of file CoordSys.h.
References coordinateSystem().
FIELD3D_MTX_T<T> coordinateSystem | ( | const FIELD3D_VEC3_T< T > & | e1, |
const FIELD3D_VEC3_T< T > & | e2, | ||
const FIELD3D_VEC3_T< T > & | e3, | ||
const FIELD3D_VEC3_T< T > & | origin | ||
) |
Constructs a coordinate systems given a set of basis vectors and an origin.
Definition at line 119 of file CoordSys.h.
References coordinateSystem().
Referenced by detail::adjustedMIPFieldMapping(), and coordinateSystem().