GfsParticle
From Gerris
(Difference between revisions)
| Revision as of 00:33, 22 March 2010 Delauxs (Talk | contribs) ← Previous diff |
Revision as of 00:35, 22 March 2010 Delauxs (Talk | contribs) Next diff → |
||
| Line 3: | Line 3: | ||
| Each [[GfsParticle]] is characterised by its id number (interger) and position (X,Y,Z). | Each [[GfsParticle]] is characterised by its id number (interger) and position (X,Y,Z). | ||
| - | The syntax within the [[GfsParticleList]] syntex is | + | The syntax within the [[GfsParticleList]] syntax is |
| - | [[GfsParticleList]] [[GfsParticle]] { Id X Y Z } | + | [[GfsParticleList]] [[GfsParticle]] { Id X Y Z } ... |
| - | where (X,Y,Z) is the initial location of the GfsParticle. | + | where Id is the id number and X, Y and Z are the initial coordinates of the [[GfsParticle]]. |
| The [[GfsParticle]] particle object is derived from [[GfsEvent]] but does not inherit of its read/write method i.e. timing (start, end ...) cannot be specified directly for a [[GfsParticle]] but has to be specify for the whole [[GfsParticleList]]. | The [[GfsParticle]] particle object is derived from [[GfsEvent]] but does not inherit of its read/write method i.e. timing (start, end ...) cannot be specified directly for a [[GfsParticle]] but has to be specify for the whole [[GfsParticleList]]. | ||
Revision as of 00:35, 22 March 2010
A GfsParticle is basically an inert Lagrangian particle. It can be used as a particle type to define a list of Lagrangian particles (GfsParticleList). Each GfsParticle is characterised by its id number (interger) and position (X,Y,Z).
The syntax within the GfsParticleList syntax is
GfsParticleList GfsParticle { Id X Y Z } ...
where Id is the id number and X, Y and Z are the initial coordinates of the GfsParticle.
The GfsParticle particle object is derived from GfsEvent but does not inherit of its read/write method i.e. timing (start, end ...) cannot be specified directly for a GfsParticle but has to be specify for the whole GfsParticleList.
- GfsEvent
- GfsParticle

