|
The class in this namespace contain the position of a CGPoint, in the non-averaged directions, and functions that only depend on which non-averaged directions are used. More...
Classes | |
class | Base_X_Y_Z |
Contains common member functions of the X, Y, and Z classes. More... | |
class | Base_XY_XZ_YZ |
Contains common member functions of the XY, XZ, and YZ classes. More... | |
class | BaseCoordinates |
Contains common member functions of the X, Y, and Z classes. More... | |
class | O |
Defines the non-averaged directions on which spatial coarse-graining is applied (none for O); all other directions (all for O) are averaged over homogeneously. More... | |
class | R |
Defines the non-averaged directions on which spatial coarse-graining is applied (the x-direction for R); all other directions are averaged over homogeneously. More... | |
class | RZ |
Defines the non-averaged directions on which spatial coarse-graining is applied (the x- and z-direction for RZ); all other directions are averaged over homogeneously. More... | |
class | X |
Defines the non-averaged directions on which spatial coarse-graining is applied (the x-direction for X); all other directions are averaged over homogeneously. More... | |
class | XY |
Defines the non-averaged directions on which spatial coarse-graining is applied (the x- and y-direction for XY); all other directions are averaged over homogeneously. More... | |
class | XYZ |
Defines the position of the CGPoint, in the non-averaged directions, i.e. all directions on which spatial coarse-graining is applied (all directions for XYZ); all other directions are averaged over homogeneously. More... | |
class | XZ |
Defines the non-averaged directions on which spatial coarse-graining is applied (the x- and z-direction for XZ); all other directions are averaged over homogeneously. More... | |
class | Y |
Defines the non-averaged directions on which spatial coarse-graining is applied (the y- direction for Y); all other directions are averaged over homogeneously. More... | |
class | YZ |
Defines the non-averaged directions on which spatial coarse-graining is applied (the y- and z-direction for YZ); all other directions are averaged over homogeneously. More... | |
class | Z |
Defines the non-averaged directions on which spatial coarse-graining is applied (the z-direction for Z); all other directions are averaged over homogeneously. More... | |
Functions | |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::O, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::R, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::RZ, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::X, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::XY, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::XYZ, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > n, std::vector< T > &points) |
Creates a spatial mesh of CGPoints, i.e. the spatial positions at which the cg-variables are evaluated. More... | |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::XZ, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::Y, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::YZ, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
template<typename T > | |
std::enable_if< std::is_base_of< CGCoordinates::Z, typename T::CoordinatesType >::value, void >::type | spaceEvenly (Vec3D min, Vec3D max, std::vector< std::size_t > nAll, std::vector< T > &points) |
The class in this namespace contain the position of a CGPoint, in the non-averaged directions, and functions that only depend on which non-averaged directions are used.
Contains base classes of CGFunctions, which in turn contains the base classes of CGPoint; CGPoint's and CGFunctions are always templated with one of these classes. The classes currently are: O, X, Y, Z, YZ, XZ, XY, XYZ.
As the 1D classes X, Y, Z have some common functionality, they are derived from a common base class Base_X_Y_Z. Similarly, XY, XZ, YZ are derived from Base_XY_XZ_YZ.
See member CGCoordinates::XYZ for more details.
std::enable_if<std::is_base_of<CGCoordinates::XYZ, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | n, | ||
std::vector< T > & | points | ||
) |
Creates a spatial mesh of CGPoints, i.e. the spatial positions at which the cg-variables are evaluated.
The mesh is created over the domain [min.X,max.X].[min.Y,max.Y].[min.Z,max.Z]. The mesh is defined by splitting the domain into nx.ny.nz smaller cubical subdomains; the centers of these cubes are the mesh points. This is done to keep the results comparable to a binning method.
[in] | min | the lower limit coordinate values of the meshed domain. |
[in] | max | the upper limit coordinate values of the meshed domain. |
[in] | n | the number of points in each spatial direction. |
[out] | points | the vector of CGPoint's, which are now on a spatial mesh over the given domain. |
References constants::i, n, Vec3D::X, Vec3D::Y, and Vec3D::Z.
std::enable_if<std::is_base_of<CGCoordinates::O, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |
See spaceEvenly for details.
std::enable_if<std::is_base_of<CGCoordinates::R, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |
See spaceEvenly for details.
References constants::i, logger, n, WARN, and Vec3D::X.
std::enable_if<std::is_base_of<CGCoordinates::RZ, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |
std::enable_if<std::is_base_of<CGCoordinates::X, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |
std::enable_if<std::is_base_of<CGCoordinates::XY, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |
std::enable_if<std::is_base_of<CGCoordinates::XZ, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |
std::enable_if<std::is_base_of<CGCoordinates::Y, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |
std::enable_if<std::is_base_of<CGCoordinates::YZ, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |
std::enable_if<std::is_base_of<CGCoordinates::Z, typename T::CoordinatesType>::value, void>::type CGCoordinates::spaceEvenly | ( | Vec3D | min, |
Vec3D | max, | ||
std::vector< std::size_t > | nAll, | ||
std::vector< T > & | points | ||
) |