File: IdentityMapping.scn

package info (click to toggle)
sofa-framework 1.0~beta4-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 88,820 kB
  • ctags: 27,300
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 68
file content (25 lines) | stat: -rw-r--r-- 1,195 bytes parent folder | download | duplicates (5)
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
<!-- Mechanical MassSpring Group Basic Example -->
<Node name="root" dt="0.02" showBehaviorModels="1" showCollisionModels="0" showMappings="1" showForceFields="0">
	<Object type="CollisionPipeline" verbose="0" />
	<Object type="BruteForceDetection" name="N2" />
	<Object type="CollisionResponse" response="default" />
	<Object type="MinProximityIntersection" name="Proximity" alarmDistance="0.8" contactDistance="0.5" />
	<Object type="CollisionGroup" />

	<Node name="tshirt">
		<Object type="EulerImplicit" />
		<Object type="CGLinearSolver" iterations="25"/>
        	<Object type="MeshLoader" name="meshLoader"  filename="mesh/tshirt_0.msh"/>
		<Object type="Mesh"/>
		<Object type="MechanicalObject" scale="10"/>
		<include href="Objects/TriangleSetTopology.xml" />
		<Object type="UniformMass" mass="1" />
		<Object type="FixedConstraint" indices="38 39 40 41 42 43 123 124 137"/>
		<Object type="TriangleFEMForceField" name="FEM" youngModulus="50000" poissonRatio="0.3" method="large"/>
		<Object type="Triangle" />
		<Node name="Visu">
			<Object type="OglModel" name="Visual" color="red"/>
			<Object type="IdentityMapping" object1="../.." object2="Visual"/>
		</Node>
	</Node>
</Node>