mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
remove some in-code comments
This commit is contained in:
parent
8bfb1af81e
commit
727161f95a
1 changed files with 0 additions and 4 deletions
|
|
@ -332,8 +332,6 @@ FileSource::FileSource(std::string path)
|
|||
#ifdef OPENMC_MCPL
|
||||
FileSource::FileSource(mcpl_file_t mcpl_file)
|
||||
{
|
||||
//do checks on the mcpl_file to see if particles are many enough.
|
||||
// should model this on the example source shown in the docs.
|
||||
size_t n_sites=mcpl_hdr_nparticles(mcpl_file);
|
||||
|
||||
sites_.resize(n_sites);
|
||||
|
|
@ -348,8 +346,6 @@ FileSource::FileSource(mcpl_file_t mcpl_file)
|
|||
while ( pdg!=2112 && pdg!=22 && pdg!=11 && pdg!=-11) {
|
||||
mcpl_particle=mcpl_read(mcpl_file);
|
||||
pdg=mcpl_particle->pdgcode;
|
||||
//should check for file exhaustion. This could happen if particles are other than
|
||||
//neutrons, photons, electrons, or positrons.
|
||||
}
|
||||
|
||||
switch(pdg){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue