mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Move n_bins and n_surface_bins implementations to StructuredMesh base class. Refs #1695
This commit is contained in:
parent
9a36ea405a
commit
008a73fa36
2 changed files with 14 additions and 30 deletions
|
|
@ -107,6 +107,10 @@ public:
|
|||
|
||||
int get_bin(Position r) const override;
|
||||
|
||||
int n_bins() const override;
|
||||
|
||||
int n_surface_bins() const override;
|
||||
|
||||
//! Get bin given mesh indices
|
||||
//
|
||||
//! \param[in] Array of mesh indices
|
||||
|
|
@ -175,10 +179,6 @@ public:
|
|||
|
||||
int get_index_in_direction(double r, int i) const override;
|
||||
|
||||
int n_bins() const override;
|
||||
|
||||
int n_surface_bins() const override;
|
||||
|
||||
std::pair<std::vector<double>, std::vector<double>>
|
||||
plot(Position plot_ll, Position plot_ur) const override;
|
||||
|
||||
|
|
@ -217,10 +217,6 @@ public:
|
|||
|
||||
int get_index_in_direction(double r, int i) const override;
|
||||
|
||||
int n_bins() const override;
|
||||
|
||||
int n_surface_bins() const override;
|
||||
|
||||
std::pair<std::vector<double>, std::vector<double>>
|
||||
plot(Position plot_ll, Position plot_ur) const override;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue