File: FittedRegularGridTopology.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 (30 lines) | stat: -rw-r--r-- 1,173 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
<Node name="root"  dt="0.02" showBehaviorModels="1" showMappings="0" showForceFields="1">
	<Object type="CollisionPipeline" verbose="0" />
	<Object type="BruteForceDetection" name="N2" />
	<Object type="CollisionResponse" response="default" />
	
	<Node name="LiverFFD-lowres">
		<Object type="EulerImplicit" />                
		<Object type="CGLinearSolver" />
		<Object type="MechanicalObject" />
		<Object type="UniformMass" totalmass="100.0" />
		<Object type="FittedRegularGridTopology"
				nx="8" ny="8" nz="8"
				xmin="-10.25" xmax="-3.25"
				ymin="0.25" ymax="5.25"
				zmin="-2" zmax="3"
			/>
		<Object name="GConstraint" type="BoxConstraint" box="-8.5 0 -2.5 -5 3 2" />
		<Object type="RegularGridSpringForceField" name="Springs" stiffness="400" damping="4" />
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/liver-smooth.obj" color="red" dx="-5"/>
			<Object type="BarycentricMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Collision Surface">
			<Object type="Sphere" name="Surf" filename="mesh/liver.sph"/>
			<MechanicalObject dx="-5"/>
			<Object type="BarycentricMapping" />
		</Node>
	</Node>
	
</Node>