mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Prepare point query data structures on meshes when applying Weight Windows (#3157)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
c285a2c4ce
commit
9070b8b220
8 changed files with 53 additions and 13 deletions
|
|
@ -83,8 +83,8 @@ public:
|
|||
virtual ~Mesh() = default;
|
||||
|
||||
// Methods
|
||||
//! Perform any preparation needed to support use in mesh filters
|
||||
virtual void prepare_for_tallies() {};
|
||||
//! Perform any preparation needed to support point location within the mesh
|
||||
virtual void prepare_for_point_location() {};
|
||||
|
||||
//! Update a position to the local coordinates of the mesh
|
||||
virtual void local_coords(Position& r) const {};
|
||||
|
|
@ -737,7 +737,7 @@ public:
|
|||
// Overridden Methods
|
||||
|
||||
//! Perform any preparation needed to support use in mesh filters
|
||||
void prepare_for_tallies() override;
|
||||
void prepare_for_point_location() override;
|
||||
|
||||
Position sample_element(int32_t bin, uint64_t* seed) const override;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue