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

#include <Panzer_OrientationContainer.hpp>

Inheritance diagram for panzer::OrientationContainer< Scalar, Array, LocalOrdinal, GlobalOrdinal >:
Inheritance graph
[legend]

Public Member Functions

 OrientationContainer (const Teuchos::RCP< const panzer::GlobalIndexer > &globalIndexer, const std::string &fieldName)
 
virtual ~OrientationContainer ()
 
virtual void getOrientations (const std::string &blockId, const std::vector< std::size_t > &cell_local_ids, Array &orientations) const
 
- Public Member Functions inherited from panzer::OrientationContainerBase< Scalar, Array >
virtual ~OrientationContainerBase ()
 

Private Attributes

Teuchos::RCP< const
panzer::GlobalIndexer
globalIndexer_
 
std::string fieldName_
 

Detailed Description

template<typename Scalar, typename Array, typename LocalOrdinal, typename GlobalOrdinal>
class panzer::OrientationContainer< Scalar, Array, LocalOrdinal, GlobalOrdinal >

This class is used to access orientations and provides a degree of seperation between the BasisValues objects and the global indexer (which computes and stores the orientation). The particular thing that this is does is avoids the need for the WorksetContainer/Factory to know anything about the local or global ordinal types.

Definition at line 62 of file Panzer_OrientationContainer.hpp.

Constructor & Destructor Documentation

template<typename Scalar , typename Array , typename LocalOrdinal , typename GlobalOrdinal >
panzer::OrientationContainer< Scalar, Array, LocalOrdinal, GlobalOrdinal >::OrientationContainer ( const Teuchos::RCP< const panzer::GlobalIndexer > &  globalIndexer,
const std::string &  fieldName 
)

Initialize this container with a particular global indexer.

Definition at line 54 of file Panzer_OrientationContainer_impl.hpp.

template<typename Scalar , typename Array , typename LocalOrdinal , typename GlobalOrdinal >
virtual panzer::OrientationContainer< Scalar, Array, LocalOrdinal, GlobalOrdinal >::~OrientationContainer ( )
inlinevirtual

Definition at line 73 of file Panzer_OrientationContainer.hpp.

Member Function Documentation

template<typename Scalar , typename Array , typename LocalOrdinal , typename GlobalOrdinal >
void panzer::OrientationContainer< Scalar, Array, LocalOrdinal, GlobalOrdinal >::getOrientations ( const std::string &  blockId,
const std::vector< std::size_t > &  cell_local_ids,
Array orientations 
) const
virtual

Get the orientations for a number of cell local ids. This will be dependent on a particular basis.

Parameters
[in]cell_local_idsCells to build orientations for.
[in]orientationsArray of orientations (previously allocated) to be filled with the orientations of a particular basis.

Implements panzer::OrientationContainerBase< Scalar, Array >.

Definition at line 64 of file Panzer_OrientationContainer_impl.hpp.

Member Data Documentation

template<typename Scalar , typename Array , typename LocalOrdinal , typename GlobalOrdinal >
Teuchos::RCP<const panzer::GlobalIndexer> panzer::OrientationContainer< Scalar, Array, LocalOrdinal, GlobalOrdinal >::globalIndexer_
private

Definition at line 63 of file Panzer_OrientationContainer.hpp.

template<typename Scalar , typename Array , typename LocalOrdinal , typename GlobalOrdinal >
std::string panzer::OrientationContainer< Scalar, Array, LocalOrdinal, GlobalOrdinal >::fieldName_
private

Definition at line 64 of file Panzer_OrientationContainer.hpp.


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