File: ParticleSource.scn

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 (38 lines) | stat: -rw-r--r-- 1,257 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
36
37
38
<Node dt="0.005" showBehaviorModels="1" showWireFrame="1" showMappings="0" showForceFields="1" gravity="0 -10 0" >
	<Node name="Fluid">
		<Object type="RungeKutta4"/> 
		<Object type="MechanicalObject" name="MModel" />
		<Object type="ParticleSource" name="Source" center="
								    -0.375 0 -0.75
								    0.0   0 -0.75
								    0.375 0 -0.75
								    -0.75  0 -0.375
								    -0.375 0 -0.375
								    0.0   0 -0.375
								    0.375 0 -0.375
								    0.75  0 -0.375
								    -0.75  0  0.0
								    -0.375 0  0.0
								    0.0   0  0.0
								    0.375 0  0.0
								    0.75  0  0.0
								    -0.75  0  0.375
								    -0.375 0  0.375
								    0.0   0  0.375
								    0.375 0  0.375
								    0.75  0  0.375
								    -0.375 0  0.75
								    0.0   0  0.75
								    0.375 0  0.75
								    " 
			translation="0 3 0" radius="0.01 0.1 0.01" velocity="0 -20 0" delay="0.01875" start="-0.1" stop="2" />


		<Object type="UniformMass" name="M1" mass="1" />
		<Node id="Visual">
			<Object type="OglModel" name="VModel" color="blue" />
			<Object type="ImplicitSurfaceMapping" name="MarchingCube" object1="../../MModel" object2="VModel" isoValue="0.5" radius="0.75" step="0.25"/>
		</Node>
	</Node>

</Node>