www.mooseframework.org
PolycrystalElasticDrivingForceAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef POLYCRYSTALELASTICDRIVINGFORCEACTION_H
9 #define POLYCRYSTALELASTICDRIVINGFORCEACTION_H
10 
11 #include "Action.h"
12 #include "DerivativeMaterialPropertyNameInterface.h"
13 
14 // Forward Declarations
16 
17 template <>
23  public DerivativeMaterialPropertyNameInterface
24 {
25 public:
26  PolycrystalElasticDrivingForceAction(const InputParameters & params);
27 
28  virtual void act();
29 
30 private:
32  const unsigned int _op_num;
33 
35  std::string _var_name_base;
36  std::string _base_name;
38 };
39 
40 #endif // POLYCRYSTALELASTICDRIVINGFORCEACTION_H
InputParameters validParams< PolycrystalElasticDrivingForceAction >()
const unsigned int _op_num
Number of order parameters used in the model.
std::string _var_name_base
Base name for the order parameters.
Action that adds the elastic driving force for each order parameter.
PolycrystalElasticDrivingForceAction(const InputParameters &params)