Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Attributes | Private Member Functions | List of all members
panzer::FaceToElement< LocalOrdinal, GlobalOrdinal > Class Template Reference

#include <Panzer_FaceToElement.hpp>

Public Member Functions

 FaceToElement ()
 
 FaceToElement (panzer::ConnManager &conn)
 
 FaceToElement (panzer::ConnManager &conn, const Teuchos::RCP< const Teuchos::Comm< int >> comm)
 
void initialize (panzer::ConnManager &conn)
 
void initialize (panzer::ConnManager &conn, const Teuchos::RCP< const Teuchos::Comm< int >> comm)
 
GlobalOrdinal getLeftElem (GlobalOrdinal face_id) const
 
GlobalOrdinal getRightElem (GlobalOrdinal face_id) const
 
int getLeftBlock (GlobalOrdinal face_id) const
 
int getRightBlock (GlobalOrdinal face_id) const
 
int getLeftProc (GlobalOrdinal face_id) const
 
int getRightProc (GlobalOrdinal face_id) const
 
PHX::View< const GlobalOrdinal *[2]> getFaceToElementsMap () const
 
PHX::View< const int *[2]> getFaceToCellLocalIdxMap () const
 

Protected Types

typedef
Tpetra::KokkosCompat::KokkosDeviceWrapperNode
< PHX::Device > 
NodeType
 
typedef Tpetra::Map
< LocalOrdinal, GlobalOrdinal,
NodeType
Map
 
typedef Tpetra::Export
< LocalOrdinal, GlobalOrdinal,
NodeType
Export
 
typedef Tpetra::Import
< LocalOrdinal, GlobalOrdinal,
NodeType
Import
 
typedef Tpetra::MultiVector
< GlobalOrdinal, LocalOrdinal,
GlobalOrdinal, NodeType
GOMultiVector
 

Protected Attributes

PHX::View< GlobalOrdinal *[2]> elems_by_face_
 
PHX::View< int *[2]> lidx_by_face_
 
PHX::View< int *[2]> blocks_by_face_
 
PHX::View< int *[2]> procs_by_face_
 
Teuchos::RCP< const Mapface_map_
 

Private Member Functions

 FaceToElement (const FaceToElement &)
 

Detailed Description

template<typename LocalOrdinal, typename GlobalOrdinal>
class panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >

Build a face to element mapping. This returns neighboring cell information for each face in the mesh.

Definition at line 37 of file Panzer_FaceToElement.hpp.

Member Typedef Documentation

template<typename LocalOrdinal , typename GlobalOrdinal >
typedef Tpetra::KokkosCompat::KokkosDeviceWrapperNode<PHX::Device> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::NodeType
protected

Definition at line 104 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
typedef Tpetra::Map<LocalOrdinal, GlobalOrdinal, NodeType> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::Map
protected

Definition at line 105 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
typedef Tpetra::Export<LocalOrdinal, GlobalOrdinal, NodeType> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::Export
protected

Definition at line 106 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
typedef Tpetra::Import<LocalOrdinal, GlobalOrdinal, NodeType> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::Import
protected

Definition at line 107 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
typedef Tpetra::MultiVector<GlobalOrdinal, LocalOrdinal, GlobalOrdinal, NodeType> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::GOMultiVector
protected

Definition at line 108 of file Panzer_FaceToElement.hpp.

Constructor & Destructor Documentation

template<typename LocalOrdinal , typename GlobalOrdinal >
panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::FaceToElement ( const FaceToElement< LocalOrdinal, GlobalOrdinal > &  )
private
template<typename LocalOrdinal , typename GlobalOrdinal >
panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::FaceToElement ( )

Definition at line 36 of file Panzer_FaceToElement_impl.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::FaceToElement ( panzer::ConnManager conn)

This constructor is deprecated in favor of FaceToElement(conn, comm) which explicitly specifies the communicator. This constructor is left here for backward compatibility.

Definition at line 47 of file Panzer_FaceToElement_impl.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::FaceToElement ( panzer::ConnManager conn,
const Teuchos::RCP< const Teuchos::Comm< int >>  comm 
)

Definition at line 55 of file Panzer_FaceToElement_impl.hpp.

Member Function Documentation

template<typename LocalOrdinal , typename GlobalOrdinal >
void panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::initialize ( panzer::ConnManager conn)

Build the mapping from a mesh topology using MPI_COMM_WORLD. This method is deprecated in favor of initialize(conn, comm) which explicitly specifies the communicator. This method is left here for backward compatibility.

This method is deprecated in favor of initialize(conn, comm) which explicitly specifies the communicator. This method is left here for backward compatibility.

Definition at line 69 of file Panzer_FaceToElement_impl.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
void panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::initialize ( panzer::ConnManager conn,
const Teuchos::RCP< const Teuchos::Comm< int >>  comm 
)

Build the mapping from a mesh topology using the provided communicator.

Definition at line 79 of file Panzer_FaceToElement_impl.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
GlobalOrdinal panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::getLeftElem ( GlobalOrdinal  face_id) const
inline

Definition at line 73 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
GlobalOrdinal panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::getRightElem ( GlobalOrdinal  face_id) const
inline

Definition at line 76 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
int panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::getLeftBlock ( GlobalOrdinal  face_id) const
inline

Definition at line 79 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
int panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::getRightBlock ( GlobalOrdinal  face_id) const
inline

Definition at line 82 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
int panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::getLeftProc ( GlobalOrdinal  face_id) const
inline

Definition at line 85 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
int panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::getRightProc ( GlobalOrdinal  face_id) const
inline

Definition at line 88 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
PHX::View<const GlobalOrdinal*[2]> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::getFaceToElementsMap ( ) const
inline

Definition at line 91 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
PHX::View<const int*[2]> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::getFaceToCellLocalIdxMap ( ) const
inline

Definition at line 94 of file Panzer_FaceToElement.hpp.

Member Data Documentation

template<typename LocalOrdinal , typename GlobalOrdinal >
PHX::View<GlobalOrdinal *[2]> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::elems_by_face_
protected

Definition at line 99 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
PHX::View<int *[2]> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::lidx_by_face_
protected

Definition at line 100 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
PHX::View<int *[2]> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::blocks_by_face_
protected

Definition at line 101 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
PHX::View<int *[2]> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::procs_by_face_
protected

Definition at line 102 of file Panzer_FaceToElement.hpp.

template<typename LocalOrdinal , typename GlobalOrdinal >
Teuchos::RCP<const Map> panzer::FaceToElement< LocalOrdinal, GlobalOrdinal >::face_map_
protected

Definition at line 111 of file Panzer_FaceToElement.hpp.


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