/[escript]/trunk/esys2/finley/src/finleyC/Finley.h
ViewVC logotype

Diff of /trunk/esys2/finley/src/finleyC/Finley.h

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

revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC
# Line 1  Line 1 
1  /* $Id$ */  /*
2     ******************************************************************************
3     *                                                                            *
4     *       COPYRIGHT  ACcESS 2003,2004,2005 -  All Rights Reserved              *
5     *                                                                            *
6     * This software is the property of ACcESS. No part of this code              *
7     * may be copied in any form or by any means without the expressed written    *
8     * consent of ACcESS.  Copying, use or modification of this software          *
9     * by any unauthorised person is illegal unless that person has a software    *
10     * license agreement with ACcESS.                                             *
11     *                                                                            *
12     ******************************************************************************
13    */
14    
15    
16  #ifndef INC_FINLEY  #ifndef INC_FINLEY
17  #define INC_FINLEY  #define INC_FINLEY
# Line 9  Line 22 
22    
23  /**************************************************************/  /**************************************************************/
24    
 /*   Copyrights by ACcESS Australia, 2003 */  
25  /*   Version: $Id$ */  /*   Version: $Id$ */
26    
27  /**************************************************************/  /**************************************************************/
28    
29  #include "Common.h"  #include "paso/Paso.h"
30    
31  /**************************************************************/  /**************************************************************/
32    
# Line 29  Line 41 
41    
42  /* error codes */  /* error codes */
43    
 enum Finley_ErrorCodeType {  
   NO_ERROR,  
   WARNING,  
   VALUE_ERROR,  
   TYPE_ERROR,  
   MEMORY_ERROR,  
   IO_ERROR,  
   ZERO_DIVISION_ERROR,  
   EOF_ERROR,  
   FLOATING_POINT_ERROR,  
   INDEX_ERROR,  
   OS_ERROR,  
   OVERFLOW_ERROR,  
   SYSTEM_ERROR  
 };  
   
 /* interfaces */  
44    
45  extern enum Finley_ErrorCodeType Finley_ErrorCode;  typedef Paso_ErrorCodeType Finley_ErrorCodeType;
 extern char Finley_ErrorMsg[LenErrorMsg_MAX];  
46    
47    /* interfaces */
48    
49  double Finley_timer(void);  double Finley_timer(void);
50  bool_t Finley_checkPtr(void*);  bool_t Finley_checkPtr(void*);
51    void Finley_resetError(void);
52    void Finley_setError(Finley_ErrorCodeType err,char* msg);
53    bool_t Finley_noError(void);
54    Finley_ErrorCodeType Finley_getErrorType(void);
55    char* Finley_getErrorMessage(void);
56    void Finley_convertPasoError(void);
57    
58  #endif /* #ifndef INC_FINLEY */  #endif /* #ifndef INC_FINLEY */
59    
60  /*  /*
61   * $Log$   * $Log$
62     * Revision 1.3  2005/09/15 03:44:22  jgs
63     * Merge of development branch dev-02 back to main trunk on 2005-09-15
64     *
65     * Revision 1.2.2.1  2005/09/07 06:26:18  gross
66     * the solver from finley are put into the standalone package paso now
67     *
68   * Revision 1.2  2005/07/08 04:07:51  jgs   * Revision 1.2  2005/07/08 04:07:51  jgs
69   * Merge of development branch back to main trunk on 2005-07-08   * Merge of development branch back to main trunk on 2005-07-08
70   *   *

Legend:
Removed from v.123  
changed lines
  Added in v.150

  ViewVC Help
Powered by ViewVC 1.1.26