File: BoxConstantForceField.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 (20 lines) | stat: -rw-r--r-- 1,031 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
<Node name="root"  dt="0.05" gravity="0 0 0" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="0">
	
	<Node name="M0">
		<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="MechanicalObject" position="0 0 0  1 0 0  1 1 0  0 1 0" velocity="0 0 0  0 0 0  0 0 0  0 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"/>
                <Object type="BoxConstantForceField" box="0 0   0  1 0.5 0"  force="0 -1 0" arrowSizeCoef=".2"/>
		<Object type="BoxConstantForceField" box="0 0.5 0  1 1   0"  force="0 1  0" arrowSizeCoef=".2"/>
		<Node name="Visu">
			<Object type="OglModel" name="Visual" color="red"/>
			<Object type="IdentityMapping" object1="../.." object2="Visual"/>
		</Node>
	</Node>

</Node>