mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
refactor MCPL file read part of FileSource
A new constructor is added to FileSource that reads from a given MCPL-file.
This commit is contained in:
parent
3d28170b8a
commit
55f2be19e6
1 changed files with 4 additions and 0 deletions
|
|
@ -426,6 +426,7 @@ MCPLFileSource::MCPLFileSource(std::string path)
|
|||
|
||||
read_source_bank(sites_);
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
|
||||
MCPLFileSource::~MCPLFileSource(){
|
||||
mcpl_close_file(mcpl_file);
|
||||
|
|
@ -495,6 +496,9 @@ SourceSite MCPLFileSource::read_single_particle() const
|
|||
#endif //OPENMC_MCPL
|
||||
=======
|
||||
>>>>>>> 380cfc150b449ef56debb5261caa010a52c42bdd
|
||||
=======
|
||||
#endif
|
||||
>>>>>>> 71568d4f4 (refactor MCPL file read part of FileSource)
|
||||
|
||||
//==============================================================================
|
||||
// Non-member functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue