5 ! Contributed by Jürgen Reuter
24 type(t2
), allocatable
:: component(:)
26 procedure
:: get_phs_config
=> process_get_phs_config
30 subroutine process_extract_resonance_history_set
&
31 (process
, include_trivial
, i_component
)
32 class(process_t
), intent(in
), target
:: process
33 logical, intent(in
), optional
:: include_trivial
34 integer, intent(in
), optional
:: i_component
36 i
= 1; if (present (i_component
)) i
= i_component
37 select
type (phs_config
=> process
%get_phs_config (i
))
43 end subroutine process_extract_resonance_history_set
45 function process_get_phs_config (process
, i_component
) result (phs_config
)
46 class(t
), pointer :: phs_config
47 class(process_t
), intent(in
), target
:: process
48 integer, intent(in
) :: i_component
49 if (allocated (process
%component
)) then
50 phs_config
=> process
%component(i_component
)%phs_config
54 end function process_get_phs_config