/usr/share/sofa/examples/CUDA/beam10x10x46-spring-rk4-CPU.scn is in sofa-data 1.0~beta4-9.
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 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 | <Node name="root" dt="0.0025" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="0">
<Object type="CollisionPipeline" verbose="0" />
<Object type="BruteForceDetection" name="N2" />
<Object type="CollisionResponse" name="Response" />
<Object type="CudaProximityIntersection" alarmDistance="0.002" contactDistance="0.001" />
<Node name="Floor">
<Object type="RegularGrid"
nx="2" ny="1" nz="2"
xmin="10" xmax="-10"
ymin="-3.05" ymax="-3.05"
zmin="-10" zmax="10" />
<Object type="MechanicalObject" />
<Node name="Visu">
<Object type="OglModel" name="Visual" color="red"/>
<Object type="IdentityMapping" object1="../.." object2="Visual"/>
</Node>
</Node>
<Node name="M1">
<Object type="RungeKutta4" />
<Object type="RegularGrid"
nx="10" ny="10" nz="46"
xmin="-1.5" xmax="1.5"
ymin="0" ymax="3"
zmin="-7.5" zmax="7.5"
/>
<Object type="MechanicalObject" />
<Object type="UniformMass" totalmass="400" />
<Object type="BoxConstraint" box="-1.6 -0.1 -7.6 1.6 3.1 -7.4" />
<Object type="MeshSpringForceField" stiffness="2333" />
<Object type="PlaneForceField" normal="0 1 0" d="-3" stiffness="10000" draw="1" />
<Node>
<Object type="RegularGrid"
nx="2" ny="2" nz="9"
xmin="-0.75" xmax="0.75"
ymin="0.75" ymax="2.25"
zmin="-5.5" zmax="6.5"
/>
<Object type="SphereModel" radius="1.0" />
<MechanicalObject/>
<Object type="BarycentricMapping" />
</Node>
<Node>
<Object type="CubeTopology" internalPoints="0" splitNormals="1"
nx="10" ny="10" nz="46"
xmin="-1.5" xmax="1.5"
ymin="0" ymax="3"
zmin="-7.5" zmax="7.5"
/>
<Object type="VisualModel" name="Visual"/>
<Object type="SubsetMapping" object1="../.." object2="Visual" />
</Node>
</Node>
</Node>
|