File: HermiteSplineConstraint.scn

package info (click to toggle)
sofa-framework 1.0~beta4-9
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 88,688 kB
  • ctags: 27,205
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 67
file content (109 lines) | stat: -rw-r--r-- 2,541 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<Node name="root" 
	gravity="0 -9.81 0" 
	dt="0.01" 
	time="0" 
	animate="0" 
	showVisualModels="1" 
	showBehaviorModels="1" 
	showCollisionModels="0" 
	showBoundingCollisionModels="0" 
	showMappings="0" 
	showMechanicalMappings="0" 
	showForceFields="0" 
	showInteractionForceFields="1" 
	showWireFrame="0" 
	showNormals="0" 
	 >
	<CGImplicitSolver>
		<Attribute type="name">
			<Data value="solver"/>
		</Attribute>
		<Attribute type="printLog">
			<Data value="0"/>
		</Attribute>
		<Attribute type="iterations">
			<Data value="25"/>
		</Attribute>
		<Attribute type="rayleighStiffness">
			<Data value="0"/>
		</Attribute>
		<Attribute type="rayleighMass">
			<Data value="0"/>
		</Attribute>
	</CGImplicitSolver>
  <MechanicalObject template="Vec3d">
    <Attribute type="name">
      <Data value="particleDOF"/>
    </Attribute>
    <Attribute type="position">
      <Data value="0 0 0"/>
    </Attribute>
    <Attribute type="velocity">
      <Data value="0 10 0"/>
    </Attribute>
    <Attribute type="derivX">
      <Data value="0 0 0"/>
    </Attribute>
    <Attribute type="free_position">
      <Data value="0 0 0"/>
    </Attribute>
    <Attribute type="free_velocity">
      <Data value="0 0 0"/>
    </Attribute>
    <Attribute type="rest_position">
      <Data value="0 0 0"/>
    </Attribute>
    <Attribute type="translation">
      <Data value="0 0 0"/>
    </Attribute>
    <Attribute type="rotation">
      <Data value="0 0 0"/>
    </Attribute>
    <Attribute type="scale">
      <Data value="1"/>
    </Attribute>
  </MechanicalObject>
	<HermiteSplineConstraint template="Vec3d">
		<Attribute type="name">
			<Data value="thierry"/>
		</Attribute>
		<Attribute type="indices">
			<Data value="0"/>
		</Attribute>
		<Attribute type="BeginTime">
			<Data value="0"/>
		</Attribute>
		<Attribute type="EndTime">
			<Data value="5"/>
		</Attribute>
		<Attribute type="X0">
			<Data value="0 0 0"/>
		</Attribute>
		<Attribute type="dX0">
			<Data value="0 10 0"/>
		</Attribute>
		<Attribute type="X1">
			<Data value="5 0 0"/>
		</Attribute>
		<Attribute type="dX1">
			<Data value="0 5 0"/>
		</Attribute>
		<Attribute type="SX0">
			<Data value="1 0"/>
		</Attribute>
		<Attribute type="SX1">
			<Data value="0 2"/>
		</Attribute>
	</HermiteSplineConstraint>
	<UniformMass template="Vec3d">
		<Attribute type="name">
			<Data value="particleMass"/>
		</Attribute>
		<Attribute type="mass">
			<Data value="1"/>
		</Attribute>
		<Attribute type="totalmass">
			<Data value="1"/>
		</Attribute>
	</UniformMass>
</Node>