MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
pmthrdslv.h
Go to the documentation of this file.
1 /*
2  * MBDyn (C) is a multibody analysis code.
3  * http://www.mbdyn.org
4  *
5  * Copyright (C) 2004-2017
6  *
7  * Pierangelo Masarati <masarati@aero.polimi.it>
8  * Paolo Mantegazza <mantegazza@aero.polimi.it>
9  *
10  * Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
11  * via La Masa, 34 - 20156 Milano, Italy
12  * http://www.aero.polimi.it
13  *
14  * Changing this copyright notice is forbidden.
15  *
16  * This program is free software; you can redistribute it and/or modify
17  * it under the terms of the GNU General Public License as published by
18  * the Free Software Foundation (version 2 of the License).
19  *
20  *
21  * This program is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24  * GNU General Public License for more details.
25  *
26  * You should have received a copy of the GNU General Public License
27  * along with this program; if not, write to the Free Software
28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29  */
30 
31 #ifndef pmthrdslv_h
32 #define pmthrdslv_h
33 
34 #ifdef USE_NAIVE_MULTITHREAD
35 
36 #include <atomic_ops.h>
37 #include "mthrdslv.h"
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif /* __cplusplus */
42 
43 extern int pnaivfct(RMAT a, integer neq, integer *nzr, IMAT ri,
44  integer *nzc, IMAT ci, integer* nril, IMAT ril, NZMAT nz,
45  integer *piv, integer *todo, doublereal minpiv,
46  AO_t *row_locks, volatile AO_TS_t *col_locks, int task, int ncpu);
47 
48 extern int pnaivslv(RMAT a, integer neq, integer *nzc, IMAT ci,
49  doublereal *rhs, integer *piv, doublereal *fwd, doublereal *sol,
50  unsigned long *locks, int task, int ncpu);
51 
52 #ifdef __cplusplus
53 }
54 #endif /* __cplusplus */
55 
56 #endif /* USE_NAIVE_MULTITHREAD */
57 
58 #endif /* mthrdslv_h */
59 
char ** NZMAT
Definition: mthrdslv.h:80
integer ** IMAT
Definition: mthrdslv.h:78
static const doublereal a
Definition: hfluid_.h:289
double doublereal
Definition: colamd.c:52
long int integer
Definition: colamd.c:51
doublereal ** RMAT
Definition: mthrdslv.h:79