mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fix non-OpenMP volume calcs, move a brace
This commit is contained in:
parent
2d7c649ed9
commit
248a0fbc80
1 changed files with 3 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ std::vector<VolumeCalculation> volume_calcs;
|
|||
// VolumeCalculation implementation
|
||||
//==============================================================================
|
||||
|
||||
VolumeCalculation::VolumeCalculation(pugi::xml_node node) {
|
||||
VolumeCalculation::VolumeCalculation(pugi::xml_node node)
|
||||
{
|
||||
// Read domain type (cell, material or universe)
|
||||
std::string domain_type = get_node_value(node, "domain_type");
|
||||
if (domain_type == "cell") {
|
||||
|
|
@ -179,6 +180,7 @@ std::vector<VolumeCalculation::Result> VolumeCalculation::execute() const
|
|||
}
|
||||
#else
|
||||
master_indices = indices;
|
||||
master_hits = hits;
|
||||
#endif
|
||||
|
||||
prn_set_stream(STREAM_TRACKING);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue