mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use forAllIter, forAllConstIter instead of long-hand version
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
This commit is contained in:
@ -51,7 +51,6 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
# include "setRootCase.H"
|
||||
|
||||
# include "createTime.H"
|
||||
|
||||
Info<< nl << "Reading Burcat data IOdictionary" << endl;
|
||||
@ -119,17 +118,11 @@ int main(int argc, char *argv[])
|
||||
);
|
||||
|
||||
|
||||
for
|
||||
(
|
||||
SLPtrList<thermo>::iterator EQreactionsIter = EQreactions.begin();
|
||||
EQreactionsIter != EQreactions.end();
|
||||
++EQreactionsIter
|
||||
)
|
||||
forAllConstIter(SLPtrList<thermo>, EQreactions, iter)
|
||||
{
|
||||
Info<< "Kc(EQreactions) = " << EQreactionsIter().Kc(T) << endl;
|
||||
Info<< "Kc(EQreactions) = " << iter().Kc(T) << endl;
|
||||
}
|
||||
|
||||
|
||||
Info<< nl << "end" << endl;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user