Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
panzer_stk::RespFactorySolnWriter_Builder Struct Reference

#include <Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp>

Public Member Functions

 RespFactorySolnWriter_Builder ()
 
void scaleField (const std::string &fieldName, double fieldScalar)
 
void addAdditionalField (const std::string &fieldName, const Teuchos::RCP< const panzer::PureBasis > &basis)
 
void removeField (const std::string &fieldName)
 
template<typename T >
Teuchos::RCP
< panzer::ResponseEvaluatorFactoryBase
build () const
 
void setAddSolutionFields (bool asf)
 
void setAddCoordinateFields (bool acf)
 

Public Attributes

Teuchos::RCP
< panzer_stk::STK_Interface
mesh
 

Private Attributes

std::unordered_map
< std::string, double > 
fieldToScalar_
 
std::vector< std::pair
< std::string, Teuchos::RCP
< const panzer::PureBasis > > > 
additionalFields_
 
std::vector< std::string > removedFields_
 
bool addSolutionFields_
 
bool addCoordinateFields_
 

Detailed Description

A simple builder for this the SolutionWriter response factory, simply set the mesh and this will build the response factories for you. (Pass into ResponseLibrary::addResponse)

Definition at line 151 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.

Constructor & Destructor Documentation

panzer_stk::RespFactorySolnWriter_Builder::RespFactorySolnWriter_Builder ( )
inline

Member Function Documentation

void panzer_stk::RespFactorySolnWriter_Builder::scaleField ( const std::string &  fieldName,
double  fieldScalar 
)
inline
void panzer_stk::RespFactorySolnWriter_Builder::addAdditionalField ( const std::string &  fieldName,
const Teuchos::RCP< const panzer::PureBasis > &  basis 
)
inline
void panzer_stk::RespFactorySolnWriter_Builder::removeField ( const std::string &  fieldName)
inline

Remove a field (even a solution field) from the response. Note that even if a field has not been added, it will be removed by any previous or following call to removeField. This implies that removeField takes precedence.

Definition at line 166 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.

template<typename T >
Teuchos::RCP<panzer::ResponseEvaluatorFactoryBase> panzer_stk::RespFactorySolnWriter_Builder::build ( ) const
inline
void panzer_stk::RespFactorySolnWriter_Builder::setAddSolutionFields ( bool  asf)
inline

Enable/disable addition of solution fields. Note that this "true" by default.

Definition at line 198 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.

void panzer_stk::RespFactorySolnWriter_Builder::setAddCoordinateFields ( bool  acf)
inline

Enable/disable addition of coordinate fields. Note that this "true" by default.

Definition at line 203 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.

Member Data Documentation

Teuchos::RCP<panzer_stk::STK_Interface> panzer_stk::RespFactorySolnWriter_Builder::mesh
std::unordered_map<std::string,double> panzer_stk::RespFactorySolnWriter_Builder::fieldToScalar_
private
std::vector<std::pair<std::string,Teuchos::RCP<const panzer::PureBasis> > > panzer_stk::RespFactorySolnWriter_Builder::additionalFields_
private
std::vector<std::string> panzer_stk::RespFactorySolnWriter_Builder::removedFields_
private
bool panzer_stk::RespFactorySolnWriter_Builder::addSolutionFields_
private
bool panzer_stk::RespFactorySolnWriter_Builder::addCoordinateFields_
private

The documentation for this struct was generated from the following file: