5.69. TabParticle (element)

<tabparticle> ‐ A table of particles in a graph (a physical system)

5.69.1. Attributes

NameTypeDefaults
sizeINTEGERNone (required)

5.69.2. Description

This element defines a table of particles in a graph, a physical system made of particles (masses) connected by edges (springs).

The integer value size of the size attribute defines the number of particles contained in the table of particles. This element expects size particle in its scope.

5.69.3. Expected children

The following elements must occur in tabparticle: as many particles as the value of the size attribute.

5.69.4. Example

The example below defines a tabparticle with two particles.

<tabparticle size="2">
     <particle index="1" x="1.0" y="1.0" z="1.0" dx="0.0" dy="0.0"
                       dz="0.0" m="1.0"/>
     <particle index="2" x="1.0" y="1.0" z="-1.0" dx="0.0" dy="0.0" 
                       dz="0.0" m="1.0"/>
</tabparticle>