1 #include "../../include/userInputParameters.h" 3 #include "../../include/EquationDependencyParser.h" 10 var_name = variable_attributes.
var_name;
11 var_type = variable_attributes.
var_type;
23 for (
unsigned int i=0; i<number_of_variables; i++){
25 nucleating_variable_indices.push_back(i);
28 nucleation_need_value.push_back(i);
32 if (nucleating_variable_indices.size() > 0){
33 nucleation_occurs =
true;
36 nucleation_occurs =
false;
43 num_var_explicit_RHS = 0;
44 for (
unsigned int i=0; i<number_of_variables; i++){
46 num_var_explicit_RHS++;
49 varInfoListExplicitRHS.reserve(num_var_explicit_RHS);
50 unsigned int scalar_var_index = 0;
51 unsigned int vector_var_index = 0;
52 for (
unsigned int i=0; i<number_of_variables; i++){
70 if (var_type[i] ==
SCALAR){
85 varInfoListExplicitRHS.push_back(varInfo);
89 num_var_nonexplicit_RHS = 0;
90 for (
unsigned int i=0; i<number_of_variables; i++){
92 num_var_nonexplicit_RHS++;
95 varInfoListNonexplicitRHS.reserve(num_var_nonexplicit_RHS);
98 for (
unsigned int i=0; i<number_of_variables; i++){
116 if (var_type[i] ==
SCALAR){
131 varInfoListNonexplicitRHS.push_back(varInfo);
136 for (
unsigned int i=0; i<number_of_variables; i++){
142 varInfoListLHS.reserve(num_var_LHS);
143 scalar_var_index = 0;
144 vector_var_index = 0;
145 for (
unsigned int i=0; i<number_of_variables; i++){
164 if (var_type[i] ==
SCALAR){
179 varInfoListLHS.push_back(varInfo);
182 varChangeInfoListLHS.reserve(num_var_LHS);
183 scalar_var_index = 0;
184 vector_var_index = 0;
185 for (
unsigned int i=0; i<number_of_variables; i++){
205 if (var_type[i] ==
SCALAR){
220 varChangeInfoListLHS.push_back(varInfo);
225 pp_baseVarInfoList.reserve(number_of_variables);
226 scalar_var_index = 0;
227 vector_var_index = 0;
228 for (
unsigned int i=0; i<number_of_variables; i++){
244 if (var_type[i] ==
SCALAR){
259 pp_baseVarInfoList.push_back(varInfo);
264 if (pp_number_of_variables > 0){
265 postProcessingRequired =
true;
268 postProcessingRequired =
false;
271 num_integrated_fields = 0;
272 for (
unsigned int i=0; i<pp_number_of_variables; i++){
273 if (pp_calc_integral[i]){
274 num_integrated_fields++;
275 integrated_field_indices.push_back(i);
280 pp_varInfoList.reserve(pp_number_of_variables);
281 scalar_var_index = 0;
282 vector_var_index = 0;
283 for (
unsigned int i=0; i<pp_number_of_variables; i++){
291 if (pp_var_type[i] ==
SCALAR){
301 pp_varInfoList.push_back(varInfo);
307 #include "../../include/userInputParameters_template_instantiations.h" std::vector< std::string > var_name
std::vector< bool > pp_calc_integral
std::vector< bool > need_value_explicit_RHS
std::vector< bool > pp_need_gradient_residual
unsigned int pp_number_of_variables
std::vector< bool > need_hessian_nonexplicit_RHS
std::vector< bool > need_value_nonexplicit_LHS
unsigned int scalar_or_vector_index
std::vector< PDEType > var_eq_type
std::vector< bool > need_value_change_nonexplicit_LHS
std::vector< bool > need_value_residual_explicit_RHS
unsigned int number_of_variables
std::vector< bool > pp_need_value
std::vector< bool > pp_need_hessian
std::vector< bool > need_gradient_nonexplicit_RHS
std::vector< bool > var_nonlinear
std::vector< bool > need_hessian_nonexplicit_LHS
EquationDependencyParser equation_dependency_parser
std::vector< bool > need_hessian_change_nonexplicit_LHS
std::vector< bool > need_gradient_nonexplicit_LHS
std::vector< bool > need_gradient_change_nonexplicit_LHS
std::vector< bool > need_value_nonexplicit_RHS
std::vector< bool > need_value_residual_nonexplicit_LHS
std::vector< bool > need_hessian_explicit_RHS
std::vector< bool > pp_need_value_residual
std::vector< std::string > pp_var_name
std::vector< fieldType > pp_var_type
std::vector< bool > nucleating_variable
std::vector< bool > pp_need_gradient
std::vector< bool > need_value_residual_nonexplicit_RHS
std::vector< bool > need_value_nucleation
unsigned int global_var_index
std::vector< bool > need_gradient_explicit_RHS
std::vector< bool > need_gradient_residual_nonexplicit_LHS
std::vector< bool > need_gradient_residual_nonexplicit_RHS
std::vector< bool > need_gradient_residual_explicit_RHS
std::vector< fieldType > var_type