www.mooseframework.org
Public Member Functions | Public Attributes | Protected Types | Protected Attributes | List of all members
MaterialDerivativeTestAction Class Reference

Sets up variables and Kernels to test the derivatives of material properties via the Jacobian checker. More...

#include <MaterialDerivativeTestAction.h>

Inheritance diagram for MaterialDerivativeTestAction:
[legend]

Public Member Functions

 MaterialDerivativeTestAction (const InputParameters &parameters)
 
virtual void act () override
 
const std::string & name () const
 The name of the action. More...
 
const std::string & type () const
 
InputParametersparameters ()
 
const InputParametersparameters () const
 
const std::string & specificTaskName () const
 
const std::set< std::string > & getAllTasks () const
 
bool isParamValid (const std::string &name) const
 
void appendTask (const std::string &task)
 
const MaterialPropertyName propertyName (const MaterialPropertyName &base, const std::vector< VariableName > &c) const
 Helper functions to generate the material property names for the arbitrary derivatives. More...
 
const MaterialPropertyName propertyNameFirst (const MaterialPropertyName &base, const VariableName &c1) const
 Helper functions to generate the material property names for the first derivatives. More...
 
const MaterialPropertyName propertyNameSecond (const MaterialPropertyName &base, const VariableName &c1, const VariableName &c2) const
 Helper functions to generate the material property names for the second derivatives. More...
 
const MaterialPropertyName propertyNameThird (const MaterialPropertyName &base, const VariableName &c1, const VariableName &c2, const VariableName &c3) const
 Helper functions to generate the material property names for the third derivatives. More...
 
std::string getBaseName () const
 Deprecated name methods, use name() More...
 
std::string getShortName () const
 DEPRECATED METHODS. More...
 
template<typename T >
const T & getParam (const std::string &name) const
 Retrieve a parameter for the object. More...
 

Public Attributes

const ConsoleStream _console
 An instance of helper class to write streams to the Console objects. More...
 

Protected Types

enum  PropTypeEnum { PropTypeEnum::REAL, PropTypeEnum::RANKTWOTENSOR, PropTypeEnum::RANKFOURTENSOR }
 

Protected Attributes

std::vector< VariableName > _args
 
MaterialPropertyName _prop_name
 
enum MaterialDerivativeTestAction::PropTypeEnum _prop_type
 
const unsigned int _derivative_order
 
const bool _second
 
std::map< MaterialPropertyName, std::vector< VariableName > > _derivatives
 every derivative given by a list of variables to derive w.r.t More...
 
InputParameters _pars
 Input parameters for the action. More...
 
std::string _registered_identifier
 
std::string _name
 The name of the action. More...
 
std::string _action_type
 
MooseApp_app
 The MOOSE application this is associated with. More...
 
Factory_factory
 The Factory associated with the MooseApp. More...
 
ActionFactory_action_factory
 Builds Actions. More...
 
std::string _specific_task_name
 This member will only be populated if this Action instance is only designed to handle one task. More...
 
std::set< std::string > _all_tasks
 A list of all the tasks that this Action will satisfy. More...
 
ActionWarehouse_awh
 Reference to ActionWarehouse where we store object build by actions. More...
 
const std::string & _current_task
 The current action (even though we have seperate instances for each action) More...
 
std::shared_ptr< MooseMesh > & _mesh
 
std::shared_ptr< MooseMesh > & _displaced_mesh
 
std::shared_ptr< FEProblemBase > & _problem
 Convenience reference to a problem this action works on. More...
 
std::shared_ptr< Executioner > & _executioner
 Convenience reference to an executioner. More...
 

Detailed Description

Sets up variables and Kernels to test the derivatives of material properties via the Jacobian checker.

Definition at line 30 of file MaterialDerivativeTestAction.h.

Member Enumeration Documentation

Enumerator
REAL 
RANKTWOTENSOR 
RANKFOURTENSOR 

Definition at line 42 of file MaterialDerivativeTestAction.h.

43  {
44  REAL,
45  RANKTWOTENSOR,
46  RANKFOURTENSOR
47  } _prop_type;
enum MaterialDerivativeTestAction::PropTypeEnum _prop_type

Constructor & Destructor Documentation

MaterialDerivativeTestAction::MaterialDerivativeTestAction ( const InputParameters parameters)

Definition at line 43 of file MaterialDerivativeTestAction.C.

