www.mooseframework.org
MaterialDerivativeTestAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef MATERIALDERIVATIVETESTACTION_H
16 #define MATERIALDERIVATIVETESTACTION_H
17 
18 #include "Action.h"
20 
22 
23 template <>
25 
31 {
32 public:
34 
35  virtual void act() override;
36 
37 protected:
38  std::vector<VariableName> _args;
39 
40  MaterialPropertyName _prop_name;
41 
42  enum class PropTypeEnum
43  {
44  REAL,
47  } _prop_type;
48 
49  const unsigned int _derivative_order;
50 
51  const bool _second;
52 
54  std::map<MaterialPropertyName, std::vector<VariableName>> _derivatives;
55 };
56 
57 #endif // MATERIALDERIVATIVETESTACTION_H
Sets up variables and Kernels to test the derivatives of material properties via the Jacobian checker...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters & parameters()
Definition: Action.h:63
Base class for actions.
Definition: Action.h:39
std::map< MaterialPropertyName, std::vector< VariableName > > _derivatives
every derivative given by a list of variables to derive w.r.t
MaterialDerivativeTestAction(const InputParameters &parameters)
InputParameters validParams< MaterialDerivativeTestAction >()
enum MaterialDerivativeTestAction::PropTypeEnum _prop_type