Skip to content
Snippets Groups Projects
Commit 881ba5e2 authored by Baptiste LENIAU's avatar Baptiste LENIAU
Browse files

Solve a round error leading not to load the reactor ...

git-svn-id: svn+ssh://svn.in2p3.fr/class@721 0e7d625b-0364-4367-a6be-d5be4a48d228
parent 8abfe30d
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,9 @@ DBGL
double R_BU = R_Fuel.second;
double R_Power = GetParc()->GetReactor()[ReactorId]->GetPower();
double R_HMMass = GetParc()->GetReactor()[ReactorId]->GetHeavyMetalMass();
cSecond R_CycleTime = cSecond (R_BU / R_Power * R_HMMass * 1e9 *3600*24);
cSecond R_CycleTime = (cSecond) (R_BU*1e9 / (R_Power) * R_HMMass * 3600 * 24);
if( R_CycleTime < GetCycleTime())
{
ERROR << "Reactor Cycle Time is shorter than Fabrication Time of the fuel, we cannot deal it upto now!!!" << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment