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:
Baptiste Mouginot 2025-01-07 22:50:02 +01:00 committed by GitHub
parent 393334829d
commit 5ad1a4aa1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 1424 additions and 652 deletions

View file

@ -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);