forked from simbody/simbody
-
Notifications
You must be signed in to change notification settings - Fork 1
/
SimbodyMainpage.h
199 lines (177 loc) · 11 KB
/
SimbodyMainpage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
#ifndef SimTK_SIMBODY_DOXYGEN_MAINPAGE_H_
#define SimTK_SIMBODY_DOXYGEN_MAINPAGE_H_
/** @file
This "header" file is actually just the source for Simbody's Doxygen
Mainpage, the first page that a user sees when entering the Doxygen-
generated API documentation. This is not actually included as part of the
Simbody source and it is not installed with Simbody. **/
// This is so Doxygen can locate the symbols we mention.
namespace SimTK {
/** @mainpage Simbody&tm; API Reference Documentation
<h2>What is Simbody?</h2>
Simbody is a high-performance, industrial-grade open source C++ library
providing sophisticated treatment of articulated multibody systems with special
attention to the needs of biomedical simulation. It is useful for predictive
dynamic simulations of diverse biological systems such as neuromuscular
biomechanical models (<a href=http://opensim.stanford.edu>OpenSim</a>)
and coarse-grained biomolecular modeling
(<a href=https://simtk.org/home/rnatoolbox>MacroModelBuilder</a>).
It is also well
suited to related simulation domains such as robot simulation and control
(<a href=http://gazebosim.org>Gazebo</a>), and "soft" real time applications
like interactive scientific simulation, virtual worlds, and games.
@image html isaac.png "Our hero, Sir Isaac Newton"
Simbody uses an internal coordinate, recursive formulation of the equations of
motion, providing computation of system dynamics to machine precision with
O(n) computational complexity for n joint degrees of freedom (similar to a
Featherstone formulation). Arbitrary adjoined
constraints, contact modeling, and advanced numerical methods provide fast,
robust simulation for any mechanical or biomechanical system from machines and
vehicles to human skeletons and macromolecules.
Simbody is part of the %SimTK biosimulation toolkit originating from Simbios,
the NIH National Center for Physics-Based Simulation of Biological Structures
at Stanford, initially funded under the NIH Roadmap for Medical Research, grant
U54 GM072970. Related tools include
- OpenSim (http://opensim.stanford.edu and https://simtk.org/home/opensim),
a freely available software system for building, exchanging, and analyzing
musuloskeletal models and dynamic simulations of movement. Includes both a
graphical user interface and an API; automatically constructs Simbody
models from high-level description.
- OpenMM (https://simtk.org/home/openmm), a GPU-accelerated high-performance
numerical library for efficient calculation of molecular force fields.
Simbody is hosted on the <a href=https://simtk.org>SimTK.org</a> biosimulation
community site, at https://simtk.org/home/simbody and is a community resource
available for unrestricted academic, commercial, government, and personal use.
The source code is maintained on <a href=https://github.com>GitHub</a>,
at https://github.com/simbody.
Simbody was conceived and initially implemented by Michael Sherman (Sherm),
with substantial contributions from Peter Eastman, both of the Simbios Center
at Stanford. Many others have contributed to the software, support, and
documentation and we invite community contributions; please
see
<a href=https://github.com/simbody/simbody/blob/master/CONTRIBUTING.md>CONTRIBUTING.md</a>
(also available in the \c doc subdirectory of your Simbody installation).
<h2>Getting started with Simbody</h2>
You are looking at the main page for the reference documentation of the Simbody
API. This documentation was generated by Doxygen directly from the Simbody
source code as annotated by the original programmers so it is both accurate and
comprehensive. As you will quickly realize if you look around, this is a large
system providing a great deal of functionality. It is, however, very easy to
use if you know where to begin -- and this reference documentation is most
definitely \e not the place to start if you want to learn how to use
Simbody. Instead, start with
<a href=https://github.com/simbody/simbody/blob/master/README.md>README.md</a>
and the tutorials in the Simbody User's Guide (in the \c doc subdirectory of
your Simbody installation). There is also a collection of working example
programs that come with the Simbody installation (in the
<tt>Simbody/examples</tt> directory on Windows or
<tt>share/doc/simbody/examples</tt> on Linux or OSX). Both source
and ready-to-execute binaries of the examples are installed. If you have
specific questions, or success stories to share, use the
<a href=https://simtk.org/forums/viewforum.php?f=47>Simbody Forum</a>
on SimTK.org.
You can file bug reports and make feature requests using the
<a href=https://github.com/simbody/simbody/issues>Simbody Issue Tracker</a>
on GitHub.
<h2>How to use this documentation</h2>
If you know the name of the class, method, or other symbol for which you want
information, you can enter it into the search box above and click directly to
the documentation for that symbol. You can also enter words or partial symbols
and get a list of names that include your search key. Unfortunately Doxygen
does not currently provide a full-text search capability. Another approach is
to select the Classes tab to get an alphabetical listing of all the class
names, and there is a tab below that providing a class hierarchy view. Here is
an abbreviated list of important classes, all in the SimTK:: namespace:
- MobilizedBody: combination of a Body and the inboard joint
connecting it to the multibody tree, which we call a "mobilizer". Base class
for specific mobilizer types of which there are many predefined; extensible.
- Force: base class for a selection of built-in force types; easily
extensible to model your own force elements.
- Constraint: base class for a selection of built-in constraint types;
extensible.
- Motion: prescribed motions permitting mixed forward/inverse dynamics;
more efficient than the equivalent %Constraint. Built-ins plus
extendability.
- Measure_: general state-dependent computational block.
- System, Subsystem, State: basic infrastructure objects.
- MultibodySystem, SimbodyMatterSubsystem, GeneralForceSubsystem,
ContactTrackerSubsystem, CompliantContactSubsystem: commonly used
components.
- Integrator, TimeStepper, Assembler, Optimizer: solvers.
- Many utility classes (see tutorials, example programs, Doxygen Modules tab),
including Rotation_, Transform_, Quaternion_,
Vector_, Vec, @ref SimTK::SpatialVec "SpatialVec", Xml, and many more.
- Matrix and vector classes and capabilities are discussed in the module
@ref MatVecUtilities "Matrix and Vector Utilities".
For an overview of Simbody, read this paper:
<a href="https://simtk.org/docman/view.php/47/1589/Sherman-2011-SethDelp-Simbody-ProcediaIUTAM-v2-p241.pdf">
Michael A. Sherman, Ajay Seth, Scott L. Delp, "Simbody: multibody
dynamics for biomedical research," <i>Procedia IUTAM</i> 2:241-261 (2011)</a>
<h2>License</h2>
We encourage the broadest possible use of Simbody for any purpose by using
the extremely permissive Apache 2.0 License. We would appreciate some
acknowledgement if our work has been helpful in yours, but our license does not
require that. For more information see our
\ref simbody_license_page "license page". **/
} // namespace SimTK
/** @page simbody_license_page Simbody&tm; Copyright and License
<h2>Copyright and license</h2>
This license, based on the maximally-permissive Apache 2.0 License, defines the
terms under which we offer Simbody.
@verbatim
* -------------------------------------------------------------------------- *
* Simbody(tm) *
* -------------------------------------------------------------------------- *
* This is part of the SimTK biosimulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Biological Structures at Stanford, funded under the NIH Roadmap for *
* Medical Research, grant U54 GM072970. See https://simtk.org/home/simbody. *
* *
* Please cite: *
* Michael A. Sherman, Ajay Seth, Scott L. Delp, Simbody: multibody *
* dynamics for biomedical research, Procedia IUTAM 2:241-261 (2011) *
* http://dx.doi.org/10.1016/j.piutam.2011.04.023 *
* *
* Portions copyright (c) 2005-14 Stanford University and the Authors. *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may *
* not use this file except in compliance with the License. You may obtain a *
* copy of the License at http://www.apache.org/licenses/LICENSE-2.0. *
* *
* Unless required by applicable law or agreed to in writing, software *
* distributed under the License is distributed on an "AS IS" BASIS, *
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
* See the License for the specific language governing permissions and *
* limitations under the License. *
* -------------------------------------------------------------------------- *
@endverbatim
<h2>What's with that "TM" in Simbody&tm;?</h2>
That symbol does not mean anything commercial. It is just to let you know that
we claim a trademark on the name "Simbody"
so you may not use that name except to refer to our software as we distribute
it. The license permits you to make any kind of derivative work, or to use
all or part of Simbody code in any way you like, but you can't call the
resulting work "Simbody" without our agreement. We make that restriction
because we don't want any confusion to exist about what is, and what is not,
the Simbody project that we support and carefully maintain. But ... if you want
to make improvements to Simbody we would love to have your open source
contributions to put into the main Simbody source tree, in which case they
\e would be included under the Simbody name. See
<a href=https://github.com/simbody/simbody/blob/master/CONTRIBUTING.md>CONTRIBUTING.md</a>
for information about how to contribute.
<h2>How to acknowledge us</h2>
Our license does not \e require that you acknowledge us, but we and our
sponsors would be grateful if you did anyway! If our hard work has helped you
with yours, please throw us a bone and mention on your "About" page and in
your documentation that you are using Simbody from
https://simtk.org/home/simbody. Where appropriate, please cite this paper:
\par
Michael A. Sherman, Ajay Seth, Scott L. Delp, Simbody: multibody
dynamics for biomedical research, <i>Procedia IUTAM</i> 2:241-261 (2011)
http://dx.doi.org/10.1016/j.piutam.2011.04.023
We would be particularly grateful if you mention that Simbody is primarily
funded by NIH Roadmap grant U54 GM072970. We appreciate that support very
much, and the NIH appreciates knowing that its funds are having an impact,
particularly on medical research and human health.
**/
#endif // SimTK_SIMBODY_DOXYGEN_MAINPAGE_H_