|
◆ volgrid6d_init()
subroutine volgrid6d_init |
( |
type(volgrid6d) |
this, |
|
|
type(griddim_def), optional |
griddim, |
|
|
integer, intent(in), optional |
time_definition, |
|
|
character(len=*), intent(in), optional |
categoryappend |
|
) |
| |
Constructor, it creates a new instance of the object.
The constructor should be explicitly used only in rare cases, volgrid6d objects are usually created through the import interface.
- Parametri
-
| this | object to be initialized |
| griddim | grid descriptor |
[in] | time_definition | 0=time is reference time; 1=time is validity time |
[in] | categoryappend | append this suffix to log4fortran namespace category |
Definizione alla linea 372 del file volgrid6d_class.F90.
372 CALL raise_fatal_error() 377 IF (linivol) this%voldati = rmiss 382 IF (.NOT. ASSOCIATED(this%gaid)) THEN 384 CALL l4f_category_log(this%category,l4f_debug, "alloc gaid volume") 386 ALLOCATE(this%gaid( SIZE(this%level), SIZE(this%time), & 387 SIZE(this%timerange), SIZE(this%var)),stat=stallo) 389 CALL l4f_category_log(this%category,l4f_fatal, "allocating memory") 390 CALL raise_fatal_error() 404 this%gaid = grid_id_new()
|