diff --git a/src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.C index e1b4016818fc23e4283e03079da9e8123274db94..bb74cddcd233de23b178fe8571dacadadeef509a 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.C @@ -70,7 +70,7 @@ oscillatingFixedValueFvPatchField<Type>::oscillatingFixedValueFvPatchField const fvPatchFieldMapper& mapper ) : - fixedValueFvPatchField<Type>(p, iF), + fixedValueFvPatchField<Type>(ptf, p, iF, mapper), refValue_(ptf.refValue_, mapper), amplitude_(ptf.amplitude_), frequency_(ptf.frequency_), @@ -188,13 +188,12 @@ void oscillatingFixedValueFvPatchField<Type>::updateCoeffs() template<class Type> void oscillatingFixedValueFvPatchField<Type>::write(Ostream& os) const { - fvPatchField<Type>::write(os); + fixedValueFvPatchField<Type>::write(os); refValue_.writeEntry("refValue", os); os.writeKeyword("amplitude") << amplitude_ << token::END_STATEMENT << nl; os.writeKeyword("frequency") << frequency_ << token::END_STATEMENT << nl; - this->writeEntry("value", os); }