fvsPatchFields: Added "value" entry to all types and check on read

This commit is contained in:
Henry
2011-08-11 21:56:55 +01:00
parent 941bd36a0d
commit 44d0fbd594
10 changed files with 13 additions and 57 deletions

View File

@ -128,17 +128,6 @@ tmp<fvsPatchField<Type> > fvsPatchField<Type>::NewCalculatedType
}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
// Write
template<class Type>
void calculatedFvsPatchField<Type>::write(Ostream& os) const
{
fvsPatchField<Type>::write(os);
this->writeEntry("value", os);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam

View File

@ -130,10 +130,6 @@ public:
{
return true;
}
//- Write
virtual void write(Ostream&) const;
};

View File

@ -101,16 +101,6 @@ coupledFvsPatchField<Type>::coupledFvsPatchField
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template<class Type>
void coupledFvsPatchField<Type>::write(Ostream& os) const
{
fvsPatchField<Type>::write(os);
this->writeEntry("value", os);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam

View File

@ -126,10 +126,6 @@ public:
{
return true;
}
//- Write
virtual void write(Ostream&) const;
};

View File

@ -128,14 +128,6 @@ tmp<Field<Type> > fixedValueFvsPatchField<Type>::gradientBoundaryCoeffs() const
}
template<class Type>
void fixedValueFvsPatchField<Type>::write(Ostream& os) const
{
fvsPatchField<Type>::write(os);
this->writeEntry("value", os);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam

View File

@ -158,10 +158,6 @@ public:
virtual tmp<Field<Type> > gradientBoundaryCoeffs() const;
//- Write
virtual void write(Ostream&) const;
// Member operators
virtual void operator=(const UList<Type>&) {}

View File

@ -159,16 +159,6 @@ slicedFvsPatchField<Type>::~slicedFvsPatchField<Type>()
}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template<class Type>
void slicedFvsPatchField<Type>::write(Ostream& os) const
{
fvsPatchField<Type>::write(os);
this->writeEntry("value", os);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam

View File

@ -136,10 +136,6 @@ public:
}
//- Write
virtual void write(Ostream&) const;
// Member operators
virtual void operator=(const UList<Type>&) {}