13 j.at(
"problem").at(
"name").get_to(problem_params.
name);
14 j.at(
"problem").at(
"mode").get_to(problem_params.
run_mode);
15 j.at(
"problem").at(
"output_format").get_to(problem_params.
output_format);
19 j.at(
"mesh").at(
"filename").get_to(mesh_params.
mesh_file);
24 j.at(
"angular_treatment")
27 j.at(
"angular_treatment")
29 .get_to(angular_treatment_params.
n_azim);
30 j.at(
"angular_treatment")
32 .get_to(angular_treatment_params.
n_polar);
36 j.at(
"spectral_elements")
39 j.at(
"spectral_elements")
42 j.at(
"spectral_elements").at(
"n_points").get_to(se_params.
n_points);
46 j.at(
"source_iteration").at(
"tolerance").get_to(source_iter_params.
tolerance);
47 j.at(
"source_iteration")
void from_json(const json &j, Material &material)
Get the Material information from the json input.
Parameters from the "angular_treatment" section of the input file.
AngularQuadSet angular_quad_set
Angular quadrature set to use.
unsigned int n_polar
Number of polar quadrature points.
unsigned int n_azim
Number of azimuthal quadrature points.
Parameters from the "mesh" section of the input file.
std::string mesh_file
Path to the gmsh .msh file.
Parameters from the "problem" section of the input file.
OutputFormat output_format
Format results are exported in.
RunMode run_mode
Run mode for the simulation.
std::string name
Problem name.
Parameters from the "source_iteration" section of the input file.
double tolerance
Convergence tolerance for source iteration.
unsigned int max_iterations
Maximum number of source iterations before giving up.
Parameters from the "spectral_elements" section of the input file.
FEFormulation fe_formulation
Finite element formulation to use.
TransportForm transport_form
Form of the transport equation to solve.
unsigned int n_points
Number of points per spectral element.