mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: FreeStream.C : unitialised 0 element
This commit is contained in:
@ -220,6 +220,7 @@ void Foam::FreeStream<CloudType>::inflow()
|
||||
|
||||
// Cumulative triangle area fractions
|
||||
List<scalar> cTriAFracs(nVertices);
|
||||
cTriAFracs[0] = 0.0;
|
||||
|
||||
for (label v = 0; v < nVertices - 1; v++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user