mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Differentiate materials in DAGMC universes (#3056)
Co-authored-by: Baptiste Mouginot <bam.git.not.reply@gmail.com> Co-authored-by: Patrick Shriwise <pshriwise@gmail.com> Co-authored-by: azimG <azimgivron@yahoo.com> Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
393334829d
commit
5ad1a4aa1e
19 changed files with 1424 additions and 652 deletions
|
|
@ -1303,7 +1303,7 @@ void ProjectionPlot::create_output() const
|
|||
|
||||
int32_t i_surface = std::abs(p.surface()) - 1;
|
||||
if (i_surface > 0 &&
|
||||
model::surfaces[i_surface]->geom_type_ == GeometryType::DAG) {
|
||||
model::surfaces[i_surface]->geom_type() == GeometryType::DAG) {
|
||||
#ifdef DAGMC
|
||||
int32_t i_cell = next_cell(i_surface,
|
||||
p.cell_last(p.n_coord() - 1), p.lowest_coord().universe);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue