|
Panzer Version of the Day
|
#include <Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp>
Public Member Functions | |
| RespFactorySolnWriter_Builder () | |
| Construct with solution and coordinate fields enabled by default; set the public mesh member before calling build(). | |
| void | scaleField (const std::string &fieldName, double fieldScalar) |
| Scales the named field by fieldScalar in factories built by build(). | |
| void | addAdditionalField (const std::string &fieldName, const Teuchos::RCP< const panzer::PureBasis > &basis) |
| Adds an additional (solution) field to write out in factories built by build(). | |
| void | removeField (const std::string &fieldName) |
| template<typename T > | |
| Teuchos::RCP< panzer::ResponseEvaluatorFactoryBase > | build () const |
| Builds a ResponseEvaluatorFactory_SolutionWriter<T> configured with this builder's mesh and accumulated field settings. | |
| void | setAddSolutionFields (bool asf) |
| void | setAddCoordinateFields (bool acf) |
Public Attributes | |
| Teuchos::RCP< panzer_stk::STK_Interface > | mesh |
| The mesh to write solutions to; must be set before build() is called. | |
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_ |
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 154 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
inline |
Construct with solution and coordinate fields enabled by default; set the public mesh member before calling build().
Definition at line 156 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
inline |
Scales the named field by fieldScalar in factories built by build().
Definition at line 162 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
inline |
Adds an additional (solution) field to write out in factories built by build().
Definition at line 166 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
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 173 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
inline |
Builds a ResponseEvaluatorFactory_SolutionWriter<T> configured with this builder's mesh and accumulated field settings.
Definition at line 178 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
inline |
Enable/disable addition of solution fields. Note that this "true" by default.
Definition at line 206 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
inline |
Enable/disable addition of coordinate fields. Note that this "true" by default.
Definition at line 211 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
| Teuchos::RCP<panzer_stk::STK_Interface> panzer_stk::RespFactorySolnWriter_Builder::mesh |
The mesh to write solutions to; must be set before build() is called.
Definition at line 159 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
private |
Definition at line 215 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
private |
Definition at line 216 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
private |
Definition at line 217 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
private |
Definition at line 218 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.
|
private |
Definition at line 219 of file Panzer_STK_ResponseEvaluatorFactory_SolutionWriter.hpp.