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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4154 - (hide annotations)
Tue Jan 22 09:30:23 2013 UTC (6 years, 9 months ago) by jfenwick
File MIME type: text/plain
File size: 1212 byte(s)
Round 1 of copyright fixes
1 gross 1476
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 jfenwick 4154 * Copyright (c) 2003-2013 by University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8     * Licensed under the Open Software License version 3.0
9     * http://www.opensource.org/licenses/osl-3.0.php
10     *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12     * Development since 2012 by School of Earth Sciences
13     *
14     *****************************************************************************/
15 gross 1476
16 ksteube 1811
17 gross 1476 #ifndef INC_PASO_FUNCTIONS
18     #define INC_PASO_FUNCTIONS
19    
20    
21     #include "Common.h"
22 jfenwick 3259 #include "esysUtils/Esys_MPI.h"
23 gross 1804 #include "performance.h"
24 gross 1639
25     enum Paso_FunctionType {
26 gross 3793 LINEAR_SYSTEM
27 gross 1639 };
28    
29     typedef enum Paso_FunctionType Paso_FunctionType;
30    
31 gross 1476 typedef struct Paso_Function {
32 gross 1639 Paso_FunctionType kind;
33     dim_t n;
34 jfenwick 3259 Esys_MPIInfo *mpi_info;
35 gross 1639 double *b;
36     double *tmp;
37     void *more;
38 gross 1476 } Paso_Function;
39    
40 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);
41 gross 1804 err_t Paso_FunctionCall(Paso_Function * F,double* value, const double* arg, Paso_Performance *pp);
42 gross 2987 void Paso_Function_free(Paso_Function * F);
43 gross 1476
44     #endif

  ViewVC Help
Powered by ViewVC 1.1.26