mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Geometron (#2744)
This commit is contained in:
parent
971c5f77a5
commit
5549b58e1f
16 changed files with 403 additions and 284 deletions
|
|
@ -121,7 +121,7 @@ struct IdData {
|
|||
IdData(size_t h_res, size_t v_res);
|
||||
|
||||
// Methods
|
||||
void set_value(size_t y, size_t x, const Particle& p, int level);
|
||||
void set_value(size_t y, size_t x, const GeometryState& p, int level);
|
||||
void set_overlap(size_t y, size_t x);
|
||||
|
||||
// Members
|
||||
|
|
@ -133,7 +133,7 @@ struct PropertyData {
|
|||
PropertyData(size_t h_res, size_t v_res);
|
||||
|
||||
// Methods
|
||||
void set_value(size_t y, size_t x, const Particle& p, int level);
|
||||
void set_value(size_t y, size_t x, const GeometryState& p, int level);
|
||||
void set_overlap(size_t y, size_t x);
|
||||
|
||||
// Members
|
||||
|
|
@ -205,7 +205,7 @@ T SlicePlotBase::get_map() const
|
|||
|
||||
#pragma omp parallel
|
||||
{
|
||||
Particle p;
|
||||
GeometryState p;
|
||||
p.r() = xyz;
|
||||
p.u() = dir;
|
||||
p.coord(0).universe = model::root_universe;
|
||||
|
|
@ -291,7 +291,7 @@ private:
|
|||
* find a distance to the boundary in a non-standard surface intersection
|
||||
* check. It's an exhaustive search over surfaces in the top-level universe.
|
||||
*/
|
||||
static int advance_to_boundary_from_void(Particle& p);
|
||||
static int advance_to_boundary_from_void(GeometryState& p);
|
||||
|
||||
/* Checks if a vector of two TrackSegments is equivalent. We define this
|
||||
* to mean not having matching intersection lengths, but rather having
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue