Debian Codegraph @

tools/physicalModeling/mesh2faust/vega/libraries/include/expokit_xgpadm.h

raw symbols SCIP
1 /*************************************************************************
2 * *
3 * Vega FEM Simulation Library Version 3.1 *
4 * *
5 * "matrix" library , Copyright (C) 2007 CMU, 2009 MIT *
6 * All rights reserved. *
7 * *
8 * Code author: Jernej Barbic *
9 * http://www.jernejbarbic.com/code *
10 * Research: Jernej Barbic, Doug L. James, Jovan Popovic *
11 * Funding: NSF, Link Foundation, Singapore-MIT GAMBIT Game Lab *
12 * *
13 * This library is free software; you can redistribute it and/or *
14 * modify it under the terms of the BSD-style license that is *
15 * included with this library in the file LICENSE.txt *
16 * *
17 * This library is distributed in the hope that it will be useful, *
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file *
20 * LICENSE.TXT for more details. *
21 * *
22 *************************************************************************/
23
24 /*
25 Wrapper to expokit routines.
26 See also matrix.h.
27 */
28
29 #ifndef _EXPOKIT_H_
30 #define _EXPOKIT_H_
31
32 #ifdef __APPLE__
33 #define INTEGER long int
34 #else
35 #define INTEGER int
36 #endif
37
38 extern"C" {
39 void sgpadm_(INTEGER * ideg, INTEGER * m, float * t, float * H,
40 INTEGER * ldh, float * wsp, INTEGER * lwsp,
41 INTEGER * ipiv, INTEGER * iexph, INTEGER * ns, INTEGER * flag);
42
43 void dgpadm_(INTEGER * ideg, INTEGER * m, double * t, double * H,
44 INTEGER * ldh, double * wsp, INTEGER * lwsp,
45 INTEGER * ipiv, INTEGER * iexph, INTEGER * ns, INTEGER * flag);
46 }
47
48 /*
49 Fortran definition:
50
51 subroutine DGPADM( ideg,m,t,H,ldh,wsp,lwsp,ipiv,iexph,ns,iflag )
52 implicit none
53 integer ideg, m, ldh, lwsp, iexph, ns, iflag, ipiv(m)
54 double precision t, H(ldh,m), wsp(lwsp)
55 */
56
57 #endif