#include <Panzer_SubcellConnectivity.hpp>
panzer::SubcellConnectivity::SubcellConnectivity |
( |
| ) |
|
|
default |
panzer::SubcellConnectivity::~SubcellConnectivity |
( |
| ) |
|
|
default |
KOKKOS_INLINE_FUNCTION int panzer::SubcellConnectivity::numSubcells |
( |
| ) |
const |
|
inline |
Gives number of subcells (e.g. faces) in connectivity.
- Returns
- Number of subcells associated with the cells
Definition at line 38 of file Panzer_SubcellConnectivity.hpp.
KOKKOS_INLINE_FUNCTION int panzer::SubcellConnectivity::numCells |
( |
| ) |
const |
|
inline |
PHALANX_HIP_HACK_KOKKOS_FUNCTION int panzer::SubcellConnectivity::numSubcellsOnCell |
( |
const int |
cell | ) |
const |
gives number of subcells (e.g. faces) found on a given cell
- Exceptions
-
param[in] Cell index
- Returns
- Number of subcells on a given cell
Definition at line 187 of file Panzer_SubcellConnectivity.hpp.
int panzer::SubcellConnectivity::numSubcellsOnCellHost |
( |
const int |
cell | ) |
const |
|
inline |
PHALANX_HIP_HACK_KOKKOS_FUNCTION int panzer::SubcellConnectivity::numCellsOnSubcell |
( |
const int |
subcell | ) |
const |
Returns the number of cells attached to a given subcell.
For example: 1) A face joins two cells. 2) A node joins four cells on a 2D rectilinear mesh (eight in 3D)
- Parameters
-
- Returns
- Number of cells connected to subcell
Definition at line 208 of file Panzer_SubcellConnectivity.hpp.
int panzer::SubcellConnectivity::numCellsOnSubcellHost |
( |
const int |
subcell | ) |
const |
|
inline |
PHALANX_HIP_HACK_KOKKOS_FUNCTION int panzer::SubcellConnectivity::subcellForCell |
( |
const int |
cell, |
|
|
const int |
local_subcell_index |
|
) |
| const |
Get the subcell index for a given cell and local subcell index.
A local subcell index is the local indexing scheme for the cell.
For example: 1) A quad cell has four faces indexed by 0,1,2,3 (local subcell indexes) 2) A hex cell has eight nodes indexed by 0,1,2,3,4,5,6,7 (local subcell indexes)
- Parameters
-
[in] | cell | Cell index |
[in] | local_subcell_index | Index of subcell in cell local indexing |
- Returns
- Subcell index
Definition at line 229 of file Panzer_SubcellConnectivity.hpp.
int panzer::SubcellConnectivity::subcellForCellHost |
( |
const int |
cell, |
|
|
const int |
local_subcell_index |
|
) |
| const |
|
inline |
PHALANX_HIP_HACK_KOKKOS_FUNCTION int panzer::SubcellConnectivity::cellForSubcell |
( |
const int |
subcell, |
|
|
const int |
local_cell_index |
|
) |
| const |
Get the cell for a given subcell and a local_cell_index.
A local cell index is the indexing scheme local to a subcell.
For example: 1) A 1D mesh has subcells (nodes) connects two cells (lines) with local cell indexes 0,1 2) A 2D quad can have nodal subcells (on structured mesh) that connect four cells with local cell indexes 0,1,2,3
- Parameters
-
[in] | subcell | Subcell index |
[in] | local_cell_index | |
- Returns
- Cell index
Definition at line 254 of file Panzer_SubcellConnectivity.hpp.
int panzer::SubcellConnectivity::cellForSubcellHost |
( |
const int |
subcell, |
|
|
const int |
local_cell_index |
|
) |
| const |
|
inline |
PHALANX_HIP_HACK_KOKKOS_FUNCTION int panzer::SubcellConnectivity::localSubcellForSubcell |
( |
const int |
subcell, |
|
|
const int |
local_cell_index |
|
) |
| const |
Get the local subcell index given a subcell and a local cell index.
This is the mapping between local subcell indexes and local cell indexes
- Parameters
-
[in] | subcell | Subcell index |
[in] | local_cell_index | Local cell index on subcell |
- Returns
- Local subcell index for cell identified by subcell index and local_cell_index
Definition at line 279 of file Panzer_SubcellConnectivity.hpp.
int panzer::SubcellConnectivity::localSubcellForSubcellHost |
( |
const int |
subcell, |
|
|
const int |
local_cell_index |
|
) |
| const |
|
inline |
PHX::View<int*> panzer::SubcellConnectivity::_subcell_to_cells_adj |
|
protected |
PHX::View<int*>::HostMirror panzer::SubcellConnectivity::_subcell_to_cells_adj_host |
|
protected |
PHX::View<int*> panzer::SubcellConnectivity::_subcell_to_cells |
|
protected |
PHX::View<int*>::HostMirror panzer::SubcellConnectivity::_subcell_to_cells_host |
|
protected |
PHX::View<int*> panzer::SubcellConnectivity::_subcell_to_local_subcells |
|
protected |
PHX::View<int*>::HostMirror panzer::SubcellConnectivity::_subcell_to_local_subcells_host |
|
protected |
PHX::View<int*> panzer::SubcellConnectivity::_cell_to_subcells_adj |
|
protected |
PHX::View<int*>::HostMirror panzer::SubcellConnectivity::_cell_to_subcells_adj_host |
|
protected |
PHX::View<int*> panzer::SubcellConnectivity::_cell_to_subcells |
|
protected |
PHX::View<int*>::HostMirror panzer::SubcellConnectivity::_cell_to_subcells_host |
|
protected |
The documentation for this class was generated from the following file: