mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Merge pull request #1398 from eepeterson/spherical_source
Spherical source
This commit is contained in:
commit
21a8557360
11 changed files with 296 additions and 13 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 == "spherical") {
|
||||
space_ = UPtrSpace{new SphericalIndependent(node_space)};
|
||||
} else if (type == "box") {
|
||||
space_ = UPtrSpace{new SpatialBox(node_space)};
|
||||
} else if (type == "fission") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue