/[escript]/branches/domexper/finley/src/CPPAdapter/SystemMatrixAdapter.cpp
ViewVC logotype

Diff of /branches/domexper/finley/src/CPPAdapter/SystemMatrixAdapter.cpp

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

revision 1311 by gross, Tue May 15 04:24:51 2007 UTC revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 1  Line 1 
1  /*  
2   ******************************************************************************  /* $Id$ */
3   *                                                                            *  
4   *       COPYRIGHT  ACcESS 2004 -  All Rights Reserved                        *  /*******************************************************
5   *                                                                            *   *
6   * This software is the property of ACcESS. No part of this code              *   *           Copyright 2003-2007 by ACceSS MNRF
7   * may be copied in any form or by any means without the expressed written    *   *       Copyright 2007 by University of Queensland
8   * consent of ACcESS.  Copying, use or modification of this software          *   *
9   * by any unauthorised person is illegal unless that person has a software    *   *                http://esscc.uq.edu.au
10   * license agreement with ACcESS.                                             *   *        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   $Id$   *
14  */   *******************************************************/
15    
16  #ifdef PASO_MPI  #ifdef PASO_MPI
17  #include <mpi.h>  #include <mpi.h>
# Line 49  SystemMatrixAdapter::~SystemMatrixAdapte Line 49  SystemMatrixAdapter::~SystemMatrixAdapte
49  {  {
50      if (m_system_matrix.unique()) {      if (m_system_matrix.unique()) {
51          Paso_SystemMatrix* mat=m_system_matrix.get();          Paso_SystemMatrix* mat=m_system_matrix.get();
52          Paso_SystemMatrix_dealloc(mat);          Paso_SystemMatrix_free(mat);
53      }      }
54  }  }
55    
# Line 129  int SystemMatrixAdapter::mapOptionToPaso Line 129  int SystemMatrixAdapter::mapOptionToPaso
129            return PASO_AMG;            return PASO_AMG;
130         case  ESCRIPT_RILU:         case  ESCRIPT_RILU:
131            return PASO_RILU;            return PASO_RILU;
132           case  ESCRIPT_TRILINOS:
133              return PASO_TRILINOS;
134         default:         default:
135             stringstream temp;             stringstream temp;
136             temp << "Error - Cannot map option value "<< option << " onto Paso";             temp << "Error - Cannot map option value "<< option << " onto Paso";

Legend:
Removed from v.1311  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC 1.1.26