mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Something weird happened during rebase - add back some lines which got removed
This commit is contained in:
parent
4d52218178
commit
82a7ccb16d
1 changed files with 5 additions and 0 deletions
|
|
@ -48,6 +48,11 @@ int main(int argc, char* argv[])
|
|||
openmc::model::universes.clear();
|
||||
openmc::model::universe_map.clear();
|
||||
|
||||
// Update materials (emulate an external program)
|
||||
for (auto& mat_ptr : openmc::model::materials) {
|
||||
mat_ptr->set_temperature(300);
|
||||
}
|
||||
|
||||
// Create new DAGMC universe
|
||||
openmc::model::universes.push_back(
|
||||
std::make_unique<openmc::DAGUniverse>(dag_ptr));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue