Added New from Istream. Zeljko Tukovic
This commit is contained in:
parent
5709b46f15
commit
a6308837df
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue