File: MatrixMass.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 (35 lines) | stat: -rw-r--r-- 1,332 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
<Node name="root"  dt="0.02" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="1">
	<Object type="CollisionPipeline" verbose="0" />
	<Object type="BruteForceDetection" name="N2" />
	<Object type="CollisionResponse" name="Response" response="default" />
	<Object type="CollisionGroup" name="Group" />
	
	
	
	<Node name="DragonCoarse">
		<Object type="SparseGrid"
			n="2 2 2"
			fileTopology="mesh/dragon.obj"
			/>
		<Object type="EulerImplicit" />                
		<Object type="CGLinearSolver" iterations="100" />
		<Object type="MechanicalObject" />
		
		<Object type="MatrixMass" defaultValue="3"/>
<!-- <Object type="MatrixMass" lumped="1" massMatrices="[10 0 5,0 10 3,0 0 10] [10 3 0,0 10 2,0 0 10] [10 0 5,0 10 5,0 0 10] [10 0 0,0 10 0,0 0 10] [10 0 0,0 10 0,0 0 10] [10 0 0,0 10 0,0 0 10] [10 0 0,0 10 0,0 0 10] [10 0 0,0 10 0,0 0 10] " /> -->


		<Object type="MeshSpringForceField" name="Springs" stiffness="500" damping="10" />
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/dragon.obj" color="yellow" />
			<Object type="BarycentricMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Surf">
			<Object type="Sphere" filename="mesh/dragon.sph" />
			<MechanicalObject/>
			<Object type="BarycentricMapping"  />
		</Node>
	</Node>
	
	
</Node>