#include <CHPFCRFFSplitKernelAction.h>
Definition at line 24 of file CHPFCRFFSplitKernelAction.h.
◆ CHPFCRFFSplitKernelAction()
CHPFCRFFSplitKernelAction::CHPFCRFFSplitKernelAction |
( |
const InputParameters & |
params | ) |
|
Definition at line 38 of file CHPFCRFFSplitKernelAction.C.
40 _num_L(getParam<unsigned int>(
"num_L")),
42 _n_name(getParam<NonlinearVariableName>(
"n_name"))
const NonlinearVariableName _n_name
const std::string _L_name_base
const unsigned int _num_L
◆ act()
void CHPFCRFFSplitKernelAction::act |
( |
| ) |
|
|
virtual |
Definition at line 47 of file CHPFCRFFSplitKernelAction.C.
50 InputParameters poly_params = _factory.getValidParams(
"TimeDerivative");
51 poly_params.set<NonlinearVariableName>(
"variable") =
_n_name;
52 poly_params.set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
53 _problem->addKernel(
"TimeDerivative",
"IE_n", poly_params);
56 std::vector<VariableName> real_v(
_num_L);
57 for (
unsigned int l = 0; l <
_num_L; ++l)
58 real_v[l] =
_L_name_base + Moose::stringify(l) +
"_real";
61 poly_params = _factory.getValidParams(
"CHPFCRFF");
62 poly_params.applyParameters(parameters());
63 poly_params.set<NonlinearVariableName>(
"variable") =
_n_name;
64 poly_params.set<std::vector<VariableName>>(
"v") = real_v;
65 _problem->addKernel(
"CHPFCRFF",
"CH_bulk_n", poly_params);
const NonlinearVariableName _n_name
const std::string _L_name_base
const unsigned int _num_L
◆ _L_name_base
const std::string CHPFCRFFSplitKernelAction::_L_name_base |
|
private |
◆ _n_name
const NonlinearVariableName CHPFCRFFSplitKernelAction::_n_name |
|
private |
◆ _num_L
const unsigned int CHPFCRFFSplitKernelAction::_num_L |
|
private |
The documentation for this class was generated from the following files: