Skip to content

Commit

Permalink
yay for speed!
Browse files Browse the repository at this point in the history
  • Loading branch information
FlanFlanagan committed Feb 19, 2015
1 parent 4c10bc3 commit ec9198f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
19 changes: 0 additions & 19 deletions output_cyclus_recent.txt

This file was deleted.

4 changes: 2 additions & 2 deletions src/burnupcalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ fuelBundle burnupcalc(fuelBundle core, int mode, int DA_mode, double delta) {
//cout << "Discharge burnup: " << burnup << endl;

/************************output file*********************************/
std::ofstream outfile;
/*std::ofstream outfile;
outfile.open("../output_cyclus_recent.txt", std::ios::app);
outfile << "Discharge burnup: " << burnup;
Expand All @@ -622,7 +622,7 @@ fuelBundle burnupcalc(fuelBundle core, int mode, int DA_mode, double delta) {
outfile << "\r\n";
outfile.close();
outfile.close();*/
/************************End of output file**************************/


Expand Down
6 changes: 3 additions & 3 deletions src/reactor_facility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void ReactorFacility::Tick() {
}*/

/************************output file*********************************/
std::ofstream outfile("../output_cyclus_recent.txt");
/*std::ofstream outfile("../output_cyclus_recent.txt");
outfile << "Fuel library name: " << fuel_library_.name << "\r\n";
outfile << "Batches: " << batches << "\r\n";
Expand All @@ -128,7 +128,7 @@ void ReactorFacility::Tick() {
outfile << "Base power: " << fuel_library_.base_power << "\r\n";
outfile << "Base mass: " << fuel_library_.base_mass << "\r\n\r\n\r\n";
outfile.close();
outfile.close();*/
/************************End of output file*********************************/

//read list of isotopes for conversion ratio calculation
Expand Down Expand Up @@ -410,7 +410,7 @@ void ReactorFacility::AcceptMatlTrades(const std::vector< std::pair<cyclus::Trad
cyclus::CompMap::iterator cit;

/************************output file*********************************/
std::ofstream outfile;
/*std::ofstream outfile;
outfile.open("../output_cyclus_recent.txt", std::ios::app);
outfile << "Composition of fresh batch:\r\n";
Expand Down

0 comments on commit ec9198f

Please sign in to comment.