www.mooseframework.org
DerivativeMultiPhaseMaterial.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 DERIVATIVEMULTIPHASEMATERIAL_H
8 #define DERIVATIVEMULTIPHASEMATERIAL_H
9 
11 
13 
14 template <>
16 
23 {
24 public:
25  DerivativeMultiPhaseMaterial(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeDF(unsigned int i_var);
29  virtual Real computeD2F(unsigned int i_var, unsigned int j_var);
30  virtual Real computeD3F(unsigned int i_var, unsigned int j_var, unsigned int k_var);
31 
33  std::vector<const MaterialProperty<Real> *> _dhi, _d2hi, _d3hi;
34 };
35 
36 #endif // DERIVATIVEMULTIPHASEMATERIAL_H
virtual Real computeDF(unsigned int i_var)
Override this method for calculating the first derivatives.
std::vector< const MaterialProperty< Real > * > _d2hi
InputParameters validParams< DerivativeMultiPhaseMaterial >()
Multi phase free energy material that combines an arbitrary number of phase free energies to a global...
std::vector< const MaterialProperty< Real > * > _d3hi
virtual Real computeD3F(unsigned int i_var, unsigned int j_var, unsigned int k_var)
Override this method to calculate the third derivatives.
DerivativeMaterial child class to evaluate a parsed function for the free energy and automatically pr...
std::vector< const MaterialProperty< Real > * > _dhi
Function value of the i phase.
DerivativeMultiPhaseMaterial(const InputParameters &parameters)
virtual Real computeD2F(unsigned int i_var, unsigned int j_var)
Override this method to calculate the second derivatives.