Skip to content
Snippets Groups Projects
Commit 00f6ea83 authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

TDACChemistryModel::DRG: Corrected comments

Patch contributed by Francesco Contino
parent ca06a453
Branches
Tags
1 merge request!144Integration openfoam.org
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -240,7 +240,7 @@ void Foam::chemistryReductionMethods::DRG<CompType, ThermoType>::reduceMechanism
Q.push(q);
}
// Depth first search with rAB
// Breadth first search with rAB
while (!Q.empty())
{
label u = Q.pop();
......@@ -261,7 +261,7 @@ void Foam::chemistryReductionMethods::DRG<CompType, ThermoType>::reduceMechanism
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
if
(
......
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