Definition at line 158 of file dc_scaledsec.f90.
◆ dcscaledsec_mod_sd()
type(dc_scaled_sec) function dc_scaledsec::mod::dcscaledsec_mod_sd |
( |
type(dc_scaled_sec), intent(in) |
sclsec, |
|
|
real(dp), intent(in) |
factor |
|
) |
| |
|
private |
Definition at line 1728 of file dc_scaledsec.f90.
1736 real(DP),
intent(in):: factor
1741 result =
mod( sclsec, factor_scl )
◆ dcscaledsec_mod_si()
type(dc_scaled_sec) function dc_scaledsec::mod::dcscaledsec_mod_si |
( |
type(dc_scaled_sec), intent(in) |
sclsec, |
|
|
integer, intent(in) |
factor |
|
) |
| |
|
private |
Definition at line 1690 of file dc_scaledsec.f90.
1698 integer,
intent(in):: factor
1703 result =
mod( sclsec, factor_scl )
◆ dcscaledsec_mod_sr()
type(dc_scaled_sec) function dc_scaledsec::mod::dcscaledsec_mod_sr |
( |
type(dc_scaled_sec), intent(in) |
sclsec, |
|
|
real, intent(in) |
factor |
|
) |
| |
|
private |
Definition at line 1709 of file dc_scaledsec.f90.
1717 real,
intent(in):: factor
1722 result =
mod( sclsec, factor_scl )
◆ dcscaledsec_mod_ss()
Definition at line 1618 of file dc_scaledsec.f90.
1628 real(DP):: sec_ary_mod(imin+imin:imax)
1629 integer:: i, move_down_index
1630 real(DP):: move_down
1631 real(DP):: factor_dp
1640 if ( .not. all( factor % sec_ary (imax-4:imax) == (/ 0, 0, 0, 0, 0 /) ) )
then 1642 &
'factor must be smaller than 10^12' )
1645 if ( sclsec == factor )
then 1650 factor_scl % sec_ary(imin:-1) = 0
1651 factor_scl % sec_ary(imin-imin:imax) = factor % sec_ary(imin:imax+imin)
1652 factor_scl % flag_negative = factor % flag_negative
1654 factor_dp = factor_scl
1657 do i = imax, imin + imin, -1
1659 if ( move_down /= 0.0_dp )
then 1660 if (
abs(factor_dp) > ( move_down + scale_factor ) * scale_factor_xx( i - imin ) )
exit 1663 if ( i > imin - 1 )
then 1665 &
mod( ( sclsec % sec_ary(i) + move_down ), factor_dp )
1667 sec_ary_mod(i) =
mod( move_down, factor_dp )
1670 if ( sec_ary_mod(i) /= 0.0_dp )
then 1671 move_down = sec_ary_mod(i) * scale_factor
1678 result = move_down * scale_factor_xx(move_down_index)
1679 if ( move_down_index > imin - 1 )
then 1680 result % sec_ary(imin:move_down_index) = sclsec % sec_ary(imin:move_down_index)
1683 result % flag_negative = sclsec % flag_negative
The documentation for this interface was generated from the following file: