Skip to content
Snippets Groups Projects
Commit 17da217f authored by BaM's avatar BaM
Browse files

fix ConvertMasstoLambda

parent b9ca9a07
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,16 @@ void EquivalenceModel::StocksTotalMassCalculation(map < string , vector <Isotopi
void EquivalenceModel::ConvertMassToLambdaVector(string MaterialDenomination, vector<double>& lambda, double MaterialMassNeeded, vector <IsotopicVector> Stocks)
{
DBGL
if(Stocks.size == 0)
{
return;
}
if(Stocks.size != lambda.size())
{
ERROR << "Stocks vector size MUST be the same as lamba size!!" << endl;
exit(1);
}
double Lambda_tot = 0;
// Calculation of Lambda tot associated to the required mass MaterialMassNeeded
......
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