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

Contents of /trunk/finley/src/Finley.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1312 - (show annotations)
Mon Sep 24 06:18:44 2007 UTC (11 years, 11 months ago) by ksteube
File MIME type: text/plain
File size: 1779 byte(s)
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.

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 /**************************************************************/
17
18 /* Finley finite element solver */
19
20 /**************************************************************/
21
22 #include "Finley.h"
23
24 /* This function returns a time mark */
25 double Finley_timer(void) {
26 return Paso_timer();
27 }
28
29 /* This function checks if the pointer ptr has a target. If not an
30 error is raised and TRUE is returned. */
31 bool_t Finley_checkPtr(void* arg) {
32 return Paso_checkPtr(arg);
33 }
34
35 /* reset the error to NO_ERROR */
36 void Finley_resetError(void) {
37 Paso_resetError();
38 }
39
40 /* sets an error */
41 void Finley_setError(Finley_ErrorCodeType err,char* msg) {
42 Paso_setError(err,msg);
43 }
44
45 /* 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 /* 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 return Paso_MPIInfo_noError( mpi_info );
69 }
70
71

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26