Panzer  Version of the Day
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< int, panzer::Ordinal64 > &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...
 
int numSubcells () const
 Gives number of subcells (e.g. faces) in connectivity. More...
 
int numCells () const
 Gives number of cells in connectivity. More...
 
int numSubcellsOnCell (const int cell) const
 gives number of subcells (e.g. faces) found on a given cell More...
 
int numCellsOnSubcell (const int subcell) const
 Returns the number of cells attached to a given subcell. More...
 
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 cellForSubcell (const int subcell, const int local_cell_index) const
 Get the cell for a given subcell and a local_cell_index. More...
 
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 178 of file Panzer_SubcellConnectivity.hpp.

Constructor & Destructor Documentation

◆ FaceConnectivity()

panzer::FaceConnectivity::FaceConnectivity ( )
default

Default constructor.

◆ ~FaceConnectivity()

panzer::FaceConnectivity::~FaceConnectivity ( )
default

Default destructor.

Member Function Documentation

◆ setup()

void panzer::FaceConnectivity::setup ( const panzer::LocalMeshPartition< int, panzer::Ordinal64 > &  partition)

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

Parameters
[in]partitionPartition of mesh

Definition at line 112 of file Panzer_SubcellConnectivity.cpp.


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