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_copper_init(cfg,density,c_pt)class(input_t),target,intent(in)::cfgreal(dp),intent(out)::densitytype(c_ptr),intent(out)::c_pttype(copper_cfg_t),pointer::copper_ptr! fortran pointerdensity=cfg%dbl('density',8960.0_dp)allocate(copper_ptr)copper_ptr%RRR=cfg%dbl('RRR',100.0_dp)c_pt=c_loc(copper_ptr)! translates fortran pointer to C pointerend subroutine material_copper_init