fix error message

This commit is contained in:
Daniel
2018-07-23 12:14:52 +02:00
committed by GitHub
parent 9cf940661a
commit c47584d6de

View File

@ -72,7 +72,7 @@ bigParticleVoidFraction::bigParticleVoidFraction
Info << "\n\n W A R N I N G - this model does not yet work properly! \n\n" << endl;
//reading maxCellsPerParticle from dictionary
maxCellsPerParticle_=readLabel(propsDict_.lookup("maxCellsPerParticle"));
if(alphaMin_ > 1 || alphaMin_ < 0.01){ FatalError<< "alphaMin shloud be > 1 and < 0.01." << abort(FatalError); }
if(alphaMin_ > 1 || alphaMin_ < 0.01) { FatalError << "alphaMin must have a value between 0.01 and 1.0." << abort(FatalError); }
checkWeightNporosity(propsDict_);
}