mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Doc string for attribute and a format update.
This commit is contained in:
parent
919634297d
commit
c394030891
2 changed files with 17 additions and 14 deletions
|
|
@ -276,17 +276,17 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
//! Finds all intersections with faces of the mesh.
|
||||
//
|
||||
//! \param[in] start Staring location
|
||||
//! \param[in] dir Normalized particle direction
|
||||
//! \param[in] length of particle track
|
||||
//! \param[out] Mesh intersections
|
||||
void
|
||||
intersect_track(const moab::CartVect& start,
|
||||
const moab::CartVect& dir,
|
||||
double track_len,
|
||||
UnstructuredMeshHits& hits) const;
|
||||
//! Finds all intersections with faces of the mesh.
|
||||
//
|
||||
//! \param[in] start Staring location
|
||||
//! \param[in] dir Normalized particle direction
|
||||
//! \param[in] length of particle track
|
||||
//! \param[out] Mesh intersections
|
||||
void
|
||||
intersect_track(const moab::CartVect& start,
|
||||
const moab::CartVect& dir,
|
||||
double track_len,
|
||||
UnstructuredMeshHits& hits) const;
|
||||
|
||||
//! Calculates the volume for a given tetrahedron handle.
|
||||
//
|
||||
|
|
@ -395,9 +395,10 @@ public:
|
|||
std::string filename_; //<! Path to unstructured mesh file
|
||||
|
||||
private:
|
||||
|
||||
moab::Range ehs_; //!< Range of tetrahedra EntityHandle's in the mesh
|
||||
moab::EntityHandle meshset_; //!< EntitySet containing all Tets/Tris
|
||||
moab::EntityHandle tet_set_;
|
||||
moab::EntityHandle meshset_; //!< EntitySet containing all elements
|
||||
moab::EntityHandle tet_set_; //! < EntitySet containing all tetrahedra
|
||||
moab::EntityHandle kdtree_root_; //!< Root of the MOAB KDTree
|
||||
std::shared_ptr<moab::Interface> mbi_; //!< MOAB instance
|
||||
std::unique_ptr<moab::AdaptiveKDTree> kdtree_; //!< MOAB KDTree instance
|
||||
|
|
|
|||
|
|
@ -2102,7 +2102,6 @@ UnstructuredMesh::write(std::string base_filename) const {
|
|||
|
||||
#endif
|
||||
|
||||
|
||||
//==============================================================================
|
||||
// Non-member functions
|
||||
//==============================================================================
|
||||
|
|
@ -2126,6 +2125,9 @@ void read_meshes(pugi::xml_node root)
|
|||
}
|
||||
else if (mesh_type == "unstructured") {
|
||||
model::meshes.push_back(std::make_unique<UnstructuredMesh>(node));
|
||||
#else
|
||||
else if (mesh_type == "unstructured") {
|
||||
fatal_error("Unstructured mesh support is disabled.");
|
||||
#endif
|
||||
} else {
|
||||
fatal_error("Invalid mesh type: " + mesh_type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue