PRISMS-PF
v2.1
unit_test_inputs.cc
Go to the documentation of this file.
1
#include "../../include/userInputParameters.h"
2
3
template
<
int
dim>
4
void
load_unit_test_inputs
(
userInputParameters<dim>
& userInputs){
5
userInputs.
domain_size
.push_back(1.0);
6
userInputs.
domain_size
.push_back(1.0);
7
userInputs.
domain_size
.push_back(1.0);
8
userInputs.
degree
= 1;
9
userInputs.
subdivisions
.push_back(10);
10
userInputs.
subdivisions
.push_back(10);
11
userInputs.
subdivisions
.push_back(10);
12
userInputs.
refine_factor
= 3;
13
userInputs.
h_adaptivity
=
false
;
14
userInputs.
max_refinement_level
= 3;
15
userInputs.
min_refinement_level
= 3;
16
userInputs.
refine_criterion_fields
.push_back(0);
17
userInputs.
refine_window_max
.push_back(0.5);
18
userInputs.
refine_window_min
.push_back(0.5);
19
userInputs.
skip_remeshing_steps
= 1;
20
userInputs.
dtValue
= 1;
21
userInputs.
totalIncrements
= 20000;
22
userInputs.
finalTime
= 20.0;
23
userInputs.
skip_print_steps
= 1;
24
userInputs.
output_file_type
=
"vtu"
;
25
userInputs.
nucleation_occurs
=
false
;
26
userInputs.
number_of_variables
= 1;
27
userInputs.
load_ICs
.push_back(
false
);
28
userInputs.
load_parallel_file
.push_back(
false
);
29
userInputs.
load_file_name
.push_back(
"void"
);
30
userInputs.
load_field_name
.push_back(
"void"
);
31
userInputs.
pp_number_of_variables
= 1;
32
userInputs.
postProcessingRequired
=
false
;
33
34
35
36
}
userInputParameters::pp_number_of_variables
unsigned int pp_number_of_variables
Definition:
userInputParameters.h:126
userInputParameters::skip_remeshing_steps
unsigned int skip_remeshing_steps
Definition:
userInputParameters.h:77
userInputParameters::load_file_name
std::vector< std::string > load_file_name
Definition:
userInputParameters.h:118
userInputParameters::load_ICs
std::vector< bool > load_ICs
Definition:
userInputParameters.h:116
userInputParameters::postProcessingRequired
bool postProcessingRequired
Definition:
userInputParameters.h:128
userInputParameters::dtValue
double dtValue
Definition:
userInputParameters.h:87
userInputParameters::skip_print_steps
unsigned int skip_print_steps
Definition:
userInputParameters.h:80
userInputParameters::subdivisions
std::vector< unsigned int > subdivisions
Definition:
userInputParameters.h:64
load_unit_test_inputs
void load_unit_test_inputs(userInputParameters< dim > &userInputs)
Definition:
unit_test_inputs.cc:4
userInputParameters::h_adaptivity
bool h_adaptivity
Definition:
userInputParameters.h:69
userInputParameters::nucleation_occurs
bool nucleation_occurs
Definition:
userInputParameters.h:146
userInputParameters::domain_size
std::vector< double > domain_size
Definition:
userInputParameters.h:60
userInputParameters::load_field_name
std::vector< std::string > load_field_name
Definition:
userInputParameters.h:119
userInputParameters
Definition:
userInputParameters.h:29
userInputParameters::refine_window_min
std::vector< double > refine_window_min
Definition:
userInputParameters.h:75
userInputParameters::refine_window_max
std::vector< double > refine_window_max
Definition:
userInputParameters.h:74
userInputParameters::finalTime
double finalTime
Definition:
userInputParameters.h:88
userInputParameters::max_refinement_level
unsigned int max_refinement_level
Definition:
userInputParameters.h:70
userInputParameters::totalIncrements
unsigned int totalIncrements
Definition:
userInputParameters.h:89
userInputParameters::refine_criterion_fields
std::vector< int > refine_criterion_fields
Definition:
userInputParameters.h:73
userInputParameters::load_parallel_file
std::vector< bool > load_parallel_file
Definition:
userInputParameters.h:117
userInputParameters::output_file_type
std::string output_file_type
Definition:
userInputParameters.h:81
userInputParameters::degree
unsigned int degree
Definition:
userInputParameters.h:66
userInputParameters::number_of_variables
unsigned int number_of_variables
Definition:
userInputParameters.h:98
userInputParameters::min_refinement_level
unsigned int min_refinement_level
Definition:
userInputParameters.h:71
userInputParameters::refine_factor
unsigned int refine_factor
Definition:
userInputParameters.h:65
tests
unit_tests
unit_test_inputs.cc
Generated by
1.8.14