mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 04:25:29 -04:00
Adding CylindricalIndependent source type
ammended docstrings to mention local reference frame
This commit is contained in:
parent
abe5596cb3
commit
96c7427eaf
9 changed files with 277 additions and 37 deletions
|
|
@ -86,6 +86,8 @@ SourceDistribution::SourceDistribution(pugi::xml_node node)
|
|||
type = get_node_value(node_space, "type", true, true);
|
||||
if (type == "cartesian") {
|
||||
space_ = UPtrSpace{new CartesianIndependent(node_space)};
|
||||
} else if (type == "cylindrical") {
|
||||
space_ = UPtrSpace{new CylindricalIndependent(node_space)};
|
||||
} else if (type == "spherical") {
|
||||
space_ = UPtrSpace{new SphericalIndependent(node_space)};
|
||||
} else if (type == "box") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue