unitialised field - inconsequential
This commit is contained in:
parent
4cf52812f7
commit
29ff725b7d
1 changed files with 10 additions and 2 deletions
|
@ -150,7 +150,11 @@ chtRcThermalDiffusivityFvPatchScalarField::calcThermalDiffusivity
|
|||
}
|
||||
|
||||
{
|
||||
Field<VectorN<scalar, 4> > lData(neighbour.size());
|
||||
Field<VectorN<scalar, 4> > lData
|
||||
(
|
||||
neighbour.size(),
|
||||
pTraits<VectorN<scalar, 4> >::zero
|
||||
);
|
||||
|
||||
const scalarField& lfNei = neighbour.originalPatchField();
|
||||
scalarField lTcNei = TwOwn.shadowPatchField().patchInternalField();
|
||||
|
@ -266,7 +270,11 @@ chtRcThermalDiffusivityFvPatchScalarField::calcTemperature
|
|||
}
|
||||
|
||||
{
|
||||
Field<VectorN<scalar, 4> > lData(neighbour.size());
|
||||
Field<VectorN<scalar, 4> > lData
|
||||
(
|
||||
neighbour.size(),
|
||||
pTraits<VectorN<scalar, 4> >::zero
|
||||
);
|
||||
|
||||
const scalarField& lfNei =
|
||||
ownerK.shadowPatchField().originalPatchField();
|
||||
|
|
Reference in a new issue