#include <CellDecomposer.hpp>
|
|
| shift_only () |
| | Default constructor.
|
| |
| | shift_only (const Matrix< dim, T > &t, const Point< dim, T > &s) |
| | Constructor. More...
|
| |
| __device__ __host__ T | transform (const T *s, const int i) const |
| | Shift the point transformation. More...
|
| |
| __device__ __host__ T | transform (const T(&s)[dim], const int i) const |
| | Shift the point transformation. More...
|
| |
| __device__ __host__ T | transform (const Point< dim, T > &s, const int i) const |
| | Shift the point transformation. More...
|
| |
| template<typename Mem > |
| __device__ __host__ T | transform (const encapc< 1, Point< dim, T >, Mem > &s, const int i) const |
| | Shift the point transformation. More...
|
| |
| void | setTransform (const Matrix< dim, T > &mat, const Point< dim, T > &orig) |
| | Set the transformation Matrix and shift. More...
|
| |
| __device__ __host__ const Point< dim, T > & | getOrig () const |
| | Get the shift vector. More...
|
| |
| bool | operator== (const shift< dim, T > &s) |
| | It return true if the shift match. More...
|
| |
| bool | operator!= (const shift< dim, T > &s) |
| | It return true if the shift is different. More...
|
| |
template<unsigned int dim, typename T>
class shift_only< dim, T >
This Class apply a shift transformation before converting to Cell-ID
Definition at line 150 of file CellDecomposer.hpp.
◆ shift_only()
template<unsigned int dim, typename T >
◆ getOrig()
template<unsigned int dim, typename T >
| __device__ __host__ const Point<dim,T>& shift_only< dim, T >::getOrig |
( |
| ) |
const |
|
inline |
◆ operator!=()
template<unsigned int dim, typename T >
It return true if the shift is different.
- Parameters
-
- Returns
- true if the shift is different
Definition at line 270 of file CellDecomposer.hpp.
◆ operator==()
template<unsigned int dim, typename T >
It return true if the shift match.
- Parameters
-
- Returns
- true if it match
Definition at line 258 of file CellDecomposer.hpp.
◆ setTransform()
template<unsigned int dim, typename T >
◆ transform() [1/4]
template<unsigned int dim, typename T >
template<typename Mem >
| __device__ __host__ T shift_only< dim, T >::transform |
( |
const encapc< 1, Point< dim, T >, Mem > & |
s, |
|
|
const int |
i |
|
) |
| const |
|
inline |
Shift the point transformation.
- Parameters
-
| s | source point |
| i | coordinate |
- Returns
- the transformed coordinate
Definition at line 223 of file CellDecomposer.hpp.
◆ transform() [2/4]
template<unsigned int dim, typename T >
| __device__ __host__ T shift_only< dim, T >::transform |
( |
const Point< dim, T > & |
s, |
|
|
const int |
i |
|
) |
| const |
|
inline |
Shift the point transformation.
- Parameters
-
| s | source point |
| i | coordinate |
- Returns
- the transformed coordinate
Definition at line 210 of file CellDecomposer.hpp.
◆ transform() [3/4]
template<unsigned int dim, typename T >
| __device__ __host__ T shift_only< dim, T >::transform |
( |
const T * |
s, |
|
|
const int |
i |
|
) |
| const |
|
inline |
Shift the point transformation.
- Parameters
-
| s | source point |
| i | coordinate |
- Returns
- the transformed coordinate
Definition at line 184 of file CellDecomposer.hpp.
◆ transform() [4/4]
template<unsigned int dim, typename T >
| __device__ __host__ T shift_only< dim, T >::transform |
( |
const T(&) |
s[dim], |
|
|
const int |
i |
|
) |
| const |
|
inline |
Shift the point transformation.
- Parameters
-
| s | source point |
| i | coordinate |
- Returns
- the transformed coordinate
Definition at line 197 of file CellDecomposer.hpp.
The documentation for this class was generated from the following file: