Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
real(kind=dp),
private
::
empty(1)
integer(kind=default_int),
private
::
nalloc
Source Code
subroutine soa_write_real_dp_field(unit,values,n,err)!! Write the first `n` elements of a `real(dp)` field.integer(default_int),intent(in)::unitreal(dp),allocatable,intent(in)::values(:)integer(default_int),intent(in)::ntype(error_t),intent(inout)::err! Declared with one element and passed as the zero-length section! `empty(1:0)` below. A literal `empty(0)` is valid Fortran and was! what stood here, but nvfortran warns on every zero-size array! declaration (NVFORTRAN-W-0435), which is noise in a consumer's! build log. The element itself is never read.real(dp)::empty(1)integer(default_int)::nallocnalloc=-1if(allocated(values))nalloc=size(values,kind=default_int)call soa_check_live_count(n,nalloc,err)if(err%has_error())return if(nalloc<0)then call write_array(unit,empty(1:0),err)else call write_array(unit,values(1:n),err)end if end subroutine soa_write_real_dp_field