MBDyn-1.7.3
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
invdyn.cc
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) 1996-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
#include "mbconfig.h"
32
33
#include "
invdyn.h
"
34
35
const
char
*
36
invdyn2str
(
InverseDynamics::Order
iOrder)
37
{
38
switch
(iOrder) {
39
case
InverseDynamics::UNDEFINED
:
40
return
"undefined"
;
41
42
case
InverseDynamics::INVERSE_DYNAMICS
:
43
return
"inverse dynamics"
;
44
45
case
InverseDynamics::POSITION
:
46
return
"position"
;
47
48
case
InverseDynamics::VELOCITY
:
49
return
"velocity"
;
50
51
case
InverseDynamics::ACCELERATION
:
52
return
"acceleration"
;
53
}
54
55
return
"unknown"
;
56
}
57
invdyn.h
InverseDynamics::POSITION
Definition:
invdyn.h:39
InverseDynamics::INVERSE_DYNAMICS
Definition:
invdyn.h:38
InverseDynamics::UNDEFINED
Definition:
invdyn.h:37
InverseDynamics::VELOCITY
Definition:
invdyn.h:40
InverseDynamics::Order
Order
Definition:
invdyn.h:36
InverseDynamics::ACCELERATION
Definition:
invdyn.h:41
invdyn2str
const char * invdyn2str(InverseDynamics::Order iOrder)
Definition:
invdyn.cc:36
mbdyn
base
invdyn.cc
Generated on Fri Apr 13 2018 10:19:33 for MBDyn-1.7.3 by
1.8.7