OpenMC/include/openmc/bank.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
945 B
C
Raw Permalink Normal View History

2018-11-15 08:13:14 -06:00
#ifndef OPENMC_BANK_H
#define OPENMC_BANK_H
#include <cstdint>
#include "openmc/particle.h"
#include "openmc/position.h"
#include "openmc/shared_array.h"
#include "openmc/vector.h"
2018-11-15 08:13:14 -06:00
namespace openmc {
//==============================================================================
// Global variables
//==============================================================================
namespace simulation {
2021-04-29 16:23:54 -04:00
extern vector<SourceSite> source_bank;
2018-11-15 08:13:14 -06:00
2021-04-29 16:23:54 -04:00
extern SharedArray<SourceSite> surf_source_bank;
2021-04-29 16:23:54 -04:00
extern SharedArray<SourceSite> fission_bank;
extern vector<int64_t> progeny_per_particle;
2018-11-15 08:13:14 -06:00
} // namespace simulation
2019-02-21 08:32:32 -06:00
//==============================================================================
// Non-member functions
//==============================================================================
void sort_fission_bank();
2019-02-21 08:32:32 -06:00
void free_memory_bank();
void init_fission_bank(int64_t max);
2018-11-15 08:13:14 -06:00
} // namespace openmc
#endif // OPENMC_BANK_H