# Diff of /trunk/escript/src/AbstractSystemMatrix.cpp

trunk/escript/src/AbstractSystemMatrix.cpp revision 969 by ksteube, Tue Feb 13 23:02:23 2007 UTC temp/escript/src/AbstractSystemMatrix.cpp revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC
# Line 1  Line 1
1  // \$Id\$
2  /*  /* \$Id\$ */
3   ************************************************************
4   *          Copyright 2006 by ACcESS MNRF                   *  /*******************************************************
5   *                                                          *   *
6   *              http://www.access.edu.au                    *   *           Copyright 2003-2007 by ACceSS MNRF
7   *       Primary Business: Queensland, Australia            *   *       Copyright 2007 by University of Queensland
8   *  Licensed under the Open Software License version 3.0    *   *
9   *     http://www.opensource.org/licenses/osl-3.0.php       *   *                http://esscc.uq.edu.au
10   *                                                          *   *        Primary Business: Queensland, Australia
11   ************************************************************   *  Licensed under the Open Software License version 3.0
12  */   *     http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15
16  #include "AbstractSystemMatrix.h"  #include "AbstractSystemMatrix.h"
17  #include "DataException.h"  #include "DataException.h"
# Line 75  void AbstractSystemMatrix::ypAx(Data& y, Line 77  void AbstractSystemMatrix::ypAx(Data& y,
77
78  Data AbstractSystemMatrix::solve(Data& in,const boost::python::dict& options) const  Data AbstractSystemMatrix::solve(Data& in,const boost::python::dict& options) const
79  {  {
printf("ksteube in escript/src/AbstractSystemMatrix.cpp : solve()\n");
80       if (isEmpty())       if (isEmpty())
81            throw SystemMatrixException("Error - Matrix is empty.");            throw SystemMatrixException("Error - Matrix is empty.");
82       if (in.getFunctionSpace()!=getRowFunctionSpace())       if (in.getFunctionSpace()!=getRowFunctionSpace())

Legend:
 Removed from v.969 changed lines Added in v.1387