This class defines the coordinates of the nodes of reference cells according for supported cell topologies. The node coordinates are stored in static views. The class is templated on the Kokkos::Device Type which is used to determine layout and memory space of the views.
More...
#include <Intrepid2_CellData.hpp>
|
using | ConstViewType = Kokkos::DynRankView< const double, DeviceType > |
|
|
static ConstViewType | get (const unsigned cellTopoKey) |
| Retrieves the Cartesian coordinates of reference cell nodes. More...
|
|
|
using | ViewType = Kokkos::DynRankView< double, DeviceType > |
| static views containing the node coordinates allocated on DeviceType::memory_space
|
|
|
static void | set () |
| Set reference nodes coordinates for supported topologies.
|
|
template<typename DeviceType>
class Intrepid2::RefCellNodes< DeviceType >
This class defines the coordinates of the nodes of reference cells according for supported cell topologies. The node coordinates are stored in static views. The class is templated on the Kokkos::Device Type which is used to determine layout and memory space of the views.
Definition at line 206 of file Intrepid2_CellData.hpp.
◆ get()
template<typename DeviceType >
Retrieves the Cartesian coordinates of reference cell nodes.
Returns a Kokkos view containing the coordinates of reference cell nodes. Requires the key of the reference cell topology. Node coordinates are always returned as an (x,y,z)-triple regardless of the actual topological cell dimension. The unused coordinates are set to zero, e.g., node 0 of Line<2> is returned as {-1,0,0}.
- Parameters
-
cellTopoKey | [in] - key of the cell topology |
- Returns
- a rank-2 Kokkos::View containing the coordinates of the cell nodes The returned view has dimensions (# nodes, 3)
Definition at line 520 of file Intrepid2_CellDataDef.hpp.
The documentation for this class was generated from the following files: