www.mooseframework.org
MathFreeEnergy.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 "DerivativeFunctionMaterialBase.h"
13 
14 // Forward Declarations
15 class MathFreeEnergy;
16 
17 template <>
18 InputParameters validParams<MathFreeEnergy>();
19 
24 class MathFreeEnergy : public DerivativeFunctionMaterialBase
25 {
26 public:
27  MathFreeEnergy(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeF();
31  virtual Real computeDF(unsigned int j_var);
32  virtual Real computeD2F(unsigned int j_var, unsigned int k_var);
33  virtual Real computeD3F(unsigned int j_var, unsigned int k_var, unsigned int l_var);
34 
35 private:
37  const VariableValue & _c;
38  unsigned int _c_var;
39 };
40 
MathFreeEnergy::_c
const VariableValue & _c
Coupled variable value for the concentration .
Definition: MathFreeEnergy.h:37
MathFreeEnergy::computeF
virtual Real computeF()
Definition: MathFreeEnergy.C:31
MathFreeEnergy::computeDF
virtual Real computeDF(unsigned int j_var)
Definition: MathFreeEnergy.C:37
MathFreeEnergy::computeD2F
virtual Real computeD2F(unsigned int j_var, unsigned int k_var)
Definition: MathFreeEnergy.C:47
MathFreeEnergy::_c_var
unsigned int _c_var
Definition: MathFreeEnergy.h:38
MathFreeEnergy::computeD3F
virtual Real computeD3F(unsigned int j_var, unsigned int k_var, unsigned int l_var)
Definition: MathFreeEnergy.C:56
validParams< MathFreeEnergy >
InputParameters validParams< MathFreeEnergy >()
Definition: MathFreeEnergy.C:16
MathFreeEnergy::MathFreeEnergy
MathFreeEnergy(const InputParameters &parameters)
Definition: MathFreeEnergy.C:25
MathFreeEnergy
Material class that creates the math free energy and its derivatives for use with CHParsed and SplitC...
Definition: MathFreeEnergy.h:24