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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1804 - (hide annotations)
Wed Sep 24 07:52:19 2008 UTC (11 years ago) by gross
File MIME type: text/plain
File size: 1056 byte(s)
a robister version of the upwinding scheme
1 gross 1476 /* $Id:$ */
2    
3     /*******************************************************
4     *
5     * Copyright 2008 by University of Queensland
6     *
7     * http://esscc.uq.edu.au
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     #ifndef INC_PASO_FUNCTIONS
15     #define INC_PASO_FUNCTIONS
16    
17    
18     #include "Common.h"
19     #include "Paso_MPI.h"
20 gross 1804 #include "performance.h"
21 gross 1639
22     enum Paso_FunctionType {
23 gross 1804 LINEAR_SYSTEM
24 gross 1639 };
25    
26     typedef enum Paso_FunctionType Paso_FunctionType;
27    
28 gross 1476 typedef struct Paso_Function {
29 gross 1639 Paso_FunctionType kind;
30     dim_t n;
31 gross 1476 Paso_MPIInfo *mpi_info;
32 gross 1639 double *b;
33     double *tmp;
34     void *more;
35 gross 1476 } Paso_Function;
36    
37 gross 1804 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);
38     err_t Paso_FunctionCall(Paso_Function * F,double* value, const double* arg, Paso_Performance *pp);
39 gross 1476
40     #endif

  ViewVC Help
Powered by ViewVC 1.1.26