mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Merge branch 'mcpl_input' of github.com:ebknudsen/openmc into mcpl_input
This commit is contained in:
commit
52316095fb
3 changed files with 2 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ void restart_set_keff();
|
|||
void write_unstructured_mesh_results();
|
||||
|
||||
#ifdef OPENMC_MCPL
|
||||
void write_mcpl_source_point(const char *filename_, bool surf_source_bank = false);
|
||||
void write_mcpl_source_point(const char* filename, bool surf_source_bank = false);
|
||||
void write_mcpl_source_bank(mcpl_outfile_t file_id, bool surf_source_bank);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ bool run_CE {true};
|
|||
bool source_latest {false};
|
||||
bool source_separate {false};
|
||||
bool source_write {true};
|
||||
bool source_mcpl_write {true};
|
||||
bool source_mcpl_write {false};
|
||||
bool surf_source_write {false};
|
||||
bool surf_mcpl_write {false};
|
||||
bool surf_source_read {false};
|
||||
|
|
|
|||
|
|
@ -381,7 +381,6 @@ FileSource::FileSource(mcpl_file_t mcpl_file)
|
|||
//mcpl stores time in ms
|
||||
site_.time=mcpl_particle->time*1e-3;
|
||||
site_.wgt=mcpl_particle->weight;
|
||||
site_.delayed_group=0;
|
||||
sites_[i]=site_;
|
||||
}
|
||||
mcpl_close_file(mcpl_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue