/[escript]/branches/domexper/dudley/src/Dudley.c
ViewVC logotype

Diff of /branches/domexper/dudley/src/Dudley.c

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

revision 3224 by jfenwick, Wed Sep 29 05:19:37 2010 UTC revision 3227 by jfenwick, Thu Sep 30 06:07:08 2010 UTC
# Line 22  Line 22 
22  /* This function returns a time mark */  /* This function returns a time mark */
23  double Dudley_timer(void)  double Dudley_timer(void)
24  {  {
25      return Paso_timer();      return Esys_timer();
26  }  }
27    
28  /* This function checks if the pointer ptr has a target. If not an  /* This function checks if the pointer ptr has a target. If not an
29     error is raised and TRUE is returned. */     error is raised and TRUE is returned. */
30  bool_t Dudley_checkPtr(void *arg)  bool_t Dudley_checkPtr(void *arg)
31  {  {
32      return Paso_checkPtr(arg);      return Esys_checkPtr(arg);
33  }  }
34    
35  /* reset the error to NO_ERROR */  /* reset the error to NO_ERROR */
36  void Dudley_resetError(void)  void Dudley_resetError(void)
37  {  {
38      Paso_resetError();      Esys_resetError();
39  }  }
40    
41  /* sets an error */  /* sets an error */
42  void Dudley_setError(Dudley_ErrorCodeType err, __const char *msg)  void Dudley_setError(Dudley_ErrorCodeType err, __const char *msg)
43  {  {
44      Paso_setError(err, msg);      Esys_setError(err, msg);
45  }  }
46    
47  /* checks if there is no error */  /* checks if there is no error */
48  bool_t Dudley_noError(void)  bool_t Dudley_noError(void)
49  {  {
50      return Paso_noError();      return Esys_noError();
51  }  }
52    
53  /* return the error code */  /* return the error code */
54  Dudley_ErrorCodeType Dudley_getErrorType(void)  Dudley_ErrorCodeType Dudley_getErrorType(void)
55  {  {
56      return Paso_getErrorType();      return Esys_getErrorType();
57  }  }
58    
59  /* return the error message */  /* return the error message */
60  char *Dudley_getErrorMessage(void)  char *Dudley_getErrorMessage(void)
61  {  {
62      return Paso_getErrorMessage();      return Esys_getErrorMessage();
63  }  }
64    
65  /* return the error message */  /* return the error message */
# Line 70  void Dudley_convertPasoError(void) Line 70  void Dudley_convertPasoError(void)
70    
71  /* checks that there is no error accross all processes in a communicator */  /* checks that there is no error accross all processes in a communicator */
72  /* NOTE : does not make guarentee consistency of error string on each process */  /* NOTE : does not make guarentee consistency of error string on each process */
73  bool_t Dudley_MPI_noError(Paso_MPIInfo * mpi_info)  bool_t Dudley_MPI_noError(Esys_MPIInfo * mpi_info)
74  {  {
75      return Paso_MPIInfo_noError(mpi_info);      return Esys_MPIInfo_noError(mpi_info);
76  }  }

Legend:
Removed from v.3224  
changed lines
  Added in v.3227

  ViewVC Help
Powered by ViewVC 1.1.26