File: MechanicalStateController.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 (28 lines) | stat: -rw-r--r-- 1,498 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
26
27
28
<Node name="root"  dt="0.005" gravity="0 -10 0" showBehaviorModels="0" showCollisionModels="1" showMappings="0" showForceFields="1" >
	
	<Object type="CollisionPipeline" depth="6" verbose="0" draw="0"/>
	<Object type="BruteForceDetection" name="N2" />
	<Object type="LocalMinDistance" name="Proximity"  alarmDistance="1.0" contactDistance="0.5"/>
	<Object type="CollisionResponse" name="Response" response="default" />
	<Object type="CollisionGroup" name="Group" />
	
	<Node name="InstrumentEdgeSet">
		<Object type="EulerImplicit" rayleighStiffness="0" printLog="false" />
		<Object type="BTDLinearSolver" template="NewMatBand" bandWidth="11"  printLog="false" verbose="false"/>
		
		<Object type="MeshLoader" name="meshLoader" filename="mesh/edgeSet.mesh"/>
		<Object type="MechanicalObject" name="MechanicalDOFs" template="Rigid" position="0 0 0 0 0 0 1  1 0 0 0 0 0 1  2 0 0 0 0 0 1"/>
		
		<include href="Objects/EdgeSetTopology.xml" template="Rigid" />
		
		<Object type="MechanicalStateController" template="Rigid" listening="true" mainDirection="-1.0 0.0 0.0" handleEventTriggersUpdate="true"/>
		<Object type="EdgeSetController" template="Rigid" listening="true" mainDirection="-1.0 0.0 0.0"/>
		
		<Object type="FixedConstraint" name="FixedConstraint" indices="0" />
		<Object type="UniformMass" mass="1 1
						 0.01 0   0 
						 0    0.1 0 
						 0    0   0.1" printLog="false" />
		<Object type="BeamFEMForceField" name="FEM" radius="0.1" youngModulus="50000000" />
	</Node>
</Node>