/usr/share/sofa/examples/Demos/liver.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 | <Node name="root" dt="0.02" showBehaviorModels="0" showCollisionModels="0" showMappings="0" showForceFields="0" >
<!-- <Object type="Simulation" name="Simulation" /> -->
<CollisionPipeline verbose="0" name="CollisionPipeline"/>
<BruteForceDetection name="N2" />
<CollisionResponse response="default" name="collision response"/>
<!--<Object type="CollisionGroup" />-->
<Node name="Liver" depend="topo dofs">
<!--<Object type="CGImplicit" iterations="25"/>-->
<EulerImplicit name="cg_odesolver" printLog="false" />
<CGLinearSolver iterations="25" name="linear solver" tolerance="1.0e-9" threshold="1.0e-9" />
<MeshLoader name="meshLoader" filename="mesh/liver.msh"/>
<!-- Container for the tetrahedra-->
<TetrahedronSetTopologyContainer name="topo" />
<MechanicalObject name="dofs" />
<!-- Algorithms: used in DiagonalMass to compute the mass -->
<TetrahedronSetGeometryAlgorithms name="GeomAlgo" />
<DiagonalMass massDensity="1" name="computed using mass density" />
<TetrahedralCorotationalFEMForceField name="FEM" youngModulus="500" poissonRatio="0.3" computeGlobalMatrix="false" method="large" />
<FixedConstraint name="FixedConstraint" indices="3 39 64" />
<Node name="Visu">
<!-- Using material contained in liver-smooth.obj -->
<OglModel name="VisualModel" fileMesh="mesh/liver-smooth.obj" />
<BarycentricMapping object1="../.." object2="VisualModel" name="visual mapping"/>
</Node>
<Node name="Surf">
<Sphere name="CollisionModel" filename="mesh/liver.sph" />
<MechanicalObject />
<BarycentricMapping name="sphere mapping" />
</Node>
</Node>
</Node>
|