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.
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.
Source Code
subroutine material_init(me,cfg)class(material_t),pointer,intent(inout)::meclass(input_t),target,intent(in)::cfginteger::icharacter(:),allocatable::matmat=cfg%str('material')do i=1,size(materials)if(mat==materials(i)%material)me=>materials(i)enddo if(.NOT.associated(me))error stop mat//' material does not exist'end subroutine material_init