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
integer,
private
::
ig
integer,
private
::
ik
integer,
private
::
u
logical,
private
::
wrote_any
Source Code
subroutine schema_write_doc_short(this,path)!! Write only non-default keys (MOM6 parameter_doc.short). Groups!! with no non-default keys are omitted entirely.class(nml_schema_t),intent(in)::thischaracter(len=*),intent(in)::pathinteger::u,ig,iklogical::wrote_anyopen(newunit=u,file=path,status="replace",action="write")do ig=1,size(this%groups)wrote_any=.false.if(allocated(this%groups(ig)%keys))then! First pass: does any non-default key exist in this group?do ik=1,size(this%groups(ig)%keys)if(.not.this%groups(ig)%keys(ik)%key%is_default())wrote_any=.true.end do end if if(.not.wrote_any)cycle write(u,"(A)")"&"//this%groups(ig)%name//"_nml"do ik=1,size(this%groups(ig)%keys)call write_key_line(u,this%groups(ig)%keys(ik),.true.,wrote_any)end do write(u,"(A)")"/"end do close(u)end subroutine schema_write_doc_short