diff --git a/include/openmc/mesh.h b/include/openmc/mesh.h index d91549d63..7149dfa09 100644 --- a/include/openmc/mesh.h +++ b/include/openmc/mesh.h @@ -318,6 +318,7 @@ public: bool intersects(Position& r0, Position r1, int* ijk); + private: //! Find all intersections with faces of the mesh. @@ -410,59 +411,7 @@ private: std::pair get_score_tags(std::string score) const; -<<<<<<< HEAD // data members -======= -public: - - std::pair, std::vector> - plot(Position plot_ll, Position plot_ur) const override; - - //! Determine which surface bins were crossed by a particle. - // - //! \param[in] p Particle to check - //! \param[out] bins Surface bins that were crossed - void surface_bins_crossed(const Particle* p, std::vector& bins) const; - - //! Write mesh data to an HDF5 group. - // - //! \param[in] group HDF5 group - void to_hdf5(hid_t group) const; - - //! Get bin at a given position. - // - //! \param[in] r Position to get bin for - //! \return Mesh bin - int get_bin(Position r) const; - - std::string get_label_for_bin(int bin) const; - - int n_bins() const override; - - int n_surface_bins() const override; - - Position centroid(moab::EntityHandle tet) const; - - std::string bin_label(int bin) const override; - - //! Add a score to the mesh instance - void add_score(std::string score) const; - - //! Set data for a score - void set_score_data(const std::string& score, - std::vector values, - std::vector std_dev) const; - - //! Write the mesh with any current tally data - void write(std::string base_filename) const; - std::string filename_; //>>>>>> Using a common count_sites implementation. moab::Range ehs_; //!< Range of tetrahedra EntityHandle's in the mesh moab::EntityHandle tetset_; //!< EntitySet containing all tetrahedra moab::EntityHandle kdtree_root_; //!< Root of the MOAB KDTree diff --git a/src/eigenvalue.cpp b/src/eigenvalue.cpp index a27009c00..f5d8a9c80 100644 --- a/src/eigenvalue.cpp +++ b/src/eigenvalue.cpp @@ -585,7 +585,6 @@ double ufs_get_weight(const Particle& p) if (simulation::source_frac(mesh_bin) != 0.0) { return simulation::ufs_mesh->volume_frac_ / simulation::source_frac(mesh_bin); - // return m->get_volume_frac() / simulation::source_frac(mesh_bin); } else { return 1.0; } diff --git a/src/mesh.cpp b/src/mesh.cpp index 856d525f1..dc1f14d6e 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -5,7 +5,6 @@ #include // for ceil #include // for allocator #include -#include #ifdef OPENMC_MPI #include "mpi.h"