...
Note that the name for the permanent bus is now 'f' and not 'p' !!!!!!!!!!
To get access to the variable names one needs to also use the module 'phybus':
Volet |
---|
use phybus |
To be able to treat the fields from the busses like "normal" 1-D (row) or 2-D (slab) fields (remember the physics only see one row or slab at the time - see above) they usually get "transformed" into regular 1-D or 2-D fields by using pointers the following way:
a) Declare the field as 1-D or 2-D pointer, for example:
Volet |
---|
real, pointer, dimension(:) :: zpmoins real, pointer, dimension(:,:) :: ztmoins |
In general, the 1-D or 2-D field name is the same as the starting position of the field in the bus, preceded by a 'z'.
From the surface schemes
In the surface one passes the surface bus, its size, the list of variable and its size to the surface routine.
...