File: GridSpring.xml

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 (21 lines) | stat: -rw-r--r-- 923 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
<Node name="GridSpring">
	<Object type="EulerImplicitSolver" rayleighStiffness="0.01" />
	<Object type="CGLinearSolver" iterations="25" threshold="0.00000001" />
	<Object type="SparseGrid" n="6 6 6" filename="file"/> 
	<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="MeshSpringForceField" name="Springs" stiffness="400" damping="4"/>
	<Node name="VisualNode">
		<Object type="OglModel" name="Visual" filename="file"  color="green"  />
		<Object type="BarycentricMapping" object1="../.." object2="Visual" />
	</Node>
	<Node name="CollisionNode">
         	<Object type="MeshLoader" name="collisionLoader" filename="file"/>
		<Object type="Mesh" />
		<Object type="MechanicalObject"   />
		<Object type="Triangle" />
		<Object type="Line" />
		<Object type="Point" />
		<Object type="BarycentricMapping" />
	</Node>
</Node>