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_nbti_init(cfg,density,c_pt)class(input_t),target,intent(in)::cfgreal(dp),intent(out)::densitytype(c_ptr),intent(out)::c_pttype(nbti_cfg_t),pointer::nbti_ptr! fortran pointerdensity=cfg%dbl('density',6000.0_dp)allocate(nbti_ptr)nbti_ptr%E0=cfg%dbl('E0',1.0e-5_dp)nbti_ptr%nPow=cfg%int('nPow',5)nbti_ptr%str1=cfg%dbl('str1',0.00742_dp)nbti_ptr%str2=cfg%dbl('str2',1.301e-9_dp)nbti_ptr%Bc20=cfg%dbl('Bc20',13.72_dp)nbti_ptr%Tc0_p=cfg%dbl('Tc0_p',8.79_dp)nbti_ptr%nu=cfg%dbl('nu',1.7_dp)nbti_ptr%CC0=cfg%dbl('CC0',8.92534e11_dp)nbti_ptr%p=cfg%dbl('p',0.98_dp)nbti_ptr%q=cfg%dbl('q',0.98_dp)nbti_ptr%n=cfg%dbl('n',1.96_dp)c_pt=c_loc(nbti_ptr)! translates fortran pointer to C pointerend subroutine material_nbti_init