mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Changing mapper constructor due to uninitialized values of
refValues_
This commit is contained in:
@ -54,7 +54,16 @@ surfaceNormalFixedValueFvPatchVectorField
|
||||
fixedValueFvPatchVectorField(p, iF),
|
||||
refValue_(ptf.refValue_, mapper)
|
||||
{
|
||||
fvPatchVectorField::operator=(refValue_*patch().nf());
|
||||
// Note: calculate product only on ptf to avoid multiplication on
|
||||
// unset values in reconstructPar.
|
||||
fixedValueFvPatchVectorField::operator=
|
||||
(
|
||||
vectorField
|
||||
(
|
||||
ptf.refValue_*ptf.patch().nf(),
|
||||
mapper
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user