https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TotalFreeEnergyBase.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
15
21{
22public:
24
26
27protected:
28 virtual Real computeValue() = 0;
29
31 unsigned int _nvars;
32 const std::vector<const VariableValue *> _vars;
33 const std::vector<const VariableGradient *> _grad_vars;
34
36 std::vector<MaterialPropertyName> _kappa_names;
37 unsigned int _nkappas;
38
41};
const InputParameters & parameters() const
Total free energy (both the bulk and gradient parts), where the bulk free energy has been defined in ...
const std::vector< const VariableGradient * > _grad_vars
std::vector< MaterialPropertyName > _kappa_names
Gradient free energy prefactor kappa.
const std::vector< const VariableValue * > _vars
const VariableValue & _additional_free_energy
Additional free energy contribution.
static InputParameters validParams()
unsigned int _nvars
Coupled interface variables.
virtual Real computeValue()=0
VariableValueTempl< false > VariableValue