Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
panzer::FaceConnectivity Class Reference

Generates a SubcellConnectivity associated with faces and cells given a partition of the local mesh. More...

#include <Panzer_SubcellConnectivity.hpp>

Inheritance diagram for panzer::FaceConnectivity:
Inheritance graph
[legend]

Public Member Functions

 FaceConnectivity ()=default
 Default constructor. More...
 
 ~FaceConnectivity ()=default
 Default destructor. More...
 
void setup (const panzer::LocalMeshPartition &partition)
 Setup the face connectivity from a partition of the local mesh. More...
 
- Public Member Functions inherited from panzer::SubcellConnectivity
 SubcellConnectivity ()=default
 Default constructor. More...
 
 ~SubcellConnectivity ()=default
 Default destructor. More...
 
KOKKOS_INLINE_FUNCTION int numSubcells () const
 Gives number of subcells (e.g. faces) in connectivity. More...
 
KOKKOS_INLINE_FUNCTION int numCells () const
 Gives number of cells in connectivity. More...
 
KOKKOS_INLINE_FUNCTION int numSubcellsOnCell (const int cell) const
 gives number of subcells (e.g. faces) found on a given cell More...
 
int numSubcellsOnCellHost (const int cell) const
 
KOKKOS_INLINE_FUNCTION int numCellsOnSubcell (const int subcell) const
 Returns the number of cells attached to a given subcell. More...
 
int numCellsOnSubcellHost (const int subcell) const
 
KOKKOS_INLINE_FUNCTION int subcellForCell (const int cell, const int local_subcell_index) const
 Get the subcell index for a given cell and local subcell index. More...
 
int subcellForCellHost (const int cell, const int local_subcell_index) const
 
KOKKOS_INLINE_FUNCTION int cellForSubcell (const int subcell, const int local_cell_index) const
 Get the cell for a given subcell and a local_cell_index. More...
 
int cellForSubcellHost (const int subcell, const int local_cell_index) const
 
KOKKOS_INLINE_FUNCTION int localSubcellForSubcell (const int subcell, const int local_cell_index) const
 Get the local subcell index given a subcell and a local cell index. More...
 
int localSubcellForSubcellHost (const int subcell, const int local_cell_index) const
 

Additional Inherited Members

- Protected Attributes inherited from panzer::SubcellConnectivity
PHX::View< int * > _subcell_to_cells_adj
 Adjacency array for indexing into subcell_to_cells array. More...
 
PHX::View< int * >::HostMirror _subcell_to_cells_adj_host
 
PHX::View< int * > _subcell_to_cells
 Mapping from subcells to cells. More...
 
PHX::View< int * >::HostMirror _subcell_to_cells_host
 
PHX::View< int * > _subcell_to_local_subcells
 Mapping from subcell indexes to local subcell indexes. More...
 
PHX::View< int * >::HostMirror _subcell_to_local_subcells_host
 
PHX::View< int * > _cell_to_subcells_adj
 Adjacency array for indexing into cell_to_subcells array. More...
 
PHX::View< int * >::HostMirror _cell_to_subcells_adj_host
 
PHX::View< int * > _cell_to_subcells
 Mapping from cells to subcells. More...
 
PHX::View< int * >::HostMirror _cell_to_subcells_host
 

Detailed Description

Generates a SubcellConnectivity associated with faces and cells given a partition of the local mesh.

Definition at line 160 of file Panzer_SubcellConnectivity.hpp.

Constructor & Destructor Documentation

panzer::FaceConnectivity::FaceConnectivity ( )
default

Default constructor.

panzer::FaceConnectivity::~FaceConnectivity ( )
default

Default destructor.

Member Function Documentation

void panzer::FaceConnectivity::setup ( const panzer::LocalMeshPartition partition)

Setup the face connectivity from a partition of the local mesh.

Parameters
[in]partitionPartition of mesh

Definition at line 19 of file Panzer_SubcellConnectivity.cpp.


The documentation for this class was generated from the following files: