mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Added internal infrastructure for dlopen based shared object sources
This commit is contained in:
parent
c2ed0ddc75
commit
4fc83ce670
1 changed files with 1 additions and 2 deletions
|
|
@ -312,10 +312,9 @@ void initialize_source()
|
|||
// sample external source distribution
|
||||
simulation::source_bank[i] = sample_source();
|
||||
}
|
||||
|
||||
// release the library
|
||||
dlclose(source_library);
|
||||
|
||||
|
||||
} else {
|
||||
// Generation source sites from specified distribution in user input
|
||||
for (int64_t i = 0; i < simulation::work_per_rank; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue