STY: Fixing style

This commit is contained in:
sergio
2016-06-03 08:46:19 -07:00
parent 6a49568b8d
commit 700222e642
2 changed files with 14 additions and 23 deletions

View File

@ -202,12 +202,9 @@ Foam::reactionsSensitivityAnalysis<chemistryType>::reactionsSensitivityAnalysis
read(dict); read(dict);
if (mesh_.nCells() != 1) if (mesh_.nCells() != 1)
{ {
FatalErrorIn FatalErrorInFunction
( << "Function object only applicable to single cell cases "
"Foam::reactionsSensitivityAnalysis::" << abort(FatalError);
"reactionsSensitivityAnalysis()"
) << "Function object only applicable to single cell cases "
<< endl;
} }
if (mesh_.foundObject<basicChemistryModel>("chemistryProperties")) if (mesh_.foundObject<basicChemistryModel>("chemistryProperties"))
@ -248,12 +245,9 @@ Foam::reactionsSensitivityAnalysis<chemistryType>::reactionsSensitivityAnalysis
} }
else else
{ {
FatalErrorIn FatalErrorInFunction
( << " Not chemistry model found. "
"void Foam::reactionsSensitivityAnalysis::" << " Object available are : " << mesh_.names()
"reactionsSensitivityAnalysis()"
) << " Not chemistry model found "
<< " The object available are : " << mesh_.names()
<< exit(FatalError); << exit(FatalError);
} }
} }
@ -274,8 +268,7 @@ void Foam::reactionsSensitivityAnalysis<chemistryType>::read
( (
const dictionary& dict const dictionary& dict
) )
{ {}
}
template<class chemistryType> template<class chemistryType>
@ -288,7 +281,6 @@ void Foam::reactionsSensitivityAnalysis<chemistryType>::execute()
( (
"chemistryProperties" "chemistryProperties"
); );
calculateSpeciesRR(chemistry); calculateSpeciesRR(chemistry);
} }
@ -322,7 +314,6 @@ void Foam::reactionsSensitivityAnalysis<chemistryType>::write()
writeSpeciesRR(); writeSpeciesRR();
startTime_ = endTime_; startTime_ = endTime_;
} }
} }

View File

@ -36,7 +36,7 @@ Description
"consumptionInt" : integral between dumps of the consumption rate "consumptionInt" : integral between dumps of the consumption rate
The function object indicates reaction rates of creation or destruction The function object indicates reaction rates of creation or destruction
of spcecies in each reaction. of species in each reaction.
SourceFiles SourceFiles