00001 /* @HEADER@ */ 00002 // 00003 /* @HEADER@ */ 00004 00005 #ifndef PLAYA_MATRIXFACTORY_HPP 00006 #define PLAYA_MATRIXFACTORY_HPP 00007 00008 #include "PlayaDefs.hpp" 00009 #include "PlayaLoadableMatrix.hpp" 00010 #include "PlayaLinearOperatorDecl.hpp" 00011 00012 namespace Playa 00013 { 00017 template <class Scalar> 00018 class MatrixFactory 00019 { 00020 public: 00022 virtual ~MatrixFactory(){;} 00023 00025 virtual LinearOperator<Scalar> createMatrix() const = 0 ; 00026 }; 00027 } 00028 00029 #endif