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

#include <Panzer_FieldLibrary.hpp>

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

Public Member Functions

virtual Teuchos::RCP< const
panzer::PureBasis
lookupBasis (const std::string &fieldName) const
 Get the basis associated with a particular field. More...
 
void uniqueBases (std::vector< Teuchos::RCP< const panzer::PureBasis > > &bases) const
 Get vector of unique bases contained in this field library. More...
 
void addFieldAndBasis (const std::string &fieldName, const Teuchos::RCP< panzer::PureBasis > &basis)
 
Teuchos::RCP< const
FieldLayoutLibrary
buildFieldLayoutLibrary (panzer::PointRule &ir) const
 
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::PureBasis > > 
fieldToBasis_
 Basic mapped storage. More...
 
std::map< std::string,
Teuchos::RCP< const
panzer::PureBasis > > 
basisNameToPointer_
 

Detailed Description

Build a container that holds, and provides easy lookups for each fields basis. This provides further functionality by providing a class that oversees the marriage of the basis and integration rule objects. There is one of these objects per physics block.

Definition at line 120 of file Panzer_FieldLibrary.hpp.

Member Function Documentation

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

Get the basis associated with a particular field.

Implements panzer::FieldLibraryBase.

Definition at line 118 of file Panzer_FieldLibrary.cpp.

void panzer::FieldLibrary::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 128 of file Panzer_FieldLibrary.cpp.

void panzer::FieldLibrary::addFieldAndBasis ( const std::string &  fieldName,
const Teuchos::RCP< panzer::PureBasis > &  basis 
)

Add a field associated witha basis to the library.

Definition at line 138 of file Panzer_FieldLibrary.cpp.

Teuchos::RCP< const FieldLayoutLibrary > panzer::FieldLibrary::buildFieldLayoutLibrary ( panzer::PointRule ir) const

Given an integration rule build a FieldLayoutLibrary which oversees the marriage of the integration rule and the basis into a BasisIRLayout.

Definition at line 145 of file Panzer_FieldLibrary.cpp.

void panzer::FieldLibrary::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 160 of file Panzer_FieldLibrary.cpp.

void panzer::FieldLibrary::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 175 of file Panzer_FieldLibrary.cpp.

Member Data Documentation

std::map<std::string,Teuchos::RCP<panzer::PureBasis> > panzer::FieldLibrary::fieldToBasis_
private

Basic mapped storage.

Definition at line 151 of file Panzer_FieldLibrary.hpp.

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

Definition at line 152 of file Panzer_FieldLibrary.hpp.


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