User: zetienne Date: 2013/10/07 11:28 AM
Modified: /trunk/src/ driver_conserv_to_prims.C, driver_evaluate_MHD_rhs.C
Log: Fix some minor issues in code comments.
File Changes:
Directory: /trunk/src/ ======================
File [modified]: driver_conserv_to_prims.C Delta lines: +7 -7 =================================================================== --- trunk/src/driver_conserv_to_prims.C 2013-10-07 16:25:07 UTC (rev 8) +++ trunk/src/driver_conserv_to_prims.C 2013-10-07 16:28:00 UTC (rev 9) @@ -1,14 +1,14 @@ /* We evolve forward in time a set of functions called the - * "conservative variables" forward in time, and any time - * the conserv's are updated, we must solve for the - * primitive variables (rho, pressure, velocities) using a - * Newton-Raphson technique, before reconstructing & - * evaluating the RHSs of the MHD equations again. + * "conservative variables", and any time the conserv's + * are updated, we must solve for the primitive variables + * (rho, pressure, velocities) using a Newton-Raphson + * technique, before reconstructing & evaluating the RHSs + * of the MHD equations again. * * This file contains the driver routine for this Newton- * Raphson solver. Truncation errors in conservative - * variables can lead to no solutions in primitive - * variables. We correct for these errors in the code + * variables can lead to no physical solutions in + * primitive variables. We correct for these errors here * through a number of tricks described in the appendices * of http://arxiv.org/pdf/1112.0568.pdf. *
File [modified]: driver_evaluate_MHD_rhs.C Delta lines: +1 -1 =================================================================== --- trunk/src/driver_evaluate_MHD_rhs.C 2013-10-07 16:25:07 UTC (rev 8) +++ trunk/src/driver_evaluate_MHD_rhs.C 2013-10-07 16:28:00 UTC (rev 9) @@ -131,7 +131,7 @@
- // 1) First initialize {rho_star_rhs,tau_rhs,st_x_rhs,st_y_rhs,st_z_rhs} to zero + // First initialize {rho_star_rhs,tau_rhs,st_x_rhs,st_y_rhs,st_z_rhs} to zero #pragma omp parallel for for(int k=0;k<cctk_lsh[2];k++) for(int j=0;j<cctk_lsh[1];j++) for(int i=0;i<cctk_lsh[0];i++) { int index=CCTK_GFINDEX3D(cctkGH,i,j,k);
commits@lists.einsteintoolkit.org