Panzer
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
disc-fe
src
evaluators
Panzer_GatherSolution_Input.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Panzer: A partial differential equation assembly
4
// engine for strongly coupled complex multiphysics systems
5
//
6
// Copyright 2011 NTESS and the Panzer contributors.
7
// SPDX-License-Identifier: BSD-3-Clause
8
// *****************************************************************************
9
// @HEADER
10
11
#ifndef __Panzer_GatherSolution_Input_hpp__
12
#define __Panzer_GatherSolution_Input_hpp__
13
14
#include <vector>
15
#include <string>
16
17
#include "
Teuchos_RCP.hpp
"
18
#include "
Teuchos_ParameterList.hpp
"
19
#include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
20
21
namespace
panzer {
22
23
// forward declaration
24
class
PureBasis;
25
30
class
GatherSolution_Input
:
Teuchos::ParameterListAcceptorDefaultBase
{
31
public
:
32
GatherSolution_Input
();
33
37
void
setParameterList
(
const
Teuchos::ParameterList
& pl);
38
42
void
setParameterList
(
const
Teuchos::RCP<Teuchos::ParameterList>
& pl);
43
45
Teuchos::RCP<const Teuchos::ParameterList>
getValidParameters
()
const
;
46
47
// Accessor functions
48
50
const
std::vector<std::string> &
getDofNames
()
const
{
return
dofNames_
; }
51
55
const
std::vector<std::string> &
getIndexerNames
()
const
{
return
indexerNames_
; }
56
58
Teuchos::RCP<const PureBasis>
getBasis
()
const
{
return
basis_
; }
59
61
bool
useTimeDerivativeSolutionVector
()
const
{
return
useTimeDerivSolnVec_
; }
62
64
std::string
getGlobalDataKey
()
const
{
return
globalDataKey_
; }
65
66
// tangent
67
69
const
std::vector<std::vector<std::string> > &
getTangentNames
()
const
{
return
tangentNames_
; }
70
71
// jacobian
72
74
std::string
getSensitivitiesName
()
const
{
return
sensName_
; }
75
77
int
getGatherSeedIndex
()
const
{
return
gatherSeedIndex_
; }
78
80
bool
firstSensitivitiesAvailable
() {
return
firstSensAvail_
; }
81
82
// hessian
83
85
bool
secondSensitivitiesAvailable
() {
return
secondSensAvail_
; }
86
88
std::string
getSecondSensitivityDataKeyPrefix
() {
return
secondSensDataKeyPrefix_
; }
89
90
private
:
91
GatherSolution_Input
(
const
GatherSolution_Input
&);
// hide me
92
93
// residual
94
std::vector<std::string>
dofNames_
;
95
std::vector<std::string>
indexerNames_
;
96
Teuchos::RCP<const PureBasis>
basis_
;
97
bool
useTimeDerivSolnVec_
;
98
std::string
globalDataKey_
;
99
100
// tangent
101
std::vector<std::vector<std::string> >
tangentNames_
;
102
103
// jacobian
104
std::string
sensName_
;
105
int
gatherSeedIndex_
;
106
bool
firstSensAvail_
;
107
108
// hessian
109
bool
secondSensAvail_
;
110
std::string
secondSensDataKeyPrefix_
;
111
};
112
113
}
114
115
#endif
panzer::GatherSolution_Input::basis_
Teuchos::RCP< const PureBasis > basis_
Definition:
Panzer_GatherSolution_Input.hpp:96
panzer::GatherSolution_Input::globalDataKey_
std::string globalDataKey_
Definition:
Panzer_GatherSolution_Input.hpp:98
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:69
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:50
panzer::GatherSolution_Input::setParameterList
void setParameterList(const Teuchos::ParameterList &pl)
Definition:
Panzer_GatherSolution_Input.cpp:23
panzer::GatherSolution_Input::GatherSolution_Input
GatherSolution_Input()
Definition:
Panzer_GatherSolution_Input.cpp:16
panzer::GatherSolution_Input::getValidParameters
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Get valid parameters.
Definition:
Panzer_GatherSolution_Input.cpp:68
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:64
panzer::GatherSolution_Input::tangentNames_
std::vector< std::vector< std::string > > tangentNames_
Definition:
Panzer_GatherSolution_Input.hpp:101
panzer::GatherSolution_Input::firstSensAvail_
bool firstSensAvail_
Definition:
Panzer_GatherSolution_Input.hpp:106
panzer::GatherSolution_Input::getBasis
Teuchos::RCP< const PureBasis > getBasis() const
Basis definiting layout of dof names (all types)
Definition:
Panzer_GatherSolution_Input.hpp:58
panzer::GatherSolution_Input::secondSensAvail_
bool secondSensAvail_
Definition:
Panzer_GatherSolution_Input.hpp:109
panzer::GatherSolution_Input::indexerNames_
std::vector< std::string > indexerNames_
Definition:
Panzer_GatherSolution_Input.hpp:95
Teuchos_ParameterList.hpp
panzer::GatherSolution_Input
Definition:
Panzer_GatherSolution_Input.hpp:30
panzer::GatherSolution_Input::getGatherSeedIndex
int getGatherSeedIndex() const
What index to use for initializing the seed (Jacobian and Hessian)
Definition:
Panzer_GatherSolution_Input.hpp:77
Teuchos::ParameterListAcceptorDefaultBase
panzer::GatherSolution_Input::firstSensitivitiesAvailable
bool firstSensitivitiesAvailable()
Are first derivative sensitivities enabled or disabled? (Jacobian and Hessian)
Definition:
Panzer_GatherSolution_Input.hpp:80
panzer::GatherSolution_Input::gatherSeedIndex_
int gatherSeedIndex_
Definition:
Panzer_GatherSolution_Input.hpp:105
panzer::GatherSolution_Input::dofNames_
std::vector< std::string > dofNames_
Definition:
Panzer_GatherSolution_Input.hpp:94
panzer::GatherSolution_Input::useTimeDerivativeSolutionVector
bool useTimeDerivativeSolutionVector() const
Gather a time derivative vector? (all types)
Definition:
Panzer_GatherSolution_Input.hpp:61
Teuchos::ParameterList
panzer::GatherSolution_Input::sensName_
std::string sensName_
Definition:
Panzer_GatherSolution_Input.hpp:104
panzer::GatherSolution_Input::secondSensitivitiesAvailable
bool secondSensitivitiesAvailable()
Are second derivative sensitivies enabled or disabled (Hessian only)
Definition:
Panzer_GatherSolution_Input.hpp:85
panzer::GatherSolution_Input::getIndexerNames
const std::vector< std::string > & getIndexerNames() const
Definition:
Panzer_GatherSolution_Input.hpp:55
panzer::GatherSolution_Input::useTimeDerivSolnVec_
bool useTimeDerivSolnVec_
Definition:
Panzer_GatherSolution_Input.hpp:97
panzer::GatherSolution_Input::secondSensDataKeyPrefix_
std::string secondSensDataKeyPrefix_
Definition:
Panzer_GatherSolution_Input.hpp:110
Teuchos::RCP< Teuchos::ParameterList >
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:88
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:74
Generated on Fri Dec 20 2024 09:16:51 for Panzer by
1.8.5