NuTo
Numerics Tool
Public Member Functions | Static Public Member Functions | List of all members
NaturalCoordianteToId< TRaster > Struct Template Reference

transforms a vector of natural node coordinates to a reasonable id More...

Public Member Functions

template<typename TNaturalCoords >
size_t operator() (const TNaturalCoords &v) const
 'rasterize' the natural coordinates (always [-1, 1]) into MaxId() equidistant blocks More...
 

Static Public Member Functions

static constexpr size_t MaxId ()
 

Detailed Description

template<int TRaster>
struct NaturalCoordianteToId< TRaster >

transforms a vector of natural node coordinates to a reasonable id

Member Function Documentation

template<int TRaster>
static constexpr size_t NaturalCoordianteToId< TRaster >::MaxId ( )
inlinestatic
template<int TRaster>
template<typename TNaturalCoords >
size_t NaturalCoordianteToId< TRaster >::operator() ( const TNaturalCoords &  v) const
inline

'rasterize' the natural coordinates (always [-1, 1]) into MaxId() equidistant blocks


The documentation for this struct was generated from the following file: