51 for (
unsigned int l = 0; l <
_num_L; ++l)
57 std::string real_name = L_name +
"_real";
58 std::string imag_name = L_name +
"_imag";
66 poly_params.
set<NonlinearVariableName>(
"variable") = real_name;
67 poly_params.
set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
68 _problem->addKernel(
"Diffusion",
"diff_" + real_name, poly_params);
72 poly_params.
set<NonlinearVariableName>(
"variable") = real_name;
73 poly_params.
set<
bool>(
"positive") =
true;
75 poly_params.
set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
76 _problem->addKernel(
"HHPFCRFF",
"HH1_" + real_name, poly_params);
82 poly_params.
set<NonlinearVariableName>(
"variable") = real_name;
83 poly_params.
set<
bool>(
"positive") =
false;
84 poly_params.
set<std::vector<VariableName>>(
"coupled_var").push_back(imag_name);
85 poly_params.
set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
87 _problem->addKernel(
"HHPFCRFF",
"HH2_" + real_name, poly_params);
92 poly_params.
set<NonlinearVariableName>(
"variable") = real_name;
93 poly_params.
set<
bool>(
"positive") =
false;
94 poly_params.
set<std::vector<VariableName>>(
"coupled_var").push_back(
_n_name);
95 poly_params.
set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
97 _problem->addKernel(
"HHPFCRFF",
"HH3_" + real_name, poly_params);
106 poly_params.
set<NonlinearVariableName>(
"variable") = imag_name;
107 poly_params.
set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
108 _problem->addKernel(
"Diffusion",
"diff_" + imag_name, poly_params);
112 poly_params.
set<NonlinearVariableName>(
"variable") = imag_name;
113 poly_params.
set<
bool>(
"positive") =
true;
114 poly_params.
set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
116 _problem->addKernel(
"HHPFCRFF",
"HH1_" + imag_name, poly_params);
120 poly_params.
set<NonlinearVariableName>(
"variable") = imag_name;
121 poly_params.
set<
bool>(
"positive") =
true;
122 poly_params.
set<std::vector<VariableName>>(
"coupled_var").push_back(real_name);
123 poly_params.
set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
125 _problem->addKernel(
"HHPFCRFF",
"HH2_" + imag_name, poly_params);
129 poly_params.
set<NonlinearVariableName>(
"variable") = imag_name;
130 poly_params.
set<
bool>(
"positive") =
false;
131 poly_params.
set<std::vector<VariableName>>(
"coupled_var").push_back(
_n_name);
132 poly_params.
set<
bool>(
"use_displaced_mesh") = getParam<bool>(
"use_displaced_mesh");
134 _problem->addKernel(
"HHPFCRFF",
"HH3_" + imag_name, poly_params);