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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (10 years, 8 months ago) by ksteube
File MIME type: text/plain
File size: 1069 byte(s)
Copyright updated in all files

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 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 "Paso_MPI.h"
21 #include "performance.h"
22
23 enum Paso_FunctionType {
24 LINEAR_SYSTEM
25 };
26
27 typedef enum Paso_FunctionType Paso_FunctionType;
28
29 typedef struct Paso_Function {
30 Paso_FunctionType kind;
31 dim_t n;
32 Paso_MPIInfo *mpi_info;
33 double *b;
34 double *tmp;
35 void *more;
36 } Paso_Function;
37
38 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
41 #endif

  ViewVC Help
Powered by ViewVC 1.1.26