mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
New changes to spatial distribution and source to include mesh sources. Made some edits suggested by Shriwise, now compiles successfully
This commit is contained in:
parent
238ab5210e
commit
80077ed3fd
4 changed files with 50 additions and 2 deletions
|
|
@ -94,6 +94,8 @@ IndependentSource::IndependentSource(pugi::xml_node node)
|
|||
space_ = UPtrSpace {new CylindricalIndependent(node_space)};
|
||||
} else if (type == "spherical") {
|
||||
space_ = UPtrSpace {new SphericalIndependent(node_space)};
|
||||
} else if (type =="mesh"){
|
||||
space_ = UPtrSpace {new MeshIndependent(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