mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fixing tabs.
This commit is contained in:
parent
5f078b684c
commit
60e57d3ed7
2 changed files with 11 additions and 11 deletions
|
|
@ -73,9 +73,9 @@ void load_dagmc_geometry()
|
|||
to_lower(mat_value);
|
||||
|
||||
if (mat_value == "void" || mat_value == "vacuum") {
|
||||
c->material_.push_back(MATERIAL_VOID);
|
||||
c->material_.push_back(MATERIAL_VOID);
|
||||
} else {
|
||||
c->material_.push_back(std::stoi(mat_value));
|
||||
c->material_.push_back(std::stoi(mat_value));
|
||||
}
|
||||
} else {
|
||||
std::cout << c->id_ << std::endl;
|
||||
|
|
@ -102,18 +102,18 @@ void load_dagmc_geometry()
|
|||
to_lower(bc_value);
|
||||
|
||||
if (bc_value == "transmit" || bc_value == "transmission") {
|
||||
s->bc_ = BC_TRANSMIT;
|
||||
s->bc_ = BC_TRANSMIT;
|
||||
} else if (bc_value == "vacuum") {
|
||||
s->bc_ = BC_VACUUM;
|
||||
s->bc_ = BC_VACUUM;
|
||||
} else if (bc_value == "reflective" || bc_value == "reflect" || bc_value == "reflecting") {
|
||||
s->bc_ = BC_REFLECT;
|
||||
s->bc_ = BC_REFLECT;
|
||||
} else if (bc_value == "periodic") {
|
||||
fatal_error("Periodic boundary condition not supported in DAGMC.");
|
||||
fatal_error("Periodic boundary condition not supported in DAGMC.");
|
||||
} else {
|
||||
std::stringstream err_msg;
|
||||
err_msg << "Unknown boundary condition \"" << s->bc_
|
||||
<< "\" specified on surface " << s->id_;
|
||||
fatal_error(err_msg);
|
||||
std::stringstream err_msg;
|
||||
err_msg << "Unknown boundary condition \"" << s->bc_
|
||||
<< "\" specified on surface " << s->id_;
|
||||
fatal_error(err_msg);
|
||||
}
|
||||
} else { // if no BC property is found, set to transmit
|
||||
s->bc_ = BC_TRANSMIT;
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ void read_settings_xml()
|
|||
|
||||
// DAGMC geometry check
|
||||
if (check_for_node(root, "dagmc")) {
|
||||
dagmc = get_node_value_bool(root, "dagmc");
|
||||
dagmc = get_node_value_bool(root, "dagmc");
|
||||
}
|
||||
|
||||
#ifndef DAGMC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue