Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Where :
    'name' is the "name" of by which the field can get addressed in the physics. This variable is actually an integer which contains the starting position of the field in the bus.
    'description' is a string containing a set of keys followed by a name, description or value. The different keys are separated by a ';'. These are the possible accepted keys:

...

Volet
VN=  ;       ===> formal name- mandatory, will appear in model listing; should be same as 'name' above
ON=  ;       ===> output name (4 letters only)- mandatory
IN=  ;       ===> input  name (4 letters only)- defaults to 'ON'
SN=  ;       ===> series name (4 letters only)- defaults to 'ON'
VD=  ;       ===> formal description- mandatory, will appear in model listing
VS=  ;       ===> variable shape (accepted shapes are M, T, E and

...

A with +, - or * followed by an integer)
VB=  ;       ===> bus identification (E, D, P

...

or V)- mandatory
MIN= ;       ===> minimum value of the field(useful to keep i.e.  humidity fields above zero)
MAX= ;       ===> maximum value of the field
WLOAD= ;       ===> water load flag (default=0)
HZD= ;       ===> Horizontal diffusion (default=0)
MASSC= ;       ===> mass conserv (default=0)
MONOT= ;       ===> monotone interpolation (default=1)


Entry and dynamic bus

As mentioned above, the entry bus is almost not used anymore.
If possible, do not add fields to the dynamic bus as this gets quite complicated.
For both, variables need to get declared in rpnphy/base/phyvar.hf. Variables from the entry bus need to get declared as "VB=e1", fields from the dynamic bus as "VB=d1".

...