mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Updating name of Universer counter class.
This commit is contained in:
parent
cc6822f171
commit
4860bd5ed2
3 changed files with 17 additions and 17 deletions
|
|
@ -10,21 +10,21 @@
|
|||
#include <map>
|
||||
|
||||
namespace openmc {
|
||||
struct CellCountStorage {
|
||||
struct UniverseCellCounter {
|
||||
private:
|
||||
CellCountStorage() {}
|
||||
CellCountStorage(CellCountStorage& c) {}
|
||||
CellCountStorage(const CellCountStorage& c) {}
|
||||
UniverseCellCounter() {}
|
||||
UniverseCellCounter(UniverseCellCounter& c) {}
|
||||
UniverseCellCounter(const UniverseCellCounter& c) {}
|
||||
|
||||
static CellCountStorage* instance_;
|
||||
static UniverseCellCounter* instance_;
|
||||
|
||||
std::map<int32_t, std::map<int32_t, int>> counts;
|
||||
|
||||
public:
|
||||
|
||||
static CellCountStorage* instance() {
|
||||
static UniverseCellCounter* instance() {
|
||||
if (instance_ == nullptr)
|
||||
instance_ = new CellCountStorage;
|
||||
instance_ = new UniverseCellCounter;
|
||||
|
||||
return instance_;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue