/usr/share/sofa/examples/Objects/MeshFEM.xml 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 | <Node name="FEM">
<Object type="EulerImplicitSolver" rayleighStiffness="0.01" />
<Object type="CGLinearSolver" iterations="25" threshold="0.00000001" />
<Object type="MeshLoader" name="mechaLoader" filename="file"/>
<Object type="Mesh" />
<Object type="MechanicalObject" dx="0" dy="0" dz="0" rx="0" ry="0" rz="0" scale="1.0" />
<Object type="UniformMass" totalmass="5" />
<Object type="TetrahedronFEMForceField" name="FEM" youngModulus="1000" poissonRatio="0.3" method="polar"/>
<Node name="VisualNode">
<Object type="OglModel" name="Visual" filename="file" color="red" dx="0" dy="0" dz="0" rx="0" ry="0" rz="0" scale="1.0"/>
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Node name="CollisionNode">
<Object type="MeshLoader" name="collisionLoader" filename="file"/>
<Object type="Mesh" />
<Object type="MechanicalObject" dx="0" dy="0" dz="0" rx="0" ry="0" rz="0" scale="1.0" />
<Object type="Triangle" />
<Object type="Line" />
<Object type="Point" />
<Object type="BarycentricMapping" />
</Node>
</Node>
|