Initialisation of fields
This commit is contained in:
parent
339882da8b
commit
7dd740bf24
2 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,7 @@ Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
|||
)
|
||||
:
|
||||
zeroGradientFvPatchField<Type>(p, iF),
|
||||
refValue_(p.size())
|
||||
refValue_(p.size(), pTraits<Type>::zero)
|
||||
{}
|
||||
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@ class fixedInternalValueFvPatchField
|
|||
//- Set refValue in internal field
|
||||
void setInInternalField() const;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
|
|
Reference in a new issue