www.mooseframework.org
TotalFreeEnergyBase.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 TOTALFREEENERGYBASE_H
8 #define TOTALFREEENERGYBASE_H
9 
10 #include "AuxKernel.h"
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<TotalFreeEnergyBase>();
17 
22 class TotalFreeEnergyBase : public AuxKernel
23 {
24 public:
25  TotalFreeEnergyBase(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeValue() = 0;
29 
31  unsigned int _nvars;
32  std::vector<const VariableValue *> _vars;
33  std::vector<const VariableGradient *> _grad_vars;
34 
36  std::vector<MaterialPropertyName> _kappa_names;
37  unsigned int _nkappas;
38 
40  const VariableValue & _additional_free_energy;
41 };
42 
43 #endif // TOTALFREEENERGYBASE_H
Total free energy (both the bulk and gradient parts), where the bulk free energy has been defined in ...
unsigned int _nvars
Coupled interface variables.
const VariableValue & _additional_free_energy
Additional free energy contribution.
InputParameters validParams< TotalFreeEnergyBase >()
virtual Real computeValue()=0
TotalFreeEnergyBase(const InputParameters &parameters)
std::vector< const VariableGradient * > _grad_vars
std::vector< const VariableValue * > _vars
std::vector< MaterialPropertyName > _kappa_names
Gradient free energy prefactor kappa.