www.mooseframework.org
MathFreeEnergy.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 MATHFREEENERGY_H
8 #define MATHFREEENERGY_H
9 
11 
12 // Forward Declarations
13 class MathFreeEnergy;
14 
15 template <>
16 InputParameters validParams<MathFreeEnergy>();
17 
23 {
24 public:
25  MathFreeEnergy(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeF();
29  virtual Real computeDF(unsigned int j_var);
30  virtual Real computeD2F(unsigned int j_var, unsigned int k_var);
31  virtual Real computeD3F(unsigned int j_var, unsigned int k_var, unsigned int l_var);
32 
33 private:
35  const VariableValue & _c;
36  unsigned int _c_var;
37 };
38 
39 #endif // MATHFREEENERGY_H
virtual Real computeF()
Override this method to provide the free energy function.
MathFreeEnergy(const InputParameters &parameters)
virtual Real computeD3F(unsigned int j_var, unsigned int k_var, unsigned int l_var)
Override this method to calculate the third derivatives.
virtual Real computeDF(unsigned int j_var)
Override this method for calculating the first derivatives.
InputParameters validParams< MathFreeEnergy >()
const VariableValue & _c
Coupled variable value for the concentration .
Material base class central to compute the a phase free energy and its derivatives.
Material class that creates the math free energy and its derivatives for use with CHParsed and SplitC...
virtual Real computeD2F(unsigned int j_var, unsigned int k_var)
Override this method to calculate the second derivatives.
unsigned int _c_var