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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1476 - (show annotations)
Mon Apr 7 23:38:50 2008 UTC (11 years, 4 months ago) by gross
File MIME type: text/plain
File size: 1034 byte(s)
Jacobian-free Newton method added to Paso
1 /* $Id:$ */
2 /*******************************************************
3 *
4 * Copyright 2008 by University of Queensland
5 *
6 * http://esscc.uq.edu.au
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 *******************************************************/
12
13 #ifndef INC_PASO_UTIL
14 #define INC_PASO_UTIL
15
16 #include "Common.h"
17 #include "Paso_MPI.h"
18 #ifdef _OPENMP
19 #include <omp.h>
20 #endif
21
22 void Paso_zeroes(const dim_t n, double* x);
23 void Paso_Update(const dim_t n, const double a, double* x, const double b, const double* y);
24 void Paso_LinearCombination(const dim_t n, double*z, const double a,const double* x, const double b, const double* y);
25 double Paso_InnerProduct(const dim_t n,const double* x, const double* y, Paso_MPIInfo* mpiinfo);
26 double Paso_l2(const dim_t n, const double* x, Paso_MPIInfo* mpiinfo);
27 void ApplyGivensRotations(const dim_t n,double* v,const double* c,const double* s);
28
29 #endif

  ViewVC Help
Powered by ViewVC 1.1.26