From 42082f428a177ec77da03ed3c187a199363d7491 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Wed, 12 Aug 2009 18:34:17 +0100 Subject: [PATCH] incorrect mapping --- .../oscillatingFixedValueFvPatchField.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.C index e1b4016818f..bb74cddcd23 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); } -- GitLab