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