/[escript]/trunk/paso/src/Options.h
ViewVC logotype

Diff of /trunk/paso/src/Options.h

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

revision 1639 by gross, Mon Jul 14 08:55:25 2008 UTC revision 2074 by phornby, Thu Nov 20 11:02:07 2008 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2008 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  /**************************************************************/  /**************************************************************/
16    
# Line 55  Line 54 
54  #define PASO_AMG 23  #define PASO_AMG 23
55  #define PASO_TRILINOS 24  #define PASO_TRILINOS 24
56  #define PASO_NONLINEAR_GMRES 25  #define PASO_NONLINEAR_GMRES 25
57    #define PASO_TFQMR 26
58    #define PASO_MINRES 27
59    #define PASO_GS 28
60    
61  typedef struct {  typedef struct {
62      index_t method;      index_t method;
# Line 77  typedef struct { Line 78  typedef struct {
78      double drop_storage;      double drop_storage;
79      dim_t truncation;      dim_t truncation;
80      dim_t restart;      dim_t restart;
81        dim_t sweeps;
82        dim_t levels;
83    
84    
85  } Paso_Options;  } Paso_Options;
86    
87  /*  interfaces: */  /*  interfaces: */
88    
89    
90    PASO_DLL_API
91  void Paso_Options_setDefaults(Paso_Options* in);  void Paso_Options_setDefaults(Paso_Options* in);
92    
93  index_t Paso_Options_getPackage(index_t solver,index_t package, bool_t symmetry);  index_t Paso_Options_getPackage(index_t solver,index_t package, bool_t symmetry);
94    
95  index_t Paso_Options_getSolver(index_t solver,index_t package, bool_t symmetry);  index_t Paso_Options_getSolver(index_t solver,index_t package, bool_t symmetry);
96    
97  #define Paso_Options_copy(in,out) memcpy((Paso_Options*)out,(Paso_Options*)in,sizeof(Paso_Options))  #define Paso_Options_copy(in,out) memcpy((Paso_Options*)out,(Paso_Options*)in,sizeof(Paso_Options))
98    
99  #endif /* #ifndef INC_PASO_OPTIONS */  #endif /* #ifndef INC_PASO_OPTIONS */

Legend:
Removed from v.1639  
changed lines
  Added in v.2074

  ViewVC Help
Powered by ViewVC 1.1.26