Commit b7845ede authored by mattijs's avatar mattijs
Browse files

updated to new thermo

parent 3936da68
......@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
//Info<< ck.specieThermo() << endl;
//Info<< ck.reactions() << endl;
PtrList<chemkinReader::reaction> reactions = ck.reactions();
const SLPtrList<gasReaction>& reactions = ck.reactions();
{
OFstream reactionStream("reactions");
......@@ -70,17 +70,17 @@ int main(int argc, char *argv[])
label nReactions(readLabel(reactionStream));
reactionStream.readBeginList(args.executable().c_str());
PtrList<chemkinReader::reaction> testReactions(nReactions);
PtrList<gasReaction> testReactions(nReactions);
forAll (testReactions, i)
{
testReactions.set
(
i,
chemkinReader::reaction::New
gasReaction::New
(
ck.species(),
ck.specieThermo(),
ck.speciesThermo(),
reactionStream
)
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment