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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4657 - (hide annotations)
Thu Feb 6 06:12:20 2014 UTC (5 years, 8 months ago) by jfenwick
File MIME type: text/plain
File size: 1280 byte(s)
I changed some files.
Updated copyright notices, added GeoComp.



1 gross 1476
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 jfenwick 4657 * Copyright (c) 2003-2014 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 jfenwick 4657 * Development 2012-2013 by School of Earth Sciences
13     * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 jfenwick 3981 *
15     *****************************************************************************/
16 gross 1476
17 ksteube 1811
18 gross 1476 #ifndef INC_PASO_FUNCTIONS
19     #define INC_PASO_FUNCTIONS
20    
21    
22     #include "Common.h"
23 jfenwick 3259 #include "esysUtils/Esys_MPI.h"
24 gross 1804 #include "performance.h"
25 gross 1639
26     enum Paso_FunctionType {
27 gross 3793 LINEAR_SYSTEM
28 gross 1639 };
29    
30     typedef enum Paso_FunctionType Paso_FunctionType;
31    
32 gross 1476 typedef struct Paso_Function {
33 gross 1639 Paso_FunctionType kind;
34     dim_t n;
35 jfenwick 3259 Esys_MPIInfo *mpi_info;
36 gross 1639 double *b;
37     double *tmp;
38     void *more;
39 gross 1476 } Paso_Function;
40    
41 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);
42 gross 1804 err_t Paso_FunctionCall(Paso_Function * F,double* value, const double* arg, Paso_Performance *pp);
43 gross 2987 void Paso_Function_free(Paso_Function * F);
44 gross 1476
45     #endif

  ViewVC Help
Powered by ViewVC 1.1.26