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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 1  Line 1 
1    
2  /*******************************************************  /*******************************************************
3  *  *
4  * Copyright (c) 2003-2008 by University of Queensland  * Copyright (c) 2003-2010 by University of Queensland
5  * Earth Systems Science Computational Center (ESSCC)  * Earth Systems Science Computational Center (ESSCC)
6  * http://www.uq.edu.au/esscc  * http://www.uq.edu.au/esscc
7  *  *
# Line 17  Line 17 
17    
18    
19  #include "Common.h"  #include "Common.h"
20  #include "Paso_MPI.h"  #include "esysUtils/Esys_MPI.h"
21  #include "performance.h"  #include "performance.h"
22    
23  enum Paso_FunctionType {  enum Paso_FunctionType {
24    LINEAR_SYSTEM    LINEAR_SYSTEM,
25      FCT
26  };  };
27    
28  typedef enum Paso_FunctionType Paso_FunctionType;  typedef enum Paso_FunctionType Paso_FunctionType;
# Line 29  typedef enum Paso_FunctionType Paso_Func Line 30  typedef enum Paso_FunctionType Paso_Func
30  typedef struct Paso_Function {  typedef struct Paso_Function {
31    Paso_FunctionType kind;    Paso_FunctionType kind;
32    dim_t n;    dim_t n;
33    Paso_MPIInfo *mpi_info;    Esys_MPIInfo *mpi_info;
34    double *b;    double *b;
35    double *tmp;    double *tmp;
36    void *more;    void *more;
37  } Paso_Function;  } Paso_Function;
38    
39  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);  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);  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  #endif

Legend:
Removed from v.1811  
changed lines
  Added in v.3259

  ViewVC Help
Powered by ViewVC 1.1.26