@@ -13,7 +13,7 @@ int main(int argc, char *argv[]) {
1313
1414 double n = atof (argv[1 ]); // Polytropic index (first command-line argument)
1515 double tol = 1e-12 ; // Required tolerance
16- int nr = 50 ; // # of radial points
16+ int nr = 100 ; // # of radial points
1717 int nt = 32 ; // # of points in theta
1818 int nex = 25 ; // # of points in external domain
1919 double omega = atof (argv[2 ]); // Angular velocity (second command-line argument)
@@ -217,9 +217,9 @@ int main(int argc, char *argv[]) {
217217 /* Here we use the symbolic equation eq that we have defined before.
218218 * We have to write (only in the internal domain):
219219 *
220- * D(eq) D(eq) D(eq) D(eq)
221- * ------D(Phi ) + --------- D(Lambda) + ------- D(Phi0) + -----D(r) = -eq
222- * D(Phi) D(Lambda) D(Phi0) D(r)
220+ * D(eq) D(eq) D(eq) D(eq)
221+ * ------ *D(phi ) + ------- * D(Lambda) + ------* D(Phi0) + -----* D(r) = -eq
222+ * D(Phi) D(Lambda) D(Phi0) D(r)
223223 *
224224 * with the boundary conditions:
225225 *
@@ -269,9 +269,9 @@ int main(int argc, char *argv[]) {
269269
270270 /* We use the symbolic equation eq_ex for writing (now in the external domain)
271271 *
272- * D(eq_ex) D(eq_ex)
272+ * D(eq_ex) D(eq_ex)
273273 * --------D(Phiex) + --------D(r) = -eq_ex
274- * D(Phiex) D(r)
274+ * D(Phiex) D(r)
275275 *
276276 * with boundary conditions:
277277 *
@@ -408,7 +408,7 @@ int main(int argc, char *argv[]) {
408408
409409 /* **** Equation for eta *****/
410410
411- /* eta should be equal to the value of R at theta=0
411+ /* eta should be equal to the value of R at theta=0 (the pole)
412412 */
413413
414414 op.add_d (0 , " eta" , " eta" , ones (1 , 1 )); // Internal domain
0 commit comments