00001 subroutine update_parameter_BNS(conv_den)
00002 use grid_parameter, only : EQ_point, nrf_deform, nrf, NS_shape, &
00003 & sw_sepa
00004 use def_matter_parameter, only : ROT_LAW
00005 use interface_update_parameter_BNS_peos
00006 use interface_update_parameter_BNS_peos_lecc
00007 use interface_update_parameter_BNS_peos_irrot
00008 use interface_update_parameter_BNS_peos_lecc_irrot
00009 use interface_update_parameter_BNS_peos_spin
00010 use interface_update_parameter_BNS_peos_lecc_spin
00011
00012
00013
00014 use interface_update_parameter_axisym_peos_drot
00015 implicit none
00016 real(8), intent(in) :: conv_den
00017 if (ROT_LAW.eq.'DR') then
00018 call update_parameter_axisym_peos_drot(conv_den)
00019 else
00020
00021
00022 if (NS_shape.eq.'CO') then
00023 if (EQ_point.eq.'LE') then
00024 call update_parameter_BNS_peos_lecc(conv_den)
00025 else
00026 call update_parameter_BNS_peos(conv_den)
00027 end if
00028 end if
00029
00030 if (NS_shape.eq.'IR') then
00031 if (EQ_point.eq.'LE') then
00032 call update_parameter_BNS_peos_lecc_irrot(conv_den)
00033 else
00034 call update_parameter_BNS_peos_irrot(conv_den)
00035 end if
00036 end if
00037
00038 if (NS_shape.eq.'SP') then
00039 if (EQ_point.eq.'LE') then
00040 call update_parameter_BNS_peos_lecc_spin(conv_den)
00041 else
00042 call update_parameter_BNS_peos_spin(conv_den)
00043 end if
00044 end if
00045
00046 if(NS_shape.ne.'CO' .and. NS_shape.ne.'IR' .and. NS_shape.ne.'SP') then
00047 write(6,*) "NS_shape is neither CO nor IR nor SP. Exiting..."
00048 stop
00049 end if
00050
00051
00052
00053
00054
00055 end if
00056 end subroutine update_parameter_BNS