GfsParticle
From Gerris
(Difference between revisions)
| Revision as of 00:30, 22 March 2010 Delauxs (Talk | contribs) ← Previous diff |
Revision as of 00:33, 22 March 2010 Delauxs (Talk | contribs) Next diff → |
||
| Line 2: | Line 2: | ||
| It can be used as a particle type to define a list of Lagrangian particles ([[GfsParticleList]]). | 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). | Each [[GfsParticle]] is characterised by its id number (interger) and position (X,Y,Z). | ||
| + | |||
| + | The syntax within the [[GfsParticleList]] syntex is | ||
| + | |||
| + | [[GfsParticleList]] [[GfsParticle]] { Id X Y Z } | ||
| + | |||
| + | where (X,Y,Z) is the initial location 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:33, 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 syntex is
GfsParticleList GfsParticle { Id X Y Z }
where (X,Y,Z) is the initial location 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

