/[escript]/branches/diaplayground/ripley/src/RipleySystemMatrix.h
ViewVC logotype

Diff of /branches/diaplayground/ripley/src/RipleySystemMatrix.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5065 by caltinay, Fri Jun 20 05:49:52 2014 UTC revision 5070 by caltinay, Mon Jun 23 03:38:45 2014 UTC
# Line 74  public: Line 74  public:
74      inline int getBlockSize() const { return getRowBlockSize(); }      inline int getBlockSize() const { return getRowBlockSize(); }
75    
76  private:  private:
77      template<class LinearOperator, class Vector>      template<class LinearOperator, class Vector, class Preconditioner>
78      void runSolver(LinearOperator& A, Vector& x, Vector& b,      void runSolver(LinearOperator& A, Vector& x, Vector& b, Preconditioner& M,
79                     escript::SolverBuddy& sb) const;                     escript::SolverBuddy& sb) const;
80    
81      virtual void setToSolution(escript::Data& out, escript::Data& in,      virtual void setToSolution(escript::Data& out, escript::Data& in,
# Line 83  private: Line 83  private:
83    
84      virtual void ypAx(escript::Data& y, escript::Data& x) const;      virtual void ypAx(escript::Data& y, escript::Data& x) const;
85    
86        void checkCUDA();
87    
88        /// GPU device IDs supporting CUDA
89        static std::vector<int> cudaDevices;
90    
91      HostMatrixType mat;      HostMatrixType mat;
92        mutable DeviceMatrixType dmat;
93        mutable bool matrixAltered;
94      //int numRows;      //int numRows;
95      //std::vector<int> offsets;      //std::vector<int> offsets;
96      //std::vector<double> values;      //std::vector<double> values;

Legend:
Removed from v.5065  
changed lines
  Added in v.5070

  ViewVC Help
Powered by ViewVC 1.1.26