/usr/share/sofa/examples/Tutorials/Basic/TutorialBasicPendulum.scn is in sofa-data 1.0~beta4-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?xml version="1.0" ?>
<!-- See http://wiki.sofa-framework.org/mediawiki/index.php/TutorialBasicPendulum -->
<Node name="root" dt="0.1" gravity="0 0 0" showBehavior="1" showCollisionModel="1">
<!-- Try to test with different solver -->
<EulerImplicitSolver name="Euler Implicit" />
<CGLinearSolver name="CG Solver" />
<MechanicalObject name="Particles" template="Vec3d"
position="0 0 0 0 0 1"
velocity="0 0 0 0 1 0"/>
<UniformMass name="Mass" totalmass="1" />
<FixedConstraint indices="0"/>
<StiffSpringForceField name="Springs" stiffness="100" damping="1" spring="0 1 10 1 1"/>
<SphereModel radius="0.1"/>
</Node>
|