File: DampVelocitySolver.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 (19 lines) | stat: -rw-r--r-- 839 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
<Node name="root" gravity="0 0 0" dt="0.05" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="1">
	
	<Node name="M0">
		<Object type="EulerImplicit" />                
		<Object type="CGLinearSolver" iterations="25" />
                <Object type="DampVelocity" rate="0.9" threshold="0.01"  printLog="0" name="damp"/>
		<Object type="MechanicalObject" position="0 0 0  1 0 0  1 1 0  0 1 0" velocity="1 0 0  1 0 0  1 0 0  1 0 0"/>
		<Object type="UniformMass" mass="0.1" />
		<Object type="Mesh"
			triangles="0 1 2  0 2 3"
		/>
		<Object type="TriangleFEMForceField" name="FEM0" youngModulus="100" poissonRatio="0.3" method="large"/>
		<Node name="Visu">
			<Object type="OglModel" name="Visual" color="red"/>
			<Object type="IdentityMapping" object1="../.." object2="Visual"/>
		</Node>
	</Node>

</Node>