Added missing clone functions. Windows port

This commit is contained in:
Hrvoje Jasak 2010-12-10 22:19:48 +00:00
parent e6d4cbc331
commit b64e76b5f9
2 changed files with 20 additions and 0 deletions

View file

@ -756,6 +756,16 @@ public:
lduMatrix(const lduMesh&, Istream&);
//- Clone
autoPtr<lduMatrix> clone() const
{
return autoPtr<lduMatrix>
(
new lduMatrix(*this)
);
}
// Destructor
virtual ~lduMatrix();

View file

@ -232,6 +232,16 @@ public:
fvMatrix(GeometricField<Type, fvPatchField, volMesh>&, Istream&);
//- Clone
tmp<fvMatrix<Type> > clone() const
{
return tmp<fvMatrix<Type> >
(
new fvMatrix<Type>(*this)
);
}
// Destructor
virtual ~fvMatrix();