44  : Action(parameters),
45  _args(getParam<std::vector<VariableName>>("args")),
46  _prop_name(getParam<MaterialPropertyName>("prop_name")),
47  _prop_type(getParam<MooseEnum>("prop_type").getEnum<PropTypeEnum>()),
48  _derivative_order(getParam<unsigned int>("derivative_order")),
49  _second(false),
50  _derivatives({{_prop_name, {}}})
51 {
52  std::vector<std::vector<std::vector<VariableName>>> derivative_table(_derivative_order + 1);
53 
54  // 0th derivative is a (single) derivative w.r.t. to _no_ variables
55  derivative_table[0] = {{}};
56 
57  // build higher order derivatives
58  for (unsigned int n = 1; n <= _derivative_order; ++n)
59  for (const auto & function : derivative_table[n - 1])
60  for (const auto & var : _args)
61  {
62  // take previous order derivative and derive w.r.t. one of the args
63  auto derivative = std::vector<VariableName>(function);
64  derivative.push_back(var);
65 
66  // add derivative to list
67  derivative_table[n].push_back(derivative);
68  _derivatives.insert(std::make_pair(propertyName(_prop_name, derivative), derivative));
69  }
70 }
Action(InputParameters parameters)
Definition: Action.C:51
std::map< MaterialPropertyName, std::vector< VariableName > > _derivatives
every derivative given by a list of variables to derive w.r.t
const MaterialPropertyName propertyName(const MaterialPropertyName &base, const std::vector< VariableName > &c) const
Helper functions to generate the material property names for the arbitrary derivatives.
PetscInt n
enum MaterialDerivativeTestAction::PropTypeEnum _prop_type
const T & getParam(const std::string &name) const
Retrieve a parameter for the object.
Definition: Action.h:139

Member Function Documentation

void MaterialDerivativeTestAction::act ( )
overridevirtual

Implements Action.

Definition at line 73 of file MaterialDerivativeTestAction.C.

