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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2881 - (hide annotations)
Thu Jan 28 02:03:15 2010 UTC (9 years, 8 months ago) by jfenwick
File MIME type: text/plain
File size: 1069 byte(s)
Don't panic.
Updating copyright stamps

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     #include "Paso_MPI.h"
21 gross 1804 #include "performance.h"
22 gross 1639
23     enum Paso_FunctionType {
24 gross 1804 LINEAR_SYSTEM
25 gross 1639 };
26    
27     typedef enum Paso_FunctionType Paso_FunctionType;
28    
29 gross 1476 typedef struct Paso_Function {
30 gross 1639 Paso_FunctionType kind;
31     dim_t n;
32 gross 1476 Paso_MPIInfo *mpi_info;
33 gross 1639 double *b;
34     double *tmp;
35     void *more;
36 gross 1476 } Paso_Function;
37    
38 gross 1804 err_t Paso_FunctionDerivative(double* J0w, const double* w, Paso_Function* F, const double *f0, const double *x0, double* setoff, const bool_t w_is_normalized, Paso_Performance *pp);
39     err_t Paso_FunctionCall(Paso_Function * F,double* value, const double* arg, Paso_Performance *pp);
40 gross 1476
41     #endif

  ViewVC Help
Powered by ViewVC 1.1.26