#include <PFCRFFEnergyDensity.h>
Definition at line 20 of file PFCRFFEnergyDensity.h.
◆ PFCRFFEnergyDensity()
PFCRFFEnergyDensity::PFCRFFEnergyDensity |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 33 of file PFCRFFEnergyDensity.C.
34 : AuxKernel(parameters),
35 _order(coupledComponents(
"v")),
36 _a(getParam<Real>(
"a")),
37 _b(getParam<Real>(
"b")),
38 _c(getParam<Real>(
"c")),
41 _tol(getParam<Real>(
"tol"))
44 for (
unsigned int i = 0; i <
_order; ++i)
45 _vals[i] = &coupledValue(
"v", i);
◆ computeValue()
Real PFCRFFEnergyDensity::computeValue |
( |
| ) |
|
|
protectedvirtual |
Definition at line 49 of file PFCRFFEnergyDensity.C.
58 val += ((1.0 + (*
_vals[0])[_qp]) * std::log(1 + (*
_vals[0])[_qp])) - (*
_vals[0])[_qp];
62 val += ((1.0 + (*
_vals[0])[_qp]) * std::log(1.0 + (*
_vals[0])[_qp])) - (*
_vals[0])[_qp];
87 for (
unsigned int i = 1; i <
_order; ++i)
88 sumL += (*
_vals[i])[_qp] * 0.5;
90 val -= ((*
_vals[0])[_qp] * sumL);
◆ _a
Real PFCRFFEnergyDensity::_a |
|
protected |
◆ _b
Real PFCRFFEnergyDensity::_b |
|
protected |
◆ _c
Real PFCRFFEnergyDensity::_c |
|
protected |
◆ _log_approach
MooseEnum PFCRFFEnergyDensity::_log_approach |
|
protected |
◆ _num_exp_terms
unsigned int PFCRFFEnergyDensity::_num_exp_terms |
|
protected |
◆ _order
unsigned int PFCRFFEnergyDensity::_order |
|
protected |
◆ _tol
Real PFCRFFEnergyDensity::_tol |
|
protected |
◆ _vals
std::vector<const VariableValue *> PFCRFFEnergyDensity::_vals |
|
protected |
The documentation for this class was generated from the following files: