Added New from Istream. Zeljko Tukovic

This commit is contained in:
Hrvoje Jasak 2010-10-19 20:55:46 +01:00
parent 5709b46f15
commit a6308837df

View file

@ -194,6 +194,12 @@ public:
//- Clone
tmp<Field<Type> > clone() const;
//- Return a pointer to a new Field created on freestore
static autoPtr<Field<Type> > New(Istream& is)
{
return autoPtr<Field<Type> >(new Field<Type>(is));
}
//- Return a pointer to a new calculatedFvPatchFieldField created on
// freestore without setting patchField values
template<class Type2>