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

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

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

revision 1311 by gross, Mon Mar 26 06:17:53 2007 UTC revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 1  Line 1 
 /*  
  ************************************************************  
  *          Copyright 2006 by ACcESS MNRF                   *  
  *                                                          *  
  *              http://www.access.edu.au                    *  
  *       Primary Business: Queensland, Australia            *  
  *  Licensed under the Open Software License version 3.0    *  
  *     http://www.opensource.org/licenses/osl-3.0.php       *  
  *                                                          *  
  ************************************************************  
 */  
1    
2    /* $Id$ */
3    
4    /*******************************************************
5     *
6     *           Copyright 2003-2007 by ACceSS MNRF
7     *       Copyright 2007 by University of Queensland
8     *
9     *                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  #ifndef INC_FINLEY  #ifndef INC_FINLEY
17  #define INC_FINLEY  #define INC_FINLEY
# Line 20  Line 22 
22    
23  /**************************************************************/  /**************************************************************/
24    
 /*   Version: $Id$ */  
   
 /**************************************************************/  
   
25  #include "paso/Paso.h"  #include "paso/Paso.h"
26    #include "paso/Paso_MPI.h"
27    
28  /**************************************************************/  /**************************************************************/
29  /*#define Finley_TRACE */  /*#define Finley_TRACE */
30  #define FINLEY_UNKNOWN -1  #define FINLEY_UNKNOWN -1
 #define FINLEY_UNPREPARED -3  
 #define FINLEY_PREPARED -2  
31  #define FINLEY_DEGREES_OF_FREEDOM 1  #define FINLEY_DEGREES_OF_FREEDOM 1
32  #define FINLEY_NODES 3  #define FINLEY_NODES 3
33  #define FINLEY_ELEMENTS 4  #define FINLEY_ELEMENTS 4
# Line 50  typedef int Finley_Status_t; Line 47  typedef int Finley_Status_t;
47  #define Finley_increaseStatus(self) ((self)->status)++  #define Finley_increaseStatus(self) ((self)->status)++
48  #define FINLEY_INITIAL_STATUS 0  #define FINLEY_INITIAL_STATUS 0
49    
 #ifdef PASO_MPI  
 #define FINLEY_INIT_ITEMSIZE (sizeof(double)*8)  
 #define FINLEY_NODE_TAG 0;  
 #define FINLEY_ELEMENT_TAG 10000;  
 extern int __g_nodeTag;  
 extern int __g_elementTag;  
 #endif  
   
50  /* error codes */  /* error codes */
51    
52    
# Line 73  bool_t Finley_noError(void); Line 62  bool_t Finley_noError(void);
62  Finley_ErrorCodeType Finley_getErrorType(void);  Finley_ErrorCodeType Finley_getErrorType(void);
63  char* Finley_getErrorMessage(void);  char* Finley_getErrorMessage(void);
64  void Finley_convertPasoError(void);  void Finley_convertPasoError(void);
   
 #ifdef PASO_MPI  
65  bool_t Finley_MPI_noError( Paso_MPIInfo *mpi_info );  bool_t Finley_MPI_noError( Paso_MPIInfo *mpi_info );
 #endif  
66    
67  #endif /* #ifndef INC_FINLEY */  #endif /* #ifndef INC_FINLEY */
68    

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

  ViewVC Help
Powered by ViewVC 1.1.26