43 auto &input_fields = *p_input_fields;
46 input_fields.
m_grid->
x_min = field[
"box"][
"x_min"].as<
double>();
47 input_fields.m_grid->x_max = field[
"box"][
"x_max"].as<
double>();
48 input_fields.m_grid->y_min = field[
"box"][
"y_min"].as<
double>();
49 input_fields.m_grid->y_max = field[
"box"][
"y_max"].as<
double>();
50 input_fields.m_grid->z_min = field[
"box"][
"z_min"].as<
double>();
51 input_fields.m_grid->z_max = field[
"box"][
"z_max"].as<
double>();
54 input_fields.m_grid->nx = field[
"cells"].as<std::vector<int>>()[0];
55 input_fields.m_grid->ny = field[
"cells"].as<std::vector<int>>()[1];
56 input_fields.m_grid->nz = field[
"cells"].as<std::vector<int>>()[2];
61 this->
parse(field, p_input_fields);