File: MasterContactSolver.scn

package info (click to toggle)
sofa-framework 1.0~beta4-12
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 88,828 kB
  • ctags: 27,300
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 68
file content (84 lines) | stat: -rwxr-xr-x 3,512 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
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<Node name="root"  dt="0.01" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="0">
	<Object type="MasterContactSolver"/>

	<Object type="CollisionPipeline" depth="6" verbose="0" draw="0"/>
	<Object type="BruteForceDetection" name="N2" />
	<Object type="LocalMinDistance" name="Proximity" alarmDistance="1.5" contactDistance="1.0" angleCone="0.0"/>
	<Object type="CollisionResponse" name="Response" response="FrictionContact"/>
	<Object type="CollisionGroup" name="Group" />
	
	<Node name="Torus1">
		<Object type="MeshLoader" filename="mesh/torus2_for_collision.obj"/>
		<Object type="Mesh"/>
		<Object type="MechanicalObject" scale="5.0"/>
		<Object type="Triangle" simulated="0" moving="0" />
		<Object type="Line" simulated="0" moving="0" />
		<Object type="Point" simulated="0" moving="0" />
		<Object type="OglModel" name="Visual" fileMesh="mesh/torus2.obj" color="0.5 0.5 0.5 1.0" scale="5.0"/>
	</Node>

	 <Node name="Torus2">
		<!--<Object type="EulerSolver"/> -->
		<Object type="EulerImplicitSolver"/>	
		<Object type="CGLinearSolver" iterations="25"/>	
		<Object type="MechanicalObject" template="Rigid" scale="5.0" dx ="-12" dy="0"/>
		<Object type="UniformMass" filename="BehaviorModels/torus.rigid" mass="5000.0"/>
		<Object type="UncoupledConstraintCorrection"/>
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/torus.obj" color="0.0 0.5 0.5 1.0" scale="5.0"/>
			<Object type="RigidMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Surf2">
			<Object type="MeshLoader" filename="mesh/torus_for_collision.obj"/>
			<Object type="Mesh"/>
			<Object type="MechanicalObject" scale="5.0"/>
			<Object type="Triangle" />	
			<Object type="Line" />	
			<Object type="Point" />
			<Object type="RigidMapping" />
		</Node>
	</Node>
	<!--
	<Node name="Torus3">
		<Object type="EulerImplicitSolver"/>	
		<Object type="CGLinearSolver" iterations="25"/>	
		<Object type="MechanicalObject" template="Rigid" scale="5.0" dx ="-25" dy="0"/>
		<Object type="UniformMass" filename="BehaviorModels/torus2.rigid" mass="5000.0"/>
		<Object type="UncoupledConstraintCorrection"/>
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/torus2.obj" color="1.0 0.5 0.25 1.0" scale="5.0"/>
			<Object type="RigidMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Surf2">
			<Object type="MeshLoader" filename="mesh/torus2_for_collision.obj"/>
			<Object type="Mesh" />
			<Object type="MechanicalObject" scale="5.0"/>
			<Object type="Triangle" /> 
			<Object type="Line" />
			<Object type="Point" />
			<Object type="RigidMapping" />
		</Node>
	</Node>
	
	<Node name="Torus4">
		<Object type="EulerImplicitSolver"/>	
		<Object type="CGLinearSolver" iterations="25"/>	
		<Object type="MechanicalObject" template="Rigid" scale="5.0" dx ="-38" dy="0"/>
		<Object type="UniformMass" filename="BehaviorModels/torus.rigid" mass="5000.0"/>
		<Object type="UncoupledConstraintCorrection"/>
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/torus.obj" color="0.0 0.5 0.5 1.0" scale="5.0"/>
			<Object type="RigidMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Surf2">
			<Object type="MeshLoader" filename="mesh/torus_for_collision.obj"/>
			<Object type="Mesh" />
			<Object type="MechanicalObject" scale="5.0"/>
			<Object type="Triangle" /> 
			<Object type="Line" />
			<Object type="Point" />
			<Object type="RigidMapping" />
		</Node>
	</Node>
	-->
</Node>