mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Move implementation of get_indices_from_bin to StructuredMesh base class. Refs #1695
This commit is contained in:
parent
7d0838d27b
commit
45b7dfb5a0
2 changed files with 15 additions and 26 deletions
|
|
@ -122,7 +122,7 @@ public:
|
|||
//
|
||||
//! \param[in] bin Mesh bin
|
||||
//! \param[out] ijk Mesh indices
|
||||
virtual void get_indices_from_bin(int bin, int* ijk) const = 0;
|
||||
virtual void get_indices_from_bin(int bin, int* ijk) const;
|
||||
|
||||
//! Get mesh index in a particular direction
|
||||
//!
|
||||
|
|
@ -160,8 +160,6 @@ public:
|
|||
|
||||
int get_bin(Position r) const override;
|
||||
|
||||
void get_indices_from_bin(int bin, int* ijk) const override;
|
||||
|
||||
int get_index_in_direction(Position r, int i) const override;
|
||||
|
||||
int n_bins() const override;
|
||||
|
|
@ -219,8 +217,6 @@ public:
|
|||
|
||||
int get_bin(Position r) const override;
|
||||
|
||||
void get_indices_from_bin(int bin, int* ijk) const override;
|
||||
|
||||
int get_index_in_direction(Position r, int i) const override;
|
||||
|
||||
int n_bins() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue