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::FieldLayoutLibrary Class Reference

#include <Panzer_FieldLibrary.hpp>

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

Public Member Functions

void addFieldAndLayout (const std::string &fieldName, const Teuchos::RCP< panzer::BasisIRLayout > &basis)
 
void uniqueBases (std::vector< Teuchos::RCP< const panzer::PureBasis > > &bases) const
 Get vector of unique bases contained in this field library. More...
 
virtual Teuchos::RCP< const
panzer::PureBasis
lookupBasis (const std::string &fieldName) const
 Get the basis associated with a particular field. More...
 
Teuchos::RCP
< panzer::BasisIRLayout
lookupLayout (const std::string &fieldName) const
 Get the basis associated with a particular field. More...
 
virtual void print (std::ostream &os) const
 
virtual void basisPairs (std::vector< std::pair< std::string, Teuchos::RCP< const panzer::PureBasis > > > &bases) const
 Get vector of unique bases contained in this field library. More...
 
- Public Member Functions inherited from panzer::FieldLibraryBase
virtual ~FieldLibraryBase ()=0
 

Private Attributes

std::map< std::string,
Teuchos::RCP
< panzer::BasisIRLayout > > 
fieldToLayout_
 Basic mapped storage. More...
 
std::map< std::string,
Teuchos::RCP< const
panzer::PureBasis > > 
basisNameToPointer_
 

Detailed Description

There is one of these objects per equation set.

Definition at line 81 of file Panzer_FieldLibrary.hpp.

Member Function Documentation

void panzer::FieldLayoutLibrary::addFieldAndLayout ( const std::string &  fieldName,
const Teuchos::RCP< panzer::BasisIRLayout > &  basis 
)

Add a field associated with a basis to the library.

Definition at line 71 of file Panzer_FieldLibrary.cpp.

void panzer::FieldLayoutLibrary::uniqueBases ( std::vector< Teuchos::RCP< const panzer::PureBasis > > &  bases) const
virtual

Get vector of unique bases contained in this field library.

Implements panzer::FieldLibraryBase.

Definition at line 61 of file Panzer_FieldLibrary.cpp.

Teuchos::RCP< const panzer::PureBasis > panzer::FieldLayoutLibrary::lookupBasis ( const std::string &  fieldName) const
virtual

Get the basis associated with a particular field.

Implements panzer::FieldLibraryBase.

Definition at line 47 of file Panzer_FieldLibrary.cpp.

Teuchos::RCP< panzer::BasisIRLayout > panzer::FieldLayoutLibrary::lookupLayout ( const std::string &  fieldName) const

Get the basis associated with a particular field.

Definition at line 78 of file Panzer_FieldLibrary.cpp.

void panzer::FieldLayoutLibrary::print ( std::ostream &  os) const
virtual

Print information about the basis functions and fields contained in the field library.

Implements panzer::FieldLibraryBase.

Definition at line 88 of file Panzer_FieldLibrary.cpp.

void panzer::FieldLayoutLibrary::basisPairs ( std::vector< std::pair< std::string, Teuchos::RCP< const panzer::PureBasis > > > &  bases) const
virtual

Get vector of unique bases contained in this field library.

Implements panzer::FieldLibraryBase.

Definition at line 103 of file Panzer_FieldLibrary.cpp.

Member Data Documentation

std::map<std::string,Teuchos::RCP<panzer::BasisIRLayout> > panzer::FieldLayoutLibrary::fieldToLayout_
private

Basic mapped storage.

Definition at line 108 of file Panzer_FieldLibrary.hpp.

std::map<std::string,Teuchos::RCP<const panzer::PureBasis> > panzer::FieldLayoutLibrary::basisNameToPointer_
private

Definition at line 109 of file Panzer_FieldLibrary.hpp.


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