www.mooseframework.org
ACSwitching.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 #ifndef ACSWITCHING_H
8 #define ACSWITCHING_H
9 
10 #include "ACBulk.h"
11 
12 // Forward Declarations
13 class ACSwitching;
14 
15 template <>
16 InputParameters validParams<ACSwitching>();
17 
25 class ACSwitching : public ACBulk<Real>
26 {
27 public:
28  ACSwitching(const InputParameters & parameters);
29 
30  virtual void initialSetup();
31 
32 protected:
33  virtual Real computeDFDOP(PFFunctionType type);
34  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
35 
36  const unsigned int _nvar;
38  VariableName _etai_name;
39 
41  std::vector<MaterialPropertyName> _Fj_names;
42  unsigned int _num_j;
43 
45  std::vector<const MaterialProperty<Real> *> _prop_Fj;
46 
48  std::vector<std::vector<const MaterialProperty<Real> *>> _prop_dFjdarg;
49 
51  std::vector<MaterialPropertyName> _hj_names;
52 
54  std::vector<const MaterialProperty<Real> *> _prop_dhjdetai;
55 
57  std::vector<const MaterialProperty<Real> *> _prop_d2hjdetai2;
58 
60  std::vector<std::vector<const MaterialProperty<Real> *>> _prop_d2hjdetaidarg;
61 };
62 
63 #endif // ACSWITCHING_H
virtual void initialSetup()
Definition: ACBulk.h:83
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition: ACBulk.h:22
InputParameters validParams< ACSwitching >()
Definition: ACSwitching.C:11
virtual Real computeDFDOP(PFFunctionType type)=0
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: ACBulk.h:114