Skip to content

Commit

Permalink
more speed
Browse files Browse the repository at this point in the history
  • Loading branch information
FlanFlanagan committed Feb 19, 2015
1 parent d5eed67 commit 4c10bc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/burnupcalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ fuelBundle burnupcalc(fuelBundle core, int mode, int DA_mode, double delta) {
}*/
}
core.CR = CR_finder(core);
cout << "CR: " << core.CR << endl;
//cout << "CR: " << core.CR << endl;


//update core fluences and CR
Expand Down
10 changes: 5 additions & 5 deletions src/reactor_facility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ void ReactorFacility::Tock() {

// cycle end update
cycle_end_ = ctx->time() + floor(fuel_library_.batch[fuel_library_.batch.size()-1].batch_fluence/(86400*fuel_library_.base_flux*28));
std::cout << "Cycle Months: " << floor(fuel_library_.batch[fuel_library_.batch.size()-1].batch_fluence/(86400*fuel_library_.base_flux*28)) << std::endl;
std::cout << "Cycle Days: " << fuel_library_.batch[fuel_library_.batch.size()-1].batch_fluence/(86400*fuel_library_.base_flux*28) << std::endl;
//std::cout << "Cycle Months: " << floor(fuel_library_.batch[fuel_library_.batch.size()-1].batch_fluence/(86400*fuel_library_.base_flux*28)) << std::endl;
//std::cout << "Cycle Days: " << fuel_library_.batch[fuel_library_.batch.size()-1].batch_fluence/(86400*fuel_library_.base_flux*28) << std::endl;
refuels += 1;


Expand Down Expand Up @@ -261,14 +261,14 @@ void ReactorFacility::Tock() {


/************************output file*********************************/
std::ofstream outfile;
/*std::ofstream outfile;
outfile.open("../output_cyclus_recent.txt", std::ios::app);
outfile << " Cycle length: " << ceil(fuel_library_.batch[fuel_library_.batch.size()-1].batch_fluence/(86400*fuel_library_.base_flux*28)) << " [months]";
outfile << "\r\n\r\n\r\n";
outfile.close();
outfile.close();*/
/************************End of output file**************************/

if(shutdown != true && record == true){
Expand Down Expand Up @@ -579,7 +579,7 @@ double ReactorFacility::blend_next(cyclus::toolkit::ResourceBuff fissle,
cyclus::Material::Ptr mat_temp = cyclus::Material::CreateUntracked(frac, materials[i][0]->comp());
mat->Absorb(mat_temp);
mass_frac -= frac;
std::cout << "Mass Frac " << mass_frac << std::endl;
//std::cout << "Mass Frac " << mass_frac << std::endl;
}
}
}
Expand Down

0 comments on commit 4c10bc3

Please sign in to comment.