/[escript]/branches/trilinos_from_5897/escriptcore/src/DataMaths.cpp
ViewVC logotype

Diff of /branches/trilinos_from_5897/escriptcore/src/DataMaths.cpp

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

revision 5962 by caltinay, Fri Feb 5 03:37:49 2016 UTC revision 5963 by caltinay, Mon Feb 22 06:59:27 2016 UTC
# Line 39  namespace DataMaths Line 39  namespace DataMaths
39  {  {
40    
41    void    void
42    matMult(const DataTypes::ValueType& left,    matMult(const DataTypes::RealVectorType& left,
43        const DataTypes::ShapeType& leftShape,        const DataTypes::ShapeType& leftShape,
44        DataTypes::ValueType::size_type leftOffset,        DataTypes::RealVectorType::size_type leftOffset,
45            const DataTypes::ValueType& right,            const DataTypes::RealVectorType& right,
46        const DataTypes::ShapeType& rightShape,        const DataTypes::ShapeType& rightShape,
47        DataTypes::ValueType::size_type rightOffset,        DataTypes::RealVectorType::size_type rightOffset,
48            DataTypes::ValueType& result,            DataTypes::RealVectorType& result,
49        const DataTypes::ShapeType& resultShape)        const DataTypes::ShapeType& resultShape)
50     {     {
51        using namespace escript::DataTypes;        using namespace escript::DataTypes;
# Line 207  void matrixInverseError(int err) Line 207  void matrixInverseError(int err)
207    
208  // Copied from the python version in util.py  // Copied from the python version in util.py
209  int  int
210  matrix_inverse(const DataTypes::ValueType& in,  matrix_inverse(const DataTypes::RealVectorType& in,
211          const DataTypes::ShapeType& inShape,          const DataTypes::ShapeType& inShape,
212              DataTypes::ValueType::size_type inOffset,              DataTypes::RealVectorType::size_type inOffset,
213              DataTypes::ValueType& out,              DataTypes::RealVectorType& out,
214          const DataTypes::ShapeType& outShape,          const DataTypes::ShapeType& outShape,
215              DataTypes::ValueType::size_type outOffset,              DataTypes::RealVectorType::size_type outOffset,
216          int count,          int count,
217          LapackInverseHelper& helper)          LapackInverseHelper& helper)
218  {  {

Legend:
Removed from v.5962  
changed lines
  Added in v.5963

  ViewVC Help
Powered by ViewVC 1.1.26