Panzer
Version of the Day
|
#include <Panzer_FieldLibrary.hpp>
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_ |
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 88 of file Panzer_FieldLibrary.hpp.
|
virtual |
Get the basis associated with a particular field.
Implements panzer::FieldLibraryBase.
Definition at line 86 of file Panzer_FieldLibrary.cpp.
|
virtual |
Get vector of unique bases contained in this field library.
Implements panzer::FieldLibraryBase.
Definition at line 96 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 106 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 113 of file Panzer_FieldLibrary.cpp.
|
virtual |
Print information about the basis functions and fields contained in the field library.
Implements panzer::FieldLibraryBase.
Definition at line 128 of file Panzer_FieldLibrary.cpp.
|
virtual |
Get vector of unique bases contained in this field library.
Implements panzer::FieldLibraryBase.
Definition at line 143 of file Panzer_FieldLibrary.cpp.
|
private |
Basic mapped storage.
Definition at line 119 of file Panzer_FieldLibrary.hpp.
|
private |
Definition at line 120 of file Panzer_FieldLibrary.hpp.