/[escript]/trunk/paso/src/Functions.h
ViewVC logotype

Annotation of /trunk/paso/src/Functions.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3259 - (hide annotations)
Mon Oct 11 01:48:14 2010 UTC (9 years ago) by jfenwick
File MIME type: text/plain
File size: 1100 byte(s)
Merging dudley and scons updates from branches

1 gross 1476
2     /*******************************************************
3 ksteube 1811 *
4 jfenwick 2881 * Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1811 * Earth Systems Science Computational Center (ESSCC)
6     * http://www.uq.edu.au/esscc
7     *
8     * Primary Business: Queensland, Australia
9     * Licensed under the Open Software License version 3.0
10     * http://www.opensource.org/licenses/osl-3.0.php
11     *
12     *******************************************************/
13 gross 1476
14 ksteube 1811
15 gross 1476 #ifndef INC_PASO_FUNCTIONS
16     #define INC_PASO_FUNCTIONS
17    
18    
19     #include "Common.h"
20 jfenwick 3259 #include "esysUtils/Esys_MPI.h"
21 gross 1804 #include "performance.h"
22 gross 1639
23     enum Paso_FunctionType {
24 gross 2987 LINEAR_SYSTEM,
25     FCT
26 gross 1639 };
27    
28     typedef enum Paso_FunctionType Paso_FunctionType;
29    
30 gross 1476 typedef struct Paso_Function {
31 gross 1639 Paso_FunctionType kind;
32     dim_t n;
33 jfenwick 3259 Esys_MPIInfo *mpi_info;
34 gross 1639 double *b;
35     double *tmp;
36     void *more;
37 gross 1476 } Paso_Function;
38    
39 gross 2987 err_t Paso_FunctionDerivative(double* J0w, const double* w, Paso_Function* F, const double *f0, const double *x0, double* setoff, Paso_Performance *pp);
40 gross 1804 err_t Paso_FunctionCall(Paso_Function * F,double* value, const double* arg, Paso_Performance *pp);
41 gross 2987 void Paso_Function_free(Paso_Function * F);
42 gross 1476
43     #endif

  ViewVC Help
Powered by ViewVC 1.1.26