mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Address comments on initial PR, all changed other than name of class and the use of python API to combine track outputs
This commit is contained in:
parent
7a3a1876e1
commit
7c40badfbc
11 changed files with 4096 additions and 4111 deletions
|
|
@ -112,11 +112,10 @@ private:
|
|||
UnstructuredMesh* umesh_ptr_;
|
||||
int32_t mesh_map_idx_;
|
||||
std::string sample_scheme_;
|
||||
double total_weight_;
|
||||
double total_strength_;
|
||||
std::vector<double> mesh_CDF_;
|
||||
std::vector<double> mesh_weights_;
|
||||
std::vector<double> mesh_strengths_;
|
||||
int64_t tot_bins_;
|
||||
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -468,9 +468,6 @@ public:
|
|||
static const std::string mesh_type;
|
||||
virtual std::string get_mesh_type() const override;
|
||||
|
||||
//! Sample a tetrahedron for an unstructured mesh
|
||||
virtual Position sample_tet(std::array<Position, 4> coords, uint64_t* seed) const;
|
||||
|
||||
// Overridden Methods
|
||||
// TODO Position sample(uint64_t* seed) const=0;
|
||||
|
||||
|
|
@ -545,6 +542,9 @@ protected:
|
|||
1.0}; //!< Constant multiplication factor to apply to mesh coordinates
|
||||
bool specified_length_multiplier_ {false};
|
||||
|
||||
//! Sample a tetrahedron for an unstructured mesh
|
||||
Position sample_tet(std::array<Position, 4> coords, uint64_t* seed) const;
|
||||
|
||||
private:
|
||||
//! Setup method for the mesh. Builds data structures,
|
||||
//! sets up element mapping, creates bounding boxes, etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue