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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3981 - (show annotations)
Fri Sep 21 02:47:54 2012 UTC (7 years, 1 month ago) by jfenwick
File MIME type: text/plain
File size: 1212 byte(s)
First pass of updating copyright notices
1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2012 by University of Queensland
5 * http://www.uq.edu.au
6 *
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 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15
16
17 #ifndef INC_PASO_FUNCTIONS
18 #define INC_PASO_FUNCTIONS
19
20
21 #include "Common.h"
22 #include "esysUtils/Esys_MPI.h"
23 #include "performance.h"
24
25 enum Paso_FunctionType {
26 LINEAR_SYSTEM
27 };
28
29 typedef enum Paso_FunctionType Paso_FunctionType;
30
31 typedef struct Paso_Function {
32 Paso_FunctionType kind;
33 dim_t n;
34 Esys_MPIInfo *mpi_info;
35 double *b;
36 double *tmp;
37 void *more;
38 } Paso_Function;
39
40 err_t Paso_FunctionDerivative(double* J0w, const double* w, Paso_Function* F, const double *f0, const double *x0, double* setoff, Paso_Performance *pp);
41 err_t Paso_FunctionCall(Paso_Function * F,double* value, const double* arg, Paso_Performance *pp);
42 void Paso_Function_free(Paso_Function * F);
43
44 #endif

  ViewVC Help
Powered by ViewVC 1.1.26