MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
y12lib.h
Go to the documentation of this file.
1 /*
2  * This library comes with MBDyn (C), a multibody analysis code.
3  * http://www.mbdyn.org
4  *
5  * Copyright (C) 1996-2017
6  *
7  * Pierangelo Masarati <masarati@aero.polimi.it>
8  *
9  * Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
10  * via La Masa, 34 - 20156 Milano, Italy
11  * http://www.aero.polimi.it
12  *
13  * Changing this copyright notice is forbidden.
14  *
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation (version 2 of the License).
18  *
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28  */
29 
30 #ifndef Y12LIB_H
31 #define Y12LIB_H
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif /* __cplusplus */
36 
37 #ifdef MBDYN_SINGLE_PRECISION
38 #define y12prefactor __FC_DECL__(y12mbe)
39 #define y12factor __FC_DECL__(y12mce)
40 #define y12solve __FC_DECL__(y12mde)
41 #else /* ! MBDYN_SINGLE_PRECISION */
42 #define y12prefactor __FC_DECL__(y12mbf)
43 #define y12factor __FC_DECL__(y12mcf)
44 #define y12solve __FC_DECL__(y12mdf)
45 #endif /* ! MBDYN_SINGLE_PRECISION */
46 
47 extern int
48 y12prefactor (integer *n, integer *z__, doublereal *const a,
49  integer *const snr, integer *nn,
50  integer *const rnr, integer *nn1, integer *ha,
51  integer *iha, doublereal *aflag, integer *iflag,
52  integer *ifail);
53 
54 extern int
55 y12factor (integer *n, integer *z__, doublereal *const a,
56  integer *const snr, integer *nn,
57  integer *const rnr, integer *nn1, doublereal *pivot,
58  doublereal *const b, integer *ha,
59  integer *iha, doublereal *aflag,
60  integer *iflag, integer *ifail);
61 
62 extern int
63 y12solve (integer *n, doublereal *const a,
64  integer *nn, doublereal *const b,
65  doublereal *pivot, integer *const snr,
66  integer *ha, integer *iha,
67  integer *iflag, integer *ifail);
68 
69 #ifdef __cplusplus
70 }
71 #endif /* __cplusplus */
72 
73 #endif /* Y12LIB_H */
74 
#define y12solve
Definition: y12lib.h:44
#define y12prefactor
Definition: y12lib.h:42
#define y12factor
Definition: y12lib.h:43
static const doublereal a
Definition: hfluid_.h:289
double doublereal
Definition: colamd.c:52
long int integer
Definition: colamd.c:51