66
77#include < cstdint>
88#include < string>
9-
9+ # include < vector >
1010
1111namespace openmc {
1212
1313// ==============================================================================
1414// ! Replace Universe, Lattice, and Material IDs with indices.
1515// ==============================================================================
1616
17- extern " C " void adjust_indices ();
17+ void adjust_indices ();
1818
1919// ==============================================================================
2020// ! Assign defaults to cells with undefined temperatures.
2121// ==============================================================================
2222
23- extern " C" void assign_temperatures ();
23+ void assign_temperatures ();
24+
25+ // ==============================================================================
26+ // ! \brief Obtain a list of temperatures that each nuclide/thermal scattering
27+ // ! table appears at in the model. Later, this list is used to determine the
28+ // ! actual temperatures to read (which may be different if interpolation is
29+ // ! used)
30+ // !
31+ // ! \param[out] nuc_temps Vector of temperatures for each nuclide
32+ // ! \param[out] thermal_temps Vector of tempratures for each thermal scattering
33+ // ! table
34+ // ==============================================================================
35+
36+ void get_temperatures (std::vector<std::vector<double >>& nuc_temps,
37+ std::vector<std::vector<double >>& thermal_temps);
38+
39+ // ==============================================================================
40+ // ! \brief Perform final setup for geometry
41+ // !
42+ // ! \param[out] nuc_temps Vector of temperatures for each nuclide
43+ // ! \param[out] thermal_temps Vector of tempratures for each thermal scattering
44+ // ! table
45+ // ==============================================================================
46+
47+ void finalize_geometry (std::vector<std::vector<double >>& nuc_temps,
48+ std::vector<std::vector<double >>& thermal_temps);
2449
2550// ==============================================================================
2651// ! Figure out which Universe is the root universe.
@@ -36,7 +61,7 @@ extern "C" int32_t find_root_universe();
3661// ! Populate all data structures needed for distribcells.
3762// ==============================================================================
3863
39- extern " C " void prepare_distribcell ();
64+ void prepare_distribcell ();
4065
4166// ==============================================================================
4267// ! Recursively search through the geometry and count cell instances.
0 commit comments