This file is indexed.

/usr/share/sofa/examples/Tutorials/Basic/TutorialTopologySurfaceDifferentMesh.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
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
<?xml version="1.0" ?>
<!-- See https://wiki.sofa-framework.org/wiki/TutorialTopologySurfaceMesh -->
<Node 	name="root" gravity="0 -9.81 1" dt="0.05" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="0" >
  <!-- Basic Components to perform the collision detection -->
  <DefaultPipeline name="DefaultCollisionPipeline" depth="6"/>
  <BruteForceDetection name="Detection"/>
  <MinProximityIntersection name="Proximity" alarmDistance="0.8" contactDistance="0.5"/>
  <DefaultContactManager name="Response"/>
  <DefaultCollisionGroupManager name="Group"/>

  <Node name="Cloth Static Mesh">
    <MechanicalObject name="DOFs" template="Vec3d" translation="10 0 5" rotation="0 90 90" scale="10"/>
    <FixedConstraint name="Fixed dof" template="Vec3d" indices="0 1"/>
    <UniformMass name="Mass" template="Vec3d" mass="1" totalmass="50"/>
    <EulerImplicitSolver name="cg_odesolver" printLog="0"/>
    <CGLinearSolver name="linear solver" template="GraphScattered" iterations="40" tolerance="1e-09" threshold="1e-09"/>

    <MeshTopology name="Static Mesh" fileTopology="mesh/square3.msh"/>
    <MeshSpringForceField name="Springs" template="Vec3d"/>
    <TriangularFEMForceField name="FEM" template="Vec3d" method="large" poissonRatio="0.3" youngModulus="60"/>

    <TriangleModel name="models"/>
    <OglModel name="Visual" template="ExtVec3f" color="red"/>
    <IdentityMapping name="Mapping" template="Mapping&lt;Vec3d,ExtVec3f&gt;" object1=".." object2="Visual"/>
  </Node>

  <Node name="Cloth Regular Mesh">
    <MechanicalObject  name="DOFs" template="Vec3d" translation="0 0 -10"/>
    <FixedConstraint name="Fixed dof" template="Vec3d" indices="0 870"/>
    <UniformMass name="Mass" template="Vec3d" mass="1" totalmass="50"/>
    <EulerImplicitSolver name="cg_odesolver" printLog="0"/>
    <CGLinearSolver name="linear solver" template="GraphScattered" iterations="40" tolerance="1e-09" threshold="1e-09"/>

    <RegularGridTopology name="default38" n="30 1 30" min="0 0 -20" max="10 0 -30" p0="0 0 -1"/>
    <RegularGridSpringForceField template="Vec3d"/>
    <QuadBendingSprings template="Vec3d" name="Bend" stiffness="20" damping="0"/>

    <OglModel name="Visual" template="ExtVec3f" color="blue"/>
    <IdentityMapping name="Mapping" template="Mapping&lt;Vec3d,ExtVec3f&gt;" object1=".." object2="Visual"/>
  </Node>

  <Node name="Cloth Dynamic Mesh">
    <MechanicalObject name="DOF" template="Vec3d" translation="10 0 20" rotation="0 90 90" scale="10"/>
    <FixedConstraint name="Fixed dof" template="Vec3d" indices="0 1"/>
    <UniformMass name="Mass" template="Vec3d" mass="1" totalmass="50"/>
    <EulerImplicitSolver name="cg_odesolver" printLog="0"/>
    <CGLinearSolver name="linear solver" template="GraphScattered" iterations="40" tolerance="1e-09" threshold="1e-09"/>


    <TriangleSetTopologyContainer name="Topology Container" fileTopology="mesh/square3.msh" />
    <TriangleSetTopologyModifier name="Topology Modifier"/>
    <TriangleSetTopologyAlgorithms template="Vec3d" name="Topology Algorithms"/>
    <TriangleSetGeometryAlgorithms template="Vec3d" name="Geometry Algorithms"/>
    <TriangularBendingSprings name="FEM-Bend" template="Vec3d" stiffness="300" damping="1"/>
    <TriangularFEMForceField name="FEM" template="Vec3d" method="large" poissonRatio="0.3" youngModulus="60"/>

    <TriangleModel name="models"/>
    <OglModel name="Visual" template="ExtVec3f" color="green"/>
    <IdentityMapping name="Mapping" template="Mapping&lt;Vec3d,ExtVec3f&gt;" object1=".." object2="Visual"/>
  </Node>
</Node>