00001
00002
00003
00004
00005 #ifndef PETSCLINEARALGEBRA
00006 #define PETSCLINEARALGEBRA
00007
00008 #include "LinearAlgebraPackage.h"
00009
00010 class PetscLinearAlgebraPackage : public LinearAlgebraPackage {
00011 protected:
00012 PetscLinearAlgebraPackage() {};
00013 virtual ~PetscLinearAlgebraPackage() {};
00014 public:
00015 static PetscLinearAlgebraPackage * soleInstance();
00016 virtual SymMatrix * newSymMatrix( int size, int nnz );
00017 virtual GenMatrix * newGenMatrix( int m, int n, int nnz );
00018 virtual OoqpVector * newVector( int n );
00019 virtual void whatami( char type[32] );
00020 };
00021
00022 #endif