www.mooseframework.org
ACSwitching.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "ACBulk.h"
13 
14 // Forward Declarations
15 class ACSwitching;
16 
17 template <>
18 InputParameters validParams<ACSwitching>();
19 
27 class ACSwitching : public ACBulk<Real>
28 {
29 public:
30  ACSwitching(const InputParameters & parameters);
31 
32  virtual void initialSetup();
33 
34 protected:
35  virtual Real computeDFDOP(PFFunctionType type);
36  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
37 
38  const unsigned int _nvar;
40  VariableName _etai_name;
41 
43  std::vector<MaterialPropertyName> _Fj_names;
44  unsigned int _num_j;
45 
47  std::vector<const MaterialProperty<Real> *> _prop_Fj;
48 
50  std::vector<std::vector<const MaterialProperty<Real> *>> _prop_dFjdarg;
51 
53  std::vector<MaterialPropertyName> _hj_names;
54 
56  std::vector<const MaterialProperty<Real> *> _prop_dhjdetai;
57 
59  std::vector<const MaterialProperty<Real> *> _prop_d2hjdetai2;
60 
62  std::vector<std::vector<const MaterialProperty<Real> *>> _prop_d2hjdetaidarg;
63 };
64 
ACBulk::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: ACBulk.h:116
ACBulk
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition: ACBulk.h:24
ACBulk.h
ACBulk::computeDFDOP
virtual Real computeDFDOP(PFFunctionType type)=0
ACBulk::initialSetup
virtual void initialSetup()
Definition: ACBulk.h:85
validParams< ACSwitching >
InputParameters validParams< ACSwitching >()
Definition: ACSwitching.C:16