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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3259 - (show 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
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * 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
14
15 #ifndef INC_PASO_FUNCTIONS
16 #define INC_PASO_FUNCTIONS
17
18
19 #include "Common.h"
20 #include "esysUtils/Esys_MPI.h"
21 #include "performance.h"
22
23 enum Paso_FunctionType {
24 LINEAR_SYSTEM,
25 FCT
26 };
27
28 typedef enum Paso_FunctionType Paso_FunctionType;
29
30 typedef struct Paso_Function {
31 Paso_FunctionType kind;
32 dim_t n;
33 Esys_MPIInfo *mpi_info;
34 double *b;
35 double *tmp;
36 void *more;
37 } Paso_Function;
38
39 err_t Paso_FunctionDerivative(double* J0w, const double* w, Paso_Function* F, const double *f0, const double *x0, double* setoff, Paso_Performance *pp);
40 err_t Paso_FunctionCall(Paso_Function * F,double* value, const double* arg, Paso_Performance *pp);
41 void Paso_Function_free(Paso_Function * F);
42
43 #endif

  ViewVC Help
Powered by ViewVC 1.1.26