This class defines the coordinates of the barycenter of the supported reference cells. The barycenter 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 a reference cell barycenter. More...
|
|
|
using | ViewType = Kokkos::DynRankView< double, DeviceType > |
| static views containing the center coordinates allocated on DeviceType::memory_space
|
|
|
static void | set () |
| Set center coordinates of reference cell for supported topologies.
|
|
template<typename DeviceType>
class Intrepid2::RefCellCenter< DeviceType >
This class defines the coordinates of the barycenter of the supported reference cells. The barycenter 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 288 of file Intrepid2_CellData.hpp.
◆ get()
template<typename DeviceType >
Retrieves the Cartesian coordinates of a reference cell barycenter.
Returns Cartesian coordinates of a reference cell barycenter. Requires cell topology with a reference cell. Barycenter 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., center of Line<2> is returned as {0,0,0}.
- Parameters
-
cell | [in] - key of the cell topology |
- Returns
- a rank-1 Kokkos::View containing the coordinates of the cell nodes The returned view has dimension 3.
Definition at line 768 of file Intrepid2_CellDataDef.hpp.
The documentation for this class was generated from the following files: