https://mooseframework.inl.gov
MaterialDerivativeTestAction.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Action.h"
14 
20 {
21 public:
23 
25 
26  virtual void act() override;
27 
28 protected:
29  std::vector<VariableName> _args;
30 
31  MaterialPropertyName _prop_name;
32 
33  enum class PropTypeEnum
34  {
35  REAL,
38  } _prop_type;
39 
40  const unsigned int _derivative_order;
41 
42  const bool _second;
43 
45  std::map<MaterialPropertyName, std::vector<SymbolName>> _derivatives;
46 };
Sets up variables and Kernels to test the derivatives of material properties via the Jacobian checker...
std::map< MaterialPropertyName, std::vector< SymbolName > > _derivatives
every derivative given by a list of variables to derive w.r.t
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for actions.
Definition: Action.h:33
MaterialDerivativeTestAction(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
enum MaterialDerivativeTestAction::PropTypeEnum _prop_type
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.