74 {
75  // finite element type
76  auto fetype = FEType(Utility::string_to_enum<Order>(_second ? "SECOND" : "FIRST"),
77  Utility::string_to_enum<FEFamily>("LAGRANGE"));
78 
79  // build higher order derivatives
80  for (const auto & derivative : _derivatives)
81  {
82  // Create variables
83  if (_current_task == "add_variable")
84  {
85  switch (_prop_type)
86  {
87  case PropTypeEnum::REAL:
88  _problem->addVariable("var_" + derivative.first, fetype, 1.0, nullptr);
89  break;
90 
92  for (unsigned int i = 0; i < 3; ++i)
93  for (unsigned int j = 0; j < 3; ++j)
94  _problem->addVariable("var_" + derivative.first + "_" + Moose::stringify(i) + "_" +
96  fetype,
97  1.0,
98  nullptr);
99  break;
100 
102  for (unsigned int i = 0; i < 3; ++i)
103  for (unsigned int j = 0; j < 3; ++j)
104  for (unsigned int k = 0; k < 3; ++k)
105  for (unsigned int l = 0; l < 3; ++l)
106  _problem->addVariable("var_" + derivative.first + "_" + Moose::stringify(i) +
107  "_" + Moose::stringify(j) + "_" + Moose::stringify(k) +
108  "_" + Moose::stringify(l),
109  fetype,
110  1.0,
111  nullptr);
112  break;
113 
114  default:
115  mooseError("Unknown property type.");
116  }
117  }
118 
119  if (_current_task == "add_kernel")
120  {
121  switch (_prop_type)
122  {
123  case PropTypeEnum::REAL:
124  {
125  auto params = _factory.getValidParams("MaterialDerivativeTestKernel");
126  params.set<std::vector<VariableName>>("args") = _args;
127  params.set<std::vector<VariableName>>("derivative") = derivative.second;
128  params.set<MaterialPropertyName>("material_property") = _prop_name;
129  params.set<NonlinearVariableName>("variable") = "var_" + derivative.first;
130  _problem->addKernel("MaterialDerivativeTestKernel", "kernel_" + derivative.first, params);
131  break;
132  }
133 
135  {
136  auto params = _factory.getValidParams("MaterialDerivativeRankTwoTestKernel");
137  params.set<std::vector<VariableName>>("args") = _args;
138  params.set<std::vector<VariableName>>("derivative") = derivative.second;
139  params.set<MaterialPropertyName>("material_property") = _prop_name;
140  for (unsigned int i = 0; i < 3; ++i)
141  for (unsigned int j = 0; j < 3; ++j)
142  {
143  auto suffix =
144  derivative.first + "_" + Moose::stringify(i) + "_" + Moose::stringify(j);
145  params.set<NonlinearVariableName>("variable") = "var_" + suffix;
146  params.set<unsigned int>("i") = i;
147  params.set<unsigned int>("j") = j;
148  _problem->addKernel(
149  "MaterialDerivativeRankTwoTestKernel", "kernel_" + suffix, params);
150  }
151  break;
152  }
153 
155  {
156  auto params = _factory.getValidParams("MaterialDerivativeRankFourTestKernel");
157  params.set<std::vector<VariableName>>("args") = _args;
158  params.set<std::vector<VariableName>>("derivative") = derivative.second;
159  params.set<MaterialPropertyName>("material_property") = _prop_name;
160  for (unsigned int i = 0; i < 3; ++i)
161  for (unsigned int j = 0; j < 3; ++j)
162  for (unsigned int k = 0; k < 3; ++k)
163  for (unsigned int l = 0; l < 3; ++l)
164  {
165  auto suffix = derivative.first + "_" + Moose::stringify(i) + "_" +
166  Moose::stringify(j) + "_" + Moose::stringify(k) + "_" +
167  Moose::stringify(l);
168  params.set<NonlinearVariableName>("variable") = "var_" + suffix;
169  params.set<unsigned int>("i") = i;
170  params.set<unsigned int>("j") = j;
171  params.set<unsigned int>("k") = k;
172  params.set<unsigned int>("l") = l;
173  _problem->addKernel(
174  "MaterialDerivativeRankFourTestKernel", "kernel_" + suffix, params);
175  }
176  break;
177  }
178 
179  default:
180  mooseError("Unknown property type.");
181  }
182  }
183  }
184 
185  if (_current_task == "add_preconditioning")
186  {
187  auto params = _factory.getValidParams("SMP");
188  auto & row = params.set<std::vector<NonlinearVariableName>>("off_diag_row");
189  auto & col = params.set<std::vector<NonlinearVariableName>>("off_diag_column");
190 
191  for (const auto & derivative : _derivatives)
192  {
193  switch (_prop_type)
194  {
195  case PropTypeEnum::REAL:
196  for (auto & arg : _args)
197  {
198  row.push_back("var_" + derivative.first);
199  col.push_back(arg);
200  }
201  break;
202 
204  for (unsigned int i = 0; i < 3; ++i)
205  for (unsigned int j = 0; j < 3; ++j)
206  for (auto & arg : _args)
207  {
208  row.push_back("var_" + derivative.first + "_" + Moose::stringify(i) + "_" +
209  Moose::stringify(j));
210  col.push_back(arg);
211  }
212  break;
213 
215  for (unsigned int i = 0; i < 3; ++i)
216  for (unsigned int j = 0; j < 3; ++j)
217  for (unsigned int k = 0; k < 3; ++k)
218  for (unsigned int l = 0; l < 3; ++l)
219  for (auto & arg : _args)
220  {
221  row.push_back("var_" + derivative.first + "_" + Moose::stringify(i) + "_" +
222  Moose::stringify(j) + "_" + Moose::stringify(k) + "_" +
223  Moose::stringify(l));
224  col.push_back(arg);
225  }
226  break;
227 
228  default:
229  mooseError("Unknown property type.");
230  }
231  }
232 
233  if (_problem.get() != nullptr)
234  {
235  params.set<FEProblemBase *>("_fe_problem_base") = _problem.get();
236  std::shared_ptr<MoosePreconditioner> pc =
237  _factory.create<MoosePreconditioner>("SMP", "material_derivative_SMP", params);
238 
239  _problem->getNonlinearSystemBase().setPreconditioner(pc);
240  }
241  else
242  mooseError("_problem.get() returned nullptr");
243  }
244 }
std::shared_ptr< MooseObject > create(const std::string &obj_name, const std::string &name, InputParameters parameters, THREAD_ID tid=0, bool print_deprecated=true)
Build an object (must be registered) - THIS METHOD IS DEPRECATED (Use create<T>()) ...
Definition: Factory.C:46
InputParameters getValidParams(const std::string &name)
Get valid parameters for the object.
Definition: Factory.C:26
void mooseError(Args &&...args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:182
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
Factory & _factory
The Factory associated with the MooseApp.
Definition: Action.h:101
static PetscErrorCode Vec Mat Mat pc
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Base class for MOOSE preconditioners.
const std::string & _current_task
The current action (even though we have seperate instances for each action)
Definition: Action.h:125
std::string stringify(const T &t)
conversion to string
Definition: Conversion.h:66
std::map< MaterialPropertyName, std::vector< VariableName > > _derivatives
every derivative given by a list of variables to derive w.r.t
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
Definition: Action.h:131
enum MaterialDerivativeTestAction::PropTypeEnum _prop_type
void Action::appendTask ( const std::string &  task)
inlineinherited

Definition at line 82 of file Action.h.

82 { _all_tasks.insert(task); }
std::set< std::string > _all_tasks
A list of all the tasks that this Action will satisfy.
Definition: Action.h:119
const std::set<std::string>& Action::getAllTasks ( ) const
inlineinherited

Definition at line 68 of file Action.h.

Referenced by AddKernelAction::act().

68 { return _all_tasks; }
std::set< std::string > _all_tasks
A list of all the tasks that this Action will satisfy.
Definition: Action.h:119
std::string Action::getBaseName ( ) const
inherited

Deprecated name methods, use name()

Definition at line 82 of file Action.C.

Referenced by Action::name().

83 {
84  mooseDeprecated("getBaseName() is deprecated.");
86 }
void mooseDeprecated(Args &&...args)
Emit a deprecated code/feature message with the given stringified, concatenated args.
Definition: MooseError.h:202
std::string _name
The name of the action.
Definition: Action.h:92
std::string baseName(const std::string &name)
Function for string the information before the final / in a parser block.
Definition: MooseUtils.C:331
template<typename T >
const T & Action::getParam ( const std::string &  name) const
inherited

Retrieve a parameter for the object.

Parameters
nameThe name of the parameter
Returns
The value of the parameter

Definition at line 139 of file Action.h.

Referenced by CreateDisplacedProblemAction::act(), AddPeriodicBCAction::act(), AddPeriodicBCAction::autoTranslationBoundaries(), DynamicObjectRegistrationAction::DynamicObjectRegistrationAction(), Action::getAllTasks(), and MooseApp::getCheckpointFiles().

140 {
141  return InputParameters::getParamHelper(name, _pars, static_cast<T *>(0));
142 }
static const T & getParamHelper(const std::string &name, const InputParameters &pars, const T *the_type)
InputParameters _pars
Input parameters for the action.
Definition: Action.h:86
const std::string & name() const
The name of the action.
Definition: Action.h:51
std::string Action::getShortName ( ) const
inherited

DEPRECATED METHODS.

Definition at line 75 of file Action.C.

Referenced by Action::name().

76 {
77  mooseDeprecated("getShortName() is deprecated.");
79 }
void mooseDeprecated(Args &&...args)
Emit a deprecated code/feature message with the given stringified, concatenated args.
Definition: MooseError.h:202
std::string shortName(const std::string &name)
Function for stripping name after the file / in parser block.
Definition: MooseUtils.C:325
std::string _name
The name of the action.
Definition: Action.h:92
bool Action::isParamValid ( const std::string &  name) const
inlineinherited

Definition at line 80 of file Action.h.

Referenced by CopyNodalVarsAction::act(), SetAdaptivityOptionsAction::act(), SetupMeshAction::act(), CreateProblemAction::act(), CreateDisplacedProblemAction::act(), AddAuxVariableAction::act(), AddVariableAction::act(), AddVariableAction::addVariable(), AddPeriodicBCAction::autoTranslationBoundaries(), DynamicObjectRegistrationAction::DynamicObjectRegistrationAction(), and SetupMeshAction::setupMesh().

80 { return _pars.isParamValid(name); }
bool isParamValid(const std::string &name) const
This method returns parameters that have been initialized in one fashion or another, i.e.
InputParameters _pars
Input parameters for the action.
Definition: Action.h:86
const std::string & name() const
The name of the action.
Definition: Action.h:51
const std::string& Action::name ( ) const
inlineinherited
InputParameters& Action::parameters ( )
inlineinherited

Definition at line 63 of file Action.h.

Referenced by GlobalParamsAction::remove(), GlobalParamsAction::setDoubleIndexParam(), GlobalParamsAction::setScalarParam(), and GlobalParamsAction::setVectorParam().

63 { return _pars; }
InputParameters _pars
Input parameters for the action.
Definition: Action.h:86
const InputParameters& Action::parameters ( ) const
inlineinherited

Definition at line 64 of file Action.h.

64 { return _pars; }
InputParameters _pars
Input parameters for the action.
Definition: Action.h:86
const MaterialPropertyName DerivativeMaterialPropertyNameInterface::propertyName ( const MaterialPropertyName &  base,
const std::vector< VariableName > &  c 
) const
inherited

Helper functions to generate the material property names for the arbitrary derivatives.

Definition at line 7 of file DerivativeMaterialPropertyNameInterface.C.

Referenced by DerivativeMaterialInterface< T >::declarePropertyDerivative(), DerivativeMaterialInterface< T >::getMaterialPropertyDerivative(), DerivativeMaterialInterface< T >::getMaterialPropertyDerivativeByName(), MaterialDerivativeTestAction(), DerivativeMaterialPropertyNameInterface::propertyNameSecond(), DerivativeMaterialPropertyNameInterface::propertyNameThird(), and DerivativeMaterialInterface< T >::validateCouplingHelper().

9 {
10  // to obtain well defined names we sort alphabetically
11  std::vector<VariableName> a(c);
12  std::sort(a.begin(), a.end());
13 
14  // derivative order
15  unsigned int order = a.size();
16  if (order == 0)
17  return base;
18 
19  // build the property name as a stringstream
20  std::stringstream name;
21 
22  // build numerator
23  name << 'd';
24  if (order > 1)
25  name << '^' << order;
26  name << base << '/';
27 
28  // build denominator with 'pretty' names using exponents rather than repeat multiplication
29  unsigned int exponent = 1;
30  for (unsigned i = 1; i <= order; ++i)
31  {
32  if (i == order || a[i - 1] != a[i])
33  {
34  name << 'd' << a[i - 1];
35  if (exponent > 1)
36  name << '^' << exponent;
37  exponent = 1;
38  }
39  else
40  exponent++;
41  }
42 
43  return name.str();
44 }
const MaterialPropertyName DerivativeMaterialPropertyNameInterface::propertyNameFirst ( const MaterialPropertyName &  base,
const VariableName &  c1 
) const
inherited

Helper functions to generate the material property names for the first derivatives.

Definition at line 47 of file DerivativeMaterialPropertyNameInterface.C.

Referenced by DerivativeMaterialInterface< T >::declarePropertyDerivative(), DerivativeMaterialInterface< T >::getMaterialPropertyDerivative(), and DerivativeMaterialInterface< T >::getMaterialPropertyDerivativeByName().

49 {
50  return "d" + base + "/d" + c1;
51 }
const MaterialPropertyName DerivativeMaterialPropertyNameInterface::propertyNameSecond ( const MaterialPropertyName &  base,
const VariableName &  c1,
const VariableName &  c2 
) const
inherited

Helper functions to generate the material property names for the second derivatives.

Definition at line 54 of file DerivativeMaterialPropertyNameInterface.C.

Referenced by DerivativeMaterialInterface< T >::declarePropertyDerivative(), DerivativeMaterialInterface< T >::getMaterialPropertyDerivative(), and DerivativeMaterialInterface< T >::getMaterialPropertyDerivativeByName().

57 {
58  return propertyName(base, {c1, c2});
59 }
const MaterialPropertyName propertyName(const MaterialPropertyName &base, const std::vector< VariableName > &c) const
Helper functions to generate the material property names for the arbitrary derivatives.
const MaterialPropertyName DerivativeMaterialPropertyNameInterface::propertyNameThird ( const MaterialPropertyName &  base,
const VariableName &  c1,
const VariableName &  c2,
const VariableName &  c3 
) const
inherited

Helper functions to generate the material property names for the third derivatives.

Definition at line 62 of file DerivativeMaterialPropertyNameInterface.C.

Referenced by DerivativeMaterialInterface< T >::declarePropertyDerivative(), DerivativeMaterialInterface< T >::getMaterialPropertyDerivative(), and DerivativeMaterialInterface< T >::getMaterialPropertyDerivativeByName().

66 {
67  return propertyName(base, {c1, c2, c3});
68 }
const MaterialPropertyName propertyName(const MaterialPropertyName &base, const std::vector< VariableName > &c) const
Helper functions to generate the material property names for the arbitrary derivatives.
const std::string& Action::specificTaskName ( ) const
inlineinherited

Definition at line 66 of file Action.h.

66 { return _specific_task_name; }
std::string _specific_task_name
This member will only be populated if this Action instance is only designed to handle one task...
Definition: Action.h:112
const std::string& Action::type ( ) const
inlineinherited

Definition at line 61 of file Action.h.

Referenced by CommonOutputAction::hasConsole().

61 { return _action_type; }
std::string _action_type
Definition: Action.h:95

Member Data Documentation

ActionFactory& Action::_action_factory
protectedinherited
std::string Action::_action_type
protectedinherited

Definition at line 95 of file Action.h.

Referenced by Action::type().

std::set<std::string> Action::_all_tasks
protectedinherited

A list of all the tasks that this Action will satisfy.

Note: That this is not populated at construction time. However, all tasks will be added prior to act().

Definition at line 119 of file Action.h.

Referenced by Action::appendTask(), and Action::getAllTasks().

MooseApp& Action::_app
protectedinherited
std::vector<VariableName> MaterialDerivativeTestAction::_args
protected

Definition at line 38 of file MaterialDerivativeTestAction.h.

Referenced by act(), and MaterialDerivativeTestAction().

ActionWarehouse& Action::_awh
protectedinherited
const ConsoleStream ConsoleStreamInterface::_console
inherited

An instance of helper class to write streams to the Console objects.

Definition at line 37 of file ConsoleStreamInterface.h.

Referenced by IterationAdaptiveDT::acceptStep(), CreateProblemAction::act(), SetupRecoverFileBaseAction::act(), Adaptivity::adaptMesh(), FEProblemBase::adaptMesh(), FEProblemBase::advanceMultiApps(), SimplePredictor::apply(), FEProblemBase::backupMultiApps(), FEProblemBase::checkProblemIntegrity(), IterationAdaptiveDT::computeAdaptiveDT(), Transient::computeConstrainedDT(), NonlinearSystemBase::computeDamping(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInterpolationDT(), FEProblemBase::computeResidualType(), IterationAdaptiveDT::constrainStep(), TimeStepper::constrainStep(), AB2PredictorCorrector::converged(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), MultiAppPostprocessorTransfer::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppProjectionTransfer::execute(), MultiAppCopyTransfer::execute(), Steady::execute(), MultiAppDTKUserObjectTransfer::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), MultiApp::globalAppToLocal(), InversePowerMethod::init(), NonlinearEigen::init(), Steady::init(), FEProblemBase::initialAdaptMesh(), FEProblemBase::initialSetup(), EigenExecutionerBase::inversePowerIteration(), Transient::keepGoing(), IterationAdaptiveDT::limitDTByFunction(), IterationAdaptiveDT::limitDTToPostprocessorValue(), EigenExecutionerBase::makeBXConsistent(), Console::meshChanged(), MooseObject::mooseDeprecated(), MooseObject::mooseInfo(), MooseObject::mooseWarning(), DOFMapOutput::output(), VariableResidualNormsDebugOutput::output(), Console::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Console::outputInput(), Console::outputPostprocessors(), Console::outputScalarVariables(), Console::outputSystemInformation(), FEProblemBase::possiblyRebuildGeomSearchPatches(), EigenExecutionerBase::postExecute(), ActionWarehouse::printActionDependencySets(), EigenExecutionerBase::printEigenvalue(), MaterialPropertyDebugOutput::printMaterialMap(), SolutionTimeAdaptiveDT::rejectStep(), DT2::rejectStep(), FEProblemBase::restoreMultiApps(), SimplePredictor::shouldApply(), NonlinearSystem::solve(), LStableDirk2::solve(), LStableDirk3::solve(), ImplicitMidpoint::solve(), ExplicitTVDRK2::solve(), AStableDirk4::solve(), LStableDirk4::solve(), ExplicitRK2::solve(), TransientMultiApp::solveStep(), Transient::solveStep(), DT2::step(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), FEProblemBase::useFECache(), Console::writeTimestepInformation(), Console::writeVariableNorms(), and FEProblemBase::~FEProblemBase().

const std::string& Action::_current_task
protectedinherited

The current action (even though we have seperate instances for each action)

Definition at line 125 of file Action.h.

Referenced by AddKernelAction::act(), CopyNodalVarsAction::act(), AddScalarKernelAction::act(), SetupMeshCompleteAction::act(), SetupMeshAction::act(), act(), and AddNodalNormalsAction::act().

const unsigned int MaterialDerivativeTestAction::_derivative_order
protected

Definition at line 49 of file MaterialDerivativeTestAction.h.

Referenced by MaterialDerivativeTestAction().

std::map<MaterialPropertyName, std::vector<VariableName> > MaterialDerivativeTestAction::_derivatives
protected

every derivative given by a list of variables to derive w.r.t

Definition at line 54 of file MaterialDerivativeTestAction.h.

Referenced by act(), and MaterialDerivativeTestAction().

std::shared_ptr<MooseMesh>& Action::_displaced_mesh
protectedinherited
std::shared_ptr<Executioner>& Action::_executioner
protectedinherited

Convenience reference to an executioner.

Definition at line 134 of file Action.h.

Referenced by SetupPredictorAction::act(), and SetupTimeStepperAction::act().

Factory& Action::_factory
protectedinherited
std::shared_ptr<MooseMesh>& Action::_mesh
protectedinherited
std::string Action::_name
protectedinherited
InputParameters Action::_pars
protectedinherited
std::shared_ptr<FEProblemBase>& Action::_problem
protectedinherited

Convenience reference to a problem this action works on.

Definition at line 131 of file Action.h.

Referenced by AddBCAction::act(), AddBoundsVectorsAction::act(), AddDGKernelAction::act(), AddInitialConditionAction::act(), SetAdaptivityOptionsAction::act(), AddInterfaceKernelAction::act(), AddVectorPostprocessorAction::act(), AddDiracKernelAction::act(), AddKernelAction::act(), CheckIntegrityAction::act(), CopyNodalVarsAction::act(), AddMarkerAction::act(), InitProblemAction::act(), AddIndicatorAction::act(), AddConstraintAction::act(), AddUserObjectAction::act(), CreateExecutionerAction::act(), AddMultiAppAction::act(), AddElementalFieldAction::act(), AddNodalKernelAction::act(), SetupDampersAction::act(), AddDamperAction::act(), AddMaterialAction::act(), AddTransferAction::act(), AddPostprocessorAction::act(), AddICAction::act(), AddScalarKernelAction::act(), AddFieldSplitAction::act(), CreateProblemAction::act(), AdaptivityAction::act(), AddFunctionAction::act(), SetupTimeIntegratorAction::act(), SetupTimeStepperAction::act(), CreateDisplacedProblemAction::act(), AddDistributionAction::act(), SetupPreconditionerAction::act(), SetupPredictorAction::act(), SetupResidualDebugAction::act(), act(), SetupQuadratureAction::act(), AddSamplerAction::act(), AddAuxVariableAction::act(), AddOutputAction::act(), AddPeriodicBCAction::act(), AddControlAction::act(), MaterialOutputAction::act(), AddNodalNormalsAction::act(), SetupPostprocessorDataAction::act(), AddVariableAction::addVariable(), AddPeriodicBCAction::autoTranslationBoundaries(), CheckOutputAction::checkMaterialOutput(), AddVariableAction::getSubdomainIDs(), and AddPeriodicBCAction::setPeriodicVars().

MaterialPropertyName MaterialDerivativeTestAction::_prop_name
protected

Definition at line 40 of file MaterialDerivativeTestAction.h.

Referenced by act(), and MaterialDerivativeTestAction().

enum MaterialDerivativeTestAction::PropTypeEnum MaterialDerivativeTestAction::_prop_type
protected

Referenced by act().

std::string Action::_registered_identifier
protectedinherited

Definition at line 89 of file Action.h.

const bool MaterialDerivativeTestAction::_second
protected

Definition at line 51 of file MaterialDerivativeTestAction.h.

Referenced by act().

std::string Action::_specific_task_name
protectedinherited

This member will only be populated if this Action instance is only designed to handle one task.

This happens when an Action is registered with several pieces of syntax in which case separate instances are built to handle the different incoming parameter values.

Definition at line 112 of file Action.h.

Referenced by Action::specificTaskName().


The documentation for this class was generated from the following files: