www.mooseframework.org
TotalFreeEnergyBase.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 "AuxKernel.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<TotalFreeEnergyBase>();
19 
24 class TotalFreeEnergyBase : public AuxKernel
25 {
26 public:
27  TotalFreeEnergyBase(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeValue() = 0;
31 
33  unsigned int _nvars;
34  std::vector<const VariableValue *> _vars;
35  std::vector<const VariableGradient *> _grad_vars;
36 
38  std::vector<MaterialPropertyName> _kappa_names;
39  unsigned int _nkappas;
40 
42  const VariableValue & _additional_free_energy;
43 };
44 
TotalFreeEnergyBase
Total free energy (both the bulk and gradient parts), where the bulk free energy has been defined in ...
Definition: TotalFreeEnergyBase.h:24
TotalFreeEnergyBase::_vars
std::vector< const VariableValue * > _vars
Definition: TotalFreeEnergyBase.h:34
TotalFreeEnergyBase::computeValue
virtual Real computeValue()=0
TotalFreeEnergyBase::_kappa_names
std::vector< MaterialPropertyName > _kappa_names
Gradient free energy prefactor kappa.
Definition: TotalFreeEnergyBase.h:38
TotalFreeEnergyBase::_grad_vars
std::vector< const VariableGradient * > _grad_vars
Definition: TotalFreeEnergyBase.h:35
TotalFreeEnergyBase::TotalFreeEnergyBase
TotalFreeEnergyBase(const InputParameters &parameters)
Definition: TotalFreeEnergyBase.C:25
TotalFreeEnergyBase::_nkappas
unsigned int _nkappas
Definition: TotalFreeEnergyBase.h:39
TotalFreeEnergyBase::_additional_free_energy
const VariableValue & _additional_free_energy
Additional free energy contribution.
Definition: TotalFreeEnergyBase.h:42
validParams< TotalFreeEnergyBase >
InputParameters validParams< TotalFreeEnergyBase >()
Definition: TotalFreeEnergyBase.C:14
TotalFreeEnergyBase::_nvars
unsigned int _nvars
Coupled interface variables.
Definition: TotalFreeEnergyBase.h:33