www.mooseframework.org
SplitCHParsed.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 SPLITCHPARSED_H
8 #define SPLITCHPARSED_H
9 
10 #include "SplitCHCRes.h"
11 #include "JvarMapInterface.h"
12 #include "DerivativeMaterialInterface.h"
13 
14 // Forward Declarations
15 class SplitCHParsed;
16 
17 template <>
18 InputParameters validParams<SplitCHParsed>();
19 
26 class SplitCHParsed : public DerivativeMaterialInterface<JvarMapKernelInterface<SplitCHCRes>>
27 {
28 public:
29  SplitCHParsed(const InputParameters & parameters);
30 
31  virtual void initialSetup();
32 
33 protected:
34  virtual Real computeDFDC(PFFunctionType type);
35  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
36 
37 private:
38  const unsigned int _nvar;
39  const MaterialProperty<Real> & _dFdc;
40  const MaterialProperty<Real> & _d2Fdc2;
41 
42  std::vector<const MaterialProperty<Real> *> _d2Fdcdarg;
43 };
44 
45 #endif // SPLITCHPARSED_H
const MaterialProperty< Real > & _d2Fdc2
Definition: SplitCHParsed.h:40
virtual void initialSetup()
Definition: SplitCHParsed.C:38
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: SplitCHParsed.C:65
const MaterialProperty< Real > & _dFdc
Definition: SplitCHParsed.h:39
std::vector< const MaterialProperty< Real > * > _d2Fdcdarg
Definition: SplitCHParsed.h:42
InputParameters validParams< SplitCHParsed >()
Definition: SplitCHParsed.C:11
CHParsed uses the Free Energy function and derivatives provided by a DerivativeParsedMaterial.
Definition: SplitCHParsed.h:26
virtual Real computeDFDC(PFFunctionType type)
Definition: SplitCHParsed.C:50
const unsigned int _nvar
Definition: SplitCHParsed.h:38
SplitCHParsed(const InputParameters &parameters)
Definition: SplitCHParsed.C:22