From 0da9c451d528937c55eb7766e2d637d021833ee9 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Thu, 28 Jan 2016 12:59:58 +0000 Subject: [PATCH] Corrected some comments. --- gprMax/yee_cell_build.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gprMax/yee_cell_build.pyx b/gprMax/yee_cell_build.pyx index cabd6532..feae884e 100644 --- a/gprMax/yee_cell_build.pyx +++ b/gprMax/yee_cell_build.pyx @@ -206,7 +206,7 @@ cpdef build_hx_component(np.uint32_t[:, :, :] solid, np.int8_t[:, :, :, :] rigid ID[3, i, j, k] = numID1 else: # Averaging is required - # Make an ID composed of the names of the four materials that will be averaged + # Make an ID composed of the names of the two materials that will be averaged requiredID = G.materials[numID1].ID + '+' + G.materials[numID2].ID # Check if this material already exists tmp = requiredID.split('+') @@ -256,7 +256,7 @@ cpdef build_hy_component(np.uint32_t[:, :, :] solid, np.int8_t[:, :, :, :] rigid ID[4, i, j, k] = numID1 else: # Averaging is required - # Make an ID composed of the names of the four materials that will be averaged + # Make an ID composed of the names of the two materials that will be averaged requiredID = G.materials[numID1].ID + '+' + G.materials[numID2].ID # Check if this material already exists tmp = requiredID.split('+') @@ -306,7 +306,7 @@ cpdef build_hz_component(np.uint32_t[:, :, :] solid, np.int8_t[:, :, :, :] rigid ID[5, i, j, k] = numID1 else: # Averaging is required - # Make an ID composed of the names of the four materials that will be averaged + # Make an ID composed of the names of the two materials that will be averaged requiredID = G.materials[numID1].ID + '+' + G.materials[numID2].ID # Check if this material already exists tmp = requiredID.split('+')