MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
dae-intg.h
Go to the documentation of this file.
1 /* $Header: /var/cvs/mbdyn/mbdyn/mbdyn-1.0/utils/dae-intg.h,v 1.25 2017/01/12 15:10:27 masarati Exp $ */
2 /*
3  * MBDyn (C) is a multibody analysis code.
4  * http://www.mbdyn.org
5  *
6  * Copyright (C) 1996-2017
7  *
8  * Pierangelo Masarati <masarati@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 DAE_INTG_H
32 #define DAE_INTG_H
33 
34 #include <iostream>
35 
36 typedef int (pread_f)(void**, const char*);
37 typedef std::ostream& (phelp_f)(void *, std::ostream&);
38 typedef int (pinit_f)(void*, VectorHandler&, VectorHandler&);
39 typedef int (psize_f)(void*);
40 typedef int (pgrad_f)(void*, MatrixHandler&, MatrixHandler&,
41  const VectorHandler&, const VectorHandler&,
42  const doublereal&);
43 typedef int (pfunc_f)(void*, VectorHandler&,
44  const VectorHandler&, const VectorHandler&,
45  const doublereal&);
46 typedef std::ostream& (pout_f)(void*, std::ostream&,
47  const VectorHandler&, const VectorHandler&);
48 typedef int (pdestroy_f)(void**);
49 
50 struct funcs {
59 };
60 
61 #endif // DAE_INTG_H
62 
int( pinit_f)(void *, VectorHandler &, VectorHandler &)
Definition: dae-intg.h:38
pinit_f * init
Definition: dae-intg.h:53
pdestroy_f * destroy
Definition: dae-intg.h:58
int( pfunc_f)(void *, VectorHandler &, const VectorHandler &, const VectorHandler &, const doublereal &)
Definition: dae-intg.h:43
pfunc_f * func
Definition: dae-intg.h:56
int( pread_f)(void **, const char *)
Definition: dae-intg.h:36
int( pdestroy_f)(void **)
Definition: dae-intg.h:48
int( pgrad_f)(void *, MatrixHandler &, MatrixHandler &, const VectorHandler &, const VectorHandler &, const doublereal &)
Definition: dae-intg.h:40
phelp_f * help
Definition: dae-intg.h:52
psize_f * size
Definition: dae-intg.h:54
std::ostream &( pout_f)(void *, std::ostream &, const VectorHandler &, const VectorHandler &)
Definition: dae-intg.h:46
std::ostream &( phelp_f)(void *, std::ostream &)
Definition: dae-intg.h:37
pread_f * read
Definition: dae-intg.h:51
int( psize_f)(void *)
Definition: dae-intg.h:39
pout_f * out
Definition: dae-intg.h:57
double doublereal
Definition: colamd.c:52
Definition: dae-intg.h:50
pgrad_f * grad
Definition: dae-intg.h:55