@@ -387,4 +387,141 @@ subroutine f_aero_particle_set_vols( &
387387 )
388388 end subroutine
389389
390+ subroutine f_aero_particle_absorb_cross_sect ( &
391+ aero_particle_ptr_c , &
392+ absorb_cross_sect &
393+ ) bind(C)
394+
395+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
396+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
397+ real (c_double), intent (out ) :: absorb_cross_sect
398+
399+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
400+
401+ absorb_cross_sect = aero_particle_ptr_f% absorb_cross_sect
402+
403+ end subroutine
404+
405+ subroutine f_aero_particle_scatter_cross_sect ( &
406+ aero_particle_ptr_c , &
407+ scatter_cross_sect &
408+ ) bind(C)
409+
410+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
411+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
412+ real (c_double), intent (out ) :: scatter_cross_sect
413+
414+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
415+
416+ scatter_cross_sect = aero_particle_ptr_f% scatter_cross_sect
417+
418+ end subroutine
419+
420+ subroutine f_aero_particle_asymmetry ( &
421+ aero_particle_ptr_c , &
422+ asymmetry &
423+ ) bind(C)
424+
425+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
426+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
427+ real (c_double), intent (out ) :: asymmetry
428+
429+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
430+
431+ asymmetry = aero_particle_ptr_f% asymmetry
432+
433+ end subroutine
434+
435+ subroutine f_aero_particle_greatest_create_time ( &
436+ aero_particle_ptr_c , &
437+ greatest_create_time &
438+ ) bind(C)
439+
440+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
441+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
442+ real (c_double), intent (out ) :: greatest_create_time
443+
444+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
445+
446+ greatest_create_time = aero_particle_ptr_f% greatest_create_time
447+
448+ end subroutine
449+
450+ subroutine f_aero_particle_least_create_time ( &
451+ aero_particle_ptr_c , &
452+ least_create_time &
453+ ) bind(C)
454+
455+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
456+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
457+ real (c_double), intent (out ) :: least_create_time
458+
459+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
460+
461+ least_create_time = aero_particle_ptr_f% least_create_time
462+
463+ end subroutine
464+
465+ subroutine f_aero_particle_n_orig_part ( &
466+ aero_particle_ptr_c , &
467+ n_orig_part , &
468+ n_orig_part_size &
469+ ) bind(C)
470+
471+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
472+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
473+ integer (c_int), intent (in ) :: n_orig_part_size
474+ integer (c_int), dimension (n_orig_part_size), intent (out ) :: n_orig_part
475+
476+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
477+
478+ n_orig_part = aero_particle_ptr_f% n_orig_part
479+
480+ end subroutine
481+
482+ subroutine f_aero_particle_id ( &
483+ aero_particle_ptr_c , &
484+ id &
485+ ) bind(C)
486+
487+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
488+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
489+ integer (c_int), intent (out ) :: id
490+
491+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
492+
493+ id = aero_particle_ptr_f% id
494+
495+ end subroutine
496+
497+ subroutine f_aero_particle_refract_shell ( &
498+ aero_particle_ptr_c , &
499+ refract_shell &
500+ ) bind(C)
501+
502+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
503+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
504+ complex (c_double_complex), intent (out ) :: refract_shell
505+
506+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
507+
508+ refract_shell = aero_particle_ptr_f% refract_shell
509+
510+ end subroutine
511+
512+ subroutine f_aero_particle_refract_core ( &
513+ aero_particle_ptr_c , &
514+ refract_core &
515+ ) bind(C)
516+
517+ type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
518+ type (c_ptr), intent (in ) :: aero_particle_ptr_c
519+ complex (c_double_complex), intent (out ) :: refract_core
520+
521+ call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
522+
523+ refract_core = aero_particle_ptr_f% refract_core
524+
525+ end subroutine
526+
390527end module
0 commit comments