Added internal infrastructure for dlopen based shared object sources

This commit is contained in:
Andrew Davis 2019-06-13 09:15:21 +01:00 committed by Andrew Davis
parent ae754fa3a8
commit 58d751bfae
4 changed files with 59 additions and 1 deletions

View file

@ -59,6 +59,10 @@ private:
//! Initialize source bank from file/distribution
extern "C" void initialize_source();
// as yet uncreated function to sample a source from a shared object
//
// extern "C" Particle::Bank sample_source();
//! Sample a site from all external source distributions in proportion to their
//! source strength
//! \param[inout] seed Pseudorandom seed pointer