00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 char bin_bhns_extr_omegaana_C[] = "$Header: /cvsroot/Lorene/C++/Source/Bin_bhns_extr/bin_bhns_extr_omegaana.C,v 1.1 2004/11/30 20:46:36 k_taniguchi Exp $" ;
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #include <math.h>
00043
00044
00045 #include "bin_bhns_extr.h"
00046 #include "unites.h"
00047
00048 void Bin_bhns_extr::analytical_omega() {
00049
00050 using namespace Unites ;
00051
00052
00053
00054 if ( !star.is_relativistic() ) {
00055
00056 cout << "BH-NS binary systems should be relativistic !!!" << endl ;
00057 abort() ;
00058 }
00059
00060 double rr = separ ;
00061 double mtot = mass_bh ;
00062
00063
00064 double compact = ggrav * mtot / rr ;
00065
00066 double omega2 ;
00067
00068 if ( star.is_irrotational() ) {
00069
00070
00071
00072
00073 omega2 = ggrav * mtot / pow(rr, 3.)
00074 * (1. - 2.75 * compact + 8.625 * compact*compact ) ;
00075
00076 }
00077 else {
00078
00079
00080
00081
00082 double a0sr = star.ray_eq() / rr ;
00083
00084
00085 double ired = double(5)/double(3) * ( 1. - double(6)/M_PI/M_PI ) ;
00086 omega2 = ggrav * mtot / pow(rr, 3.)
00087 * (1. - compact * ( 2.75 + 2.*a0sr*a0sr * ired
00088 - 0.48*pow(a0sr, 4) * ired*ired )
00089 + compact*compact * ( 8.625 + 2.75*a0sr*a0sr * ired
00090 + 2.*pow(a0sr, 4) * ired*ired ) ) ;
00091
00092 }
00093
00094 omega = sqrt( omega2 ) ;
00095
00096
00097 del_deriv() ;
00098
00099 }