![]() |
Bimetric 3+1 toolkit for spherical symmetry
|
00001 /** @file eomConstraints.h 00002 * @brief The constraint equations (without sources). 00003 * @image html constraints.png 00004 */ 00005 00006 Real BimetricEvolve::eq_gC_rho( Int m, Int n ) 00007 { 00008 return (2 * gDA(m,n) * gDB(m,n) - 2 * gDB_r(m,n) - 3 * pow2(gDB(m,n))) 00009 /*0*/ / pow2(gA(m,n)) + (pow2(gK(m,n)) - pow2(gKD(m,n))) / 3. + (gSig(m,n) 00010 /*1*/ / (gA(m,n) * gB(m,n)) + (2 * gDA(m,n) - 6 * gDB(m,n) + gSig(m,n)) 00011 /*1*/ / pow2(gA(m,n))) / r(m,n); 00012 } 00013 00014 Real BimetricEvolve::eq_fC_rho( Int m, Int n ) 00015 { 00016 return (2 * fDA(m,n) * fDB(m,n) - 2 * fDB_r(m,n) - 3 * pow2(fDB(m,n))) 00017 /*0*/ / pow2(fA(m,n)) + (pow2(fK(m,n)) - pow2(fKD(m,n))) / 3. + (fSig(m,n) 00018 /*1*/ / (fA(m,n) * fB(m,n)) + (2 * fDA(m,n) - 6 * fDB(m,n) + fSig(m,n)) 00019 /*1*/ / pow2(fA(m,n))) / r(m,n); 00020 } 00021 00022 Real BimetricEvolve::eq_gC_j( Int m, Int n ) 00023 { 00024 return (2 * (3 * gDB(m,n) * gKD(m,n) + gKD_r(m,n) - gK_r(m,n))) / 3. + (2 00025 /*1*/ * gKD(m,n)) / r(m,n); 00026 } 00027 00028 Real BimetricEvolve::eq_fC_j( Int m, Int n ) 00029 { 00030 return (2 * (3 * fDB(m,n) * fKD(m,n) + fKD_r(m,n) - fK_r(m,n))) / 3. + (2 00031 /*1*/ * fKD(m,n)) / r(m,n); 00032 } 00033 00034 Real BimetricEvolve::eq_C_bimConsLaw( Int m, Int n ) 00035 { 00036 return (fA(m,n) * (2 * (fKD(m,n) * P_1_1(R(m,n)) + (-gK(m,n) + gKD(m,n)) * Lt(m,n) 00037 /*3*/ * P_1_2(R(m,n))) + fK(m,n) * (-2 * P_1_1(R(m,n)) + 3 * P_2_1(R(m,n))))) 00038 /*0*/ / 3. + (P_2_1(R(m,n)) * p_r(m,n)) / Lt(m,n) + (p(m,n) * ((2 * fA(m,n) 00039 /*3*/ * P_1_2(R(m,n))) / gA(m,n) + (2 * gA(m,n) * P_1_1(R(m,n)) * R(m,n)) 00040 /*2*/ / fA(m,n))) / r(m,n) + p(m,n) * ((2 * fA(m,n) * gDB(m,n) * P_1_2(R(m,n))) 00041 /*1*/ / gA(m,n) + (2 * fDB(m,n) * gA(m,n) * P_1_1(R(m,n)) * R(m,n)) / fA(m,n)) 00042 /*0*/ + gA(m,n) * (-((gK(m,n) + 2 * gKD(m,n)) * P_2_1(R(m,n))) / 3. - (2 00043 /*2*/ * P_1_1(R(m,n)) * (gK(m,n) - gKD(m,n) + (-fK(m,n) + fKD(m,n)) * Lt(m,n) 00044 /*3*/ * R(m,n))) / 3.); 00045 } 00046 00047 Real BimetricEvolve::eq_C_1( Int m, Int n ) 00048 { 00049 return -(k_g * g_rho(m,n)) + (2 * gDA(m,n) * gDB(m,n) - 2 * gDB_r(m,n) - 3 00050 /*1*/ * pow2(gDB(m,n))) / pow2(gA(m,n)) + (pow2(gK(m,n)) - pow2(gKD(m,n))) / 3. 00051 /*0*/ + (gSig(m,n) / (gA(m,n) * gB(m,n)) + (2 * gDA(m,n) - 6 * gDB(m,n) 00052 /*2*/ + gSig(m,n)) / pow2(gA(m,n))) / r(m,n); 00053 } 00054 00055 Real BimetricEvolve::eq_C_2( Int m, Int n ) 00056 { 00057 return -(k_f * f_rho(m,n)) + (2 * fDA(m,n) * fDB(m,n) - 2 * fDB_r(m,n) - 3 00058 /*1*/ * pow2(fDB(m,n))) / pow2(fA(m,n)) + (pow2(fK(m,n)) - pow2(fKD(m,n))) / 3. 00059 /*0*/ + (fSig(m,n) / (fA(m,n) * fB(m,n)) + (2 * fDA(m,n) - 6 * fDB(m,n) 00060 /*2*/ + fSig(m,n)) / pow2(fA(m,n))) / r(m,n); 00061 } 00062 00063 Real BimetricEvolve::eq_C_3( Int m, Int n ) 00064 { 00065 return k_f * ((gA(m,n) * (3 * gDB(m,n) * gKD(m,n) + gKD_r(m,n) - gK_r(m,n))) / 3. 00066 /*1*/ - (k_g * pfS(m,n)) / (2. * pow2(gB(m,n)))) + (k_g * fA(m,n) * (3 * fDB(m,n) 00067 /*2*/ * fKD(m,n) + fKD_r(m,n) - fK_r(m,n)) * pow2(R(m,n))) / 3. + (k_f * gA(m,n) 00068 /*1*/ * gKD(m,n) + k_g * fA(m,n) * fKD(m,n) * pow2(R(m,n))) / r(m,n); 00069 } 00070 00071 Real BimetricEvolve::eq_C_4( Int m, Int n ) 00072 { 00073 return (fA(m,n) * (2 * (fKD(m,n) * P_1_1(R(m,n)) + (-gK(m,n) + gKD(m,n)) * Lt(m,n) 00074 /*3*/ * P_1_2(R(m,n))) + fK(m,n) * (-2 * P_1_1(R(m,n)) + 3 * P_2_1(R(m,n))))) 00075 /*0*/ / 3. + (P_2_1(R(m,n)) * p_r(m,n)) / Lt(m,n) + (p(m,n) * ((2 * fA(m,n) 00076 /*3*/ * P_1_2(R(m,n))) / gA(m,n) + (2 * gA(m,n) * P_1_1(R(m,n)) * R(m,n)) 00077 /*2*/ / fA(m,n))) / r(m,n) + p(m,n) * ((2 * fA(m,n) * gDB(m,n) * P_1_2(R(m,n))) 00078 /*1*/ / gA(m,n) + (2 * fDB(m,n) * gA(m,n) * P_1_1(R(m,n)) * R(m,n)) / fA(m,n)) 00079 /*0*/ + gA(m,n) * (-((gK(m,n) + 2 * gKD(m,n)) * P_2_1(R(m,n))) / 3. - (2 00080 /*2*/ * P_1_1(R(m,n)) * (gK(m,n) - gKD(m,n) + (-fK(m,n) + fKD(m,n)) * Lt(m,n) 00081 /*3*/ * R(m,n))) / 3.); 00082 }