User: zetienne Date: 2014/01/13 09:37 AM
Removed: /trunk/src/ apply_frozen_boundary_condition.C, output_BC_error.C
Log: Remove unused files
File Changes:
Directory: /trunk/src/ ======================
File [removed]: apply_frozen_boundary_condition.C Delta lines: +0 -57 =================================================================== --- trunk/src/apply_frozen_boundary_condition.C 2013-10-16 20:51:11 UTC (rev 17) +++ trunk/src/apply_frozen_boundary_condition.C 2014-01-13 15:37:54 UTC (rev 18) @@ -1,57 +0,0 @@ -/**************************************** - * Apply frozen boundary conditions. - * - * IMPORTANT NOTE: This is a placeholder - * function for frozen BCs that WILL BE - * DELETED once IllinoisGRMHD moves to the - * standard ET boundary condition - * interface. Zach is aware that this - * function is not exactly compliant with - * ET coding standards, but given the - * short lifetime of this code, it - * shouldn't matter. - ****************************************/ - -#include "cctk.h" -#include <cstdio> -#include <cstdlib> -#include <cmath> -#include <sys/time.h> -#include "cctk_Arguments.h" -#include "cctk_Parameters.h" - -extern "C" void apply_frozen_boundary_condition(CCTK_ARGUMENTS) { - DECLARE_CCTK_ARGUMENTS; - DECLARE_CCTK_PARAMETERS; - - int levelnumber = GetRefinementLevel(cctkGH); - - if(levelnumber==0) { - - 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++) { - if(i<cctk_nghostzones[0] || i>cctk_lsh[0]-cctk_nghostzones[0]-1 || - j<cctk_nghostzones[1] || j>cctk_lsh[1]-cctk_nghostzones[1]-1 || - k<cctk_nghostzones[2] || k>cctk_lsh[2]-cctk_nghostzones[2]-1) { - - int index = CCTK_GFINDEX3D(cctkGH,i,j,k); - - rho_star[index] = rho_star_p[index]; - tau[index] = tau_p[index]; - - mhd_st_x[index] = mhd_st_x_p[index]; - mhd_st_y[index] = mhd_st_y_p[index]; - mhd_st_z[index] = mhd_st_z_p[index]; - - psi6phi[index] = psi6phi_p[index]; - Ax[index] = Ax_p[index]; - Ay[index] = Ay_p[index]; - Az[index] = Az_p[index]; - - // FIXME: the following line (commented out) yields the following error message from - // the Intel compiler (icpc) v 13.1.3 20130607 . - // error: name followed by "::" must be a class or namespace name - if(std::isnan(mhd_st_x_p[index])) {printf("BAD\n");exit(1);} - } - } - } -}
File [removed]: output_BC_error.C Delta lines: +0 -15 =================================================================== --- trunk/src/output_BC_error.C 2013-10-16 20:51:11 UTC (rev 17) +++ trunk/src/output_BC_error.C 2014-01-13 15:37:54 UTC (rev 18) @@ -1,15 +0,0 @@ -#include "cctk.h" -#include <cstdio> -#include <cstdlib> -#include <cmath> -#include <sys/time.h> -#include "cctk_Arguments.h" -#include "cctk_Parameters.h" - -extern "C" void output_BC_error(CCTK_ARGUMENTS) { - DECLARE_CCTK_ARGUMENTS; - DECLARE_CCTK_PARAMETERS; - - printf("ERROR: Current code is only compatible with FROZEN boundary conditions for both EM fields and conservative evolution variables!\n"); - exit(1); -}
commits@lists.einsteintoolkit.org