mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Removing explicit keyword from empty constructors.
This commit is contained in:
parent
3c12328bc3
commit
dc4f56ed0c
2 changed files with 7 additions and 5 deletions
|
|
@ -113,7 +113,6 @@ public:
|
|||
explicit Cell(pugi::xml_node cell_node);
|
||||
Cell() {};
|
||||
|
||||
|
||||
//! \brief Determine if a cell contains the particle at a given location.
|
||||
//!
|
||||
//! The bounds of the cell are detemined by a logical expression involving
|
||||
|
|
@ -144,6 +143,7 @@ public:
|
|||
//! @param group_id An HDF5 group id.
|
||||
virtual void to_hdf5(hid_t group_id) const = 0;
|
||||
|
||||
virtual ~Cell() {}
|
||||
};
|
||||
|
||||
class CSGCell : public Cell
|
||||
|
|
@ -162,6 +162,8 @@ public:
|
|||
|
||||
void to_hdf5(hid_t group_id) const;
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
bool contains_simple(Position r, Direction u, int32_t on_surface) const;
|
||||
bool contains_complex(Position r, Direction u, int32_t on_surface) const;
|
||||
|
|
@ -172,7 +174,7 @@ class DAGCell : public Cell
|
|||
{
|
||||
public:
|
||||
moab::DagMC *dagmc_ptr_;
|
||||
explicit DAGCell();
|
||||
DAGCell();
|
||||
|
||||
std::pair<double, int32_t> distance(Position p, Direction u, int32_t on_surface) const;
|
||||
bool contains(Position p, Direction u, int32_t on_surface) const;
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ public:
|
|||
std::vector<int> neighbor_neg_; //!< List of cells on negative side
|
||||
|
||||
explicit Surface(pugi::xml_node surf_node);
|
||||
explicit Surface();
|
||||
Surface();
|
||||
|
||||
virtual ~Surface() {}
|
||||
|
||||
|
|
@ -124,7 +124,7 @@ class CSGSurface : public Surface
|
|||
{
|
||||
public:
|
||||
explicit CSGSurface(pugi::xml_node surf_node);
|
||||
explicit CSGSurface();
|
||||
CSGSurface();
|
||||
|
||||
void to_hdf5(hid_t group_id) const;
|
||||
|
||||
|
|
@ -140,7 +140,7 @@ class DAGSurface : public Surface
|
|||
{
|
||||
public:
|
||||
moab::DagMC* dagmc_ptr_;
|
||||
explicit DAGSurface();
|
||||
DAGSurface();
|
||||
double evaluate(Position p) const;
|
||||
double distance(Position p, Direction u,
|
||||
bool coincident) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue