Fixed write: double entry

This commit is contained in:
Hrvoje Jasak 2013-04-15 12:49:41 +01:00
parent f044308f80
commit c9d149aea2

View file

@ -184,7 +184,7 @@ tmp<scalarField> waveTransmissiveFvPatchField<Type>::supercritical() const
template<class Type> template<class Type>
void waveTransmissiveFvPatchField<Type>::write(Ostream& os) const void waveTransmissiveFvPatchField<Type>::write(Ostream& os) const
{ {
advectiveFvPatchField<Type>::write(os); fvPatchField<Type>::write(os);
if (this->phiName_ != "phi") if (this->phiName_ != "phi")
{ {
os.writeKeyword("phi") << this->phiName_ << token::END_STATEMENT << nl; os.writeKeyword("phi") << this->phiName_ << token::END_STATEMENT << nl;