Changeset 4571da for src/interface/interface_particles_cf.cpp
- Timestamp:
- Apr 27, 2012, 11:34:57 PM (14 years ago)
- Children:
- 1a92cf
- Parents:
- b2154a3
- File:
-
- 1 edited
-
src/interface/interface_particles_cf.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/interface/interface_particles_cf.cpp
rb2154a3 r4571da 59 59 int max_level, max_iterations; 60 60 int pre_smoothing_steps, post_smoothing_steps; 61 int gamma, near_field_cells ;61 int gamma, near_field_cells, discretization_order; 62 62 vmg_float precision; 63 63 std::string lop_str, datafile_str; … … 109 109 gamma = Helper::ToValWithDefault<int>(xml_conf.child_value("gamma"), 1); 110 110 near_field_cells = Helper::ToValWithDefault<int>(xml_conf.child_value("near_field_cells"), 3); 111 discretization_order = Helper::ToValWithDefault<int>(xml_conf.child_value("discretization_order"), 2); 111 112 precision = Helper::ToValWithDefault<vmg_float>(xml_conf.child_value("precision"), 1.0e-7); 112 113 lop_str = xml_conf.child_value("level_operator"); … … 126 127 MG::SetInterface(interface, comm); 127 128 128 Discretization* discretization = new DiscretizationPoissonFD( );129 Discretization* discretization = new DiscretizationPoissonFD(discretization_order); 129 130 discretization->Register("DISCRETIZATION"); 130 131 … … 174 175 std::printf(" Precision: %e\n", precision); 175 176 std::printf(" Near field cells: %d\n", near_field_cells); 177 std::printf(" Discretization order: %d\n", discretization_order); 176 178 } 177 179
Note:
See TracChangeset
for help on using the changeset viewer.
