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 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...
 
KOKKOS_INLINE_FUNCTION int numCellsOnSubcell (const int subcell) const
 Returns the number of cells attached to a given subcell. More...
 
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...
 
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...
 
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...
 

Additional Inherited Members

- Protected Attributes inherited from panzer::SubcellConnectivity
int _num_subcells
 Number of subcells for a given number of cells. More...
 
int _num_cells
 Number of cells. More...
 
Kokkos::View< int *, PHX::Device > _subcell_to_cells_adj
 Adjacency array for indexing into subcell_to_cells array. More...
 
Kokkos::View< int *, PHX::Device > _subcell_to_cells
 Mapping from subcells to cells. More...
 
Kokkos::View< int *, PHX::Device > _subcell_to_local_subcells
 Mapping from subcell indexes to local subcell indexes. More...
 
Kokkos::View< int *, PHX::Device > _cell_to_subcells_adj
 Adjacency array for indexing into cell_to_subcells array. More...
 
Kokkos::View< int *, PHX::Device > _cell_to_subcells
 Mapping from cells to subcells. More...
 

Detailed Description

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

Definition at line 185 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 51 of file Panzer_SubcellConnectivity.cpp.


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