Move implementation of get_indices_from_bin to StructuredMesh base class. Refs #1695

This commit is contained in:
aprilnovak 2020-10-15 16:26:36 -05:00
parent 7d0838d27b
commit 45b7dfb5a0
2 changed files with 15 additions and 26 deletions

View file

@ -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;