Commit 07a1240e authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

TDACChemistryModel::DRG: Corrected comments

Patch contributed by Francesco Contino
parent 1f967d5c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -240,7 +240,7 @@ void Foam::chemistryReductionMethods::DRG<CompType, ThermoType>::reduceMechanism ...@@ -240,7 +240,7 @@ void Foam::chemistryReductionMethods::DRG<CompType, ThermoType>::reduceMechanism
Q.push(q); Q.push(q);
} }
// Depth first search with rAB // Breadth first search with rAB
while (!Q.empty()) while (!Q.empty())
{ {
label u = Q.pop(); label u = Q.pop();
...@@ -261,7 +261,7 @@ void Foam::chemistryReductionMethods::DRG<CompType, ThermoType>::reduceMechanism ...@@ -261,7 +261,7 @@ void Foam::chemistryReductionMethods::DRG<CompType, ThermoType>::reduceMechanism
rAB = 1; rAB = 1;
} }
// Do a DFS on B only if rAB is above the tolerance and if the // Include B only if rAB is above the tolerance and if the
// species was not searched before // species was not searched before
if if
( (
......
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