Panzer
Version of the Day
disc-fe
src
evaluators
Panzer_GatherSolution_Input.hpp
Go to the documentation of this file.
1
#ifndef __Panzer_GatherSolution_Input_hpp__
2
#define __Panzer_GatherSolution_Input_hpp__
3
4
#include <vector>
5
#include <string>
6
7
#include "
Teuchos_RCP.hpp
"
8
#include "
Teuchos_ParameterList.hpp
"
9
#include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
10
11
namespace
panzer
{
12
13
// forward declaration
14
class
PureBasis;
15
20
class
GatherSolution_Input
:
Teuchos::ParameterListAcceptorDefaultBase
{
21
public
:
22
GatherSolution_Input
();
23
27
void
setParameterList
(
const
Teuchos::ParameterList
& pl);
28
32
void
setParameterList
(
const
Teuchos::RCP<Teuchos::ParameterList>
& pl);
33
35
Teuchos::RCP<const Teuchos::ParameterList>
getValidParameters
()
const
;
36
37
// Accessor functions
38
40
const
std::vector<std::string> &
getDofNames
()
const
{
return
dofNames_
; }
41
45
const
std::vector<std::string> &
getIndexerNames
()
const
{
return
indexerNames_
; }
46
48
Teuchos::RCP<const PureBasis>
getBasis
()
const
{
return
basis_
; }
49
51
bool
useTimeDerivativeSolutionVector
()
const
{
return
useTimeDerivSolnVec_
; }
52
54
std::string
getGlobalDataKey
()
const
{
return
globalDataKey_
; }
55
56
// tangent
57
59
const
std::vector<std::vector<std::string> > &
getTangentNames
()
const
{
return
tangentNames_
; }
60
61
// jacobian
62
64
std::string
getSensitivitiesName
()
const
{
return
sensName_
; }
65
67
int
getGatherSeedIndex
()
const
{
return
gatherSeedIndex_
; }
68
70
bool
firstSensitivitiesAvailable
() {
return
firstSensAvail_
; }
71
72
// hessian
73
75
bool
secondSensitivitiesAvailable
() {
return
secondSensAvail_
; }
76
78
std::string
getSecondSensitivityDataKeyPrefix
() {
return
secondSensDataKeyPrefix_
; }
79
80
private
:
81
GatherSolution_Input
(
const
GatherSolution_Input
&);
// hide me
82
83
// residual
84
std::vector<std::string>
dofNames_
;
85
std::vector<std::string>
indexerNames_
;
86
Teuchos::RCP<const PureBasis>
basis_
;
87
bool
useTimeDerivSolnVec_
;
88
std::string
globalDataKey_
;
89
90
// tangent
91
std::vector<std::vector<std::string> >
tangentNames_
;
92
93
// jacobian
94
std::string
sensName_
;
95
int
gatherSeedIndex_
;
96
bool
firstSensAvail_
;
97
98
// hessian
99
bool
secondSensAvail_
;
100
std::string
secondSensDataKeyPrefix_
;
101
};
102
103
}
104
105
#endif
panzer::GatherSolution_Input::basis_
Teuchos::RCP< const PureBasis > basis_
Definition:
Panzer_GatherSolution_Input.hpp:86
panzer::GatherSolution_Input::globalDataKey_
std::string globalDataKey_
Definition:
Panzer_GatherSolution_Input.hpp:88
panzer::GatherSolution_Input::getGlobalDataKey
std::string getGlobalDataKey() const
Name of the global evaluation data container to use for the source vector (all types) ...
Definition:
Panzer_GatherSolution_Input.hpp:54
panzer::GatherSolution_Input::getBasis
Teuchos::RCP< const PureBasis > getBasis() const
Basis definiting layout of dof names (all types)
Definition:
Panzer_GatherSolution_Input.hpp:48
panzer::GatherSolution_Input::getValidParameters
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Get valid parameters.
Definition:
Panzer_GatherSolution_Input.cpp:58
panzer::GatherSolution_Input::setParameterList
void setParameterList(const Teuchos::ParameterList &pl)
Definition:
Panzer_GatherSolution_Input.cpp:13
panzer::GatherSolution_Input::GatherSolution_Input
GatherSolution_Input()
Definition:
Panzer_GatherSolution_Input.cpp:6
panzer
Definition:
Panzer_BasisValues_Evaluator_decl.hpp:56
panzer::GatherSolution_Input::getDofNames
const std::vector< std::string > & getDofNames() const
The names of the DOFs to be gathered (all types)
Definition:
Panzer_GatherSolution_Input.hpp:40
panzer::GatherSolution_Input::tangentNames_
std::vector< std::vector< std::string > > tangentNames_
Definition:
Panzer_GatherSolution_Input.hpp:91
panzer::GatherSolution_Input::firstSensAvail_
bool firstSensAvail_
Definition:
Panzer_GatherSolution_Input.hpp:96
panzer::GatherSolution_Input::secondSensAvail_
bool secondSensAvail_
Definition:
Panzer_GatherSolution_Input.hpp:99
panzer::GatherSolution_Input::indexerNames_
std::vector< std::string > indexerNames_
Definition:
Panzer_GatherSolution_Input.hpp:85
panzer::GatherSolution_Input::getGatherSeedIndex
int getGatherSeedIndex() const
What index to use for initializing the seed (Jacobian and Hessian)
Definition:
Panzer_GatherSolution_Input.hpp:67
Teuchos_ParameterList.hpp
panzer::GatherSolution_Input::useTimeDerivativeSolutionVector
bool useTimeDerivativeSolutionVector() const
Gather a time derivative vector? (all types)
Definition:
Panzer_GatherSolution_Input.hpp:51
panzer::GatherSolution_Input
Definition:
Panzer_GatherSolution_Input.hpp:20
Teuchos::ParameterListAcceptorDefaultBase
panzer::GatherSolution_Input::firstSensitivitiesAvailable
bool firstSensitivitiesAvailable()
Are first derivative sensitivities enabled or disabled? (Jacobian and Hessian)
Definition:
Panzer_GatherSolution_Input.hpp:70
panzer::GatherSolution_Input::gatherSeedIndex_
int gatherSeedIndex_
Definition:
Panzer_GatherSolution_Input.hpp:95
panzer::GatherSolution_Input::dofNames_
std::vector< std::string > dofNames_
Definition:
Panzer_GatherSolution_Input.hpp:84
Teuchos::ParameterList
panzer::GatherSolution_Input::sensName_
std::string sensName_
Definition:
Panzer_GatherSolution_Input.hpp:94
panzer::GatherSolution_Input::secondSensitivitiesAvailable
bool secondSensitivitiesAvailable()
Are second derivative sensitivies enabled or disabled (Hessian only)
Definition:
Panzer_GatherSolution_Input.hpp:75
panzer::GatherSolution_Input::getSensitivitiesName
std::string getSensitivitiesName() const
The name of the sensitivities. Enables sensitivities at "preEvaluate" time (Jacobian and Hessian) ...
Definition:
Panzer_GatherSolution_Input.hpp:64
panzer::GatherSolution_Input::getIndexerNames
const std::vector< std::string > & getIndexerNames() const
Definition:
Panzer_GatherSolution_Input.hpp:45
panzer::GatherSolution_Input::useTimeDerivSolnVec_
bool useTimeDerivSolnVec_
Definition:
Panzer_GatherSolution_Input.hpp:87
panzer::GatherSolution_Input::secondSensDataKeyPrefix_
std::string secondSensDataKeyPrefix_
Definition:
Panzer_GatherSolution_Input.hpp:100
Teuchos::RCP< Teuchos::ParameterList >
panzer::GatherSolution_Input::getTangentNames
const std::vector< std::vector< std::string > > & getTangentNames() const
Get the name of the tangent fields (tangent only)
Definition:
Panzer_GatherSolution_Input.hpp:59
Teuchos_RCP.hpp
panzer::GatherSolution_Input::getSecondSensitivityDataKeyPrefix
std::string getSecondSensitivityDataKeyPrefix()
What prefix to use for the GEDC for second derivative sensitivity direction (Hessian only) ...
Definition:
Panzer_GatherSolution_Input.hpp:78
Generated by
1.8.14