|
Intrepid2
|
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>
Classes | |
| struct | ReferenceCenterDataStatic |
Public Types | |
| using | ConstViewType = Kokkos::DynRankView< const double, DeviceType > |
Public Member Functions | |
| RefCellCenter ()=default | |
| Default constructor. | |
| ~RefCellCenter ()=default | |
| Destructor. | |
Static Public Member Functions | |
| static ConstViewType | get (const unsigned cellTopoKey) |
| Retrieves the Cartesian coordinates of a reference cell barycenter. More... | |
Private Types | |
| using | ViewType = Kokkos::DynRankView< double, DeviceType > |
| static views containing the center coordinates allocated on DeviceType::memory_space More... | |
Static Private Member Functions | |
| static void | set () |
| Set center coordinates of reference cell for supported topologies. More... | |
Static Private Attributes | |
| static ViewType | lineCenter |
| static ViewType | triangleCenter |
| static ViewType | quadrilateralCenter |
| static ViewType | tetrahedronCenter |
| static ViewType | hexahedronCenter |
| static ViewType | pyramidCenter |
| static ViewType | wedgeCenter |
| static const ReferenceCenterDataStatic | refCenterDataStatic_ |
| static struct containing the nodes coordinates on host More... | |
| static bool | isReferenceCellCenterDataSet_ = false |
| whether the center coordinates have been already set using the method set() More... | |
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.
| using Intrepid2::RefCellCenter< DeviceType >::ConstViewType = Kokkos::DynRankView<const double,DeviceType> |
Definition at line 290 of file Intrepid2_CellData.hpp.
|
private |
static views containing the center coordinates allocated on DeviceType::memory_space
Definition at line 324 of file Intrepid2_CellData.hpp.
|
inlinestatic |
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}.
| cell | [in] - key of the cell topology |
Definition at line 768 of file Intrepid2_CellDataDef.hpp.
|
staticprivate |
Set center coordinates of reference cell for supported topologies.
Definition at line 715 of file Intrepid2_CellDataDef.hpp.
|
staticprivate |
Definition at line 329 of file Intrepid2_CellData.hpp.
|
staticprivate |
whether the center coordinates have been already set using the method set()
Definition at line 350 of file Intrepid2_CellData.hpp.
|
staticprivate |
Definition at line 325 of file Intrepid2_CellData.hpp.
|
staticprivate |
Definition at line 330 of file Intrepid2_CellData.hpp.
|
staticprivate |
Definition at line 327 of file Intrepid2_CellData.hpp.
|
staticprivate |
static struct containing the nodes coordinates on host
Definition at line 347 of file Intrepid2_CellData.hpp.
|
staticprivate |
Definition at line 328 of file Intrepid2_CellData.hpp.
|
staticprivate |
Definition at line 326 of file Intrepid2_CellData.hpp.
|
staticprivate |
Definition at line 331 of file Intrepid2_CellData.hpp.