File: QuadBendingSprings.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 (37 lines) | stat: -rw-r--r-- 1,488 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
<Node name="root" gravity="0.0 -2.0 0.0" dt="0.04" showBehaviorModels="0" showCollisionModels="0" showMappings="0" showForceFields="0">
	<Object type="CollisionPipeline" verbose="0" />
	<Object type="BruteForceDetection" name="N2" />
	<Object type="CollisionResponse" name="Response" />
	<Object type="NewProximityIntersection" alarmDistance="0.002" contactDistance="0.001" />

	<Node name="SquareCloth1">
 	        <Object type="EulerImplicit" name="cg_odesolver" printLog="false"/>
		<Object type="CGLinearSolver" iterations="25" name="linear solver" tolerance="1.0e-9" threshold="1.0e-9" />
		<Object type="RegularGrid"
			nx="20" ny="1" nz="20"
			xmin="12" xmax="-12"
			ymin="7" ymax="7"
			zmin="-12" zmax="12" />
		<Object type="MechanicalObject" />
		<Object type="UniformMass" totalmass="100" />
		<Object type="MeshSpringForceField" name="Springs" stiffness="1000" damping="0"/>
		<Object type="QuadBendingSprings" name="Bend" stiffness="2000" damping="1"/>
		<Object type="FixedConstraint" name="FixedConstraint" indices="0 19"/>
		<Node name="Visu">
			<Object type="OglModel" name="Visual" color="green"/>
			<Object type="IdentityMapping" object1="../.." object2="Visual"/>
		</Node>
		<Node name="Surf">
			<Object type="MechanicalObject" />
			<Object type="RegularGrid"
				nx="20" ny="1" nz="20"
				xmin="12" xmax="-12"
				ymin="7" ymax="7"
				zmin="-12" zmax="12" />
			<Object type="IdentityMapping" />
			<Object type="Triangle" />
		</Node>
		
	</Node>
</Node>