/[escript]/trunk/dudley/src/Dudley.c
ViewVC logotype

Annotation of /trunk/dudley/src/Dudley.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (hide annotations)
Fri Jan 11 07:45:58 2008 UTC (11 years, 3 months ago) by trankine
Original Path: trunk/finley/src/Finley.c
File MIME type: text/plain
File size: 1779 byte(s)
And get the *(&(*&(* name right
1 jgs 82
2 ksteube 1312 /* $Id$ */
3 jgs 82
4 ksteube 1312 /*******************************************************
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 jgs 82
16     /**************************************************************/
17    
18 ksteube 1312 /* Finley finite element solver */
19 jgs 82
20     /**************************************************************/
21    
22     #include "Finley.h"
23    
24 jgs 150 /* This function returns a time mark */
25     double Finley_timer(void) {
26     return Paso_timer();
27     }
28 jgs 82
29     /* This function checks if the pointer ptr has a target. If not an
30     error is raised and TRUE is returned. */
31 jgs 150 bool_t Finley_checkPtr(void* arg) {
32     return Paso_checkPtr(arg);
33     }
34 jgs 82
35 jgs 150 /* reset the error to NO_ERROR */
36     void Finley_resetError(void) {
37     Paso_resetError();
38     }
39 jgs 82
40 jgs 150 /* sets an error */
41     void Finley_setError(Finley_ErrorCodeType err,char* msg) {
42     Paso_setError(err,msg);
43 jgs 82 }
44    
45 jgs 150 /* checks if there is no error */
46     bool_t Finley_noError(void) {
47     return Paso_noError();
48     }
49    
50     /* return the error code */
51     Finley_ErrorCodeType Finley_getErrorType(void) {
52     return Paso_getErrorType();
53     }
54    
55     /* return the error message */
56     char* Finley_getErrorMessage(void) {
57     return Paso_getErrorMessage();
58     }
59     /* return the error message */
60     void Finley_convertPasoError(void) {
61     /* nothing has to be done here */
62     }
63    
64 bcumming 730 /* checks that there is no error accross all processes in a communicator */
65     /* NOTE : does not make guarentee consistency of error string on each process */
66     bool_t Finley_MPI_noError( Paso_MPIInfo *mpi_info )
67     {
68 ksteube 1312 return Paso_MPIInfo_noError( mpi_info );
69 bcumming 730 }
70 jgs 150
71 bcumming 730

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26