diff --git a/gprMax/gprMax.py b/gprMax/gprMax.py index ad0915c7..c0b20ebe 100644 --- a/gprMax/gprMax.py +++ b/gprMax/gprMax.py @@ -35,7 +35,7 @@ from gprMax.input_cmds_multiuse import process_multicmds from gprMax.input_cmds_singleuse import process_singlecmds from gprMax.materials import Material from gprMax.output import prepare_output_file, write_output -from gprMax.pml import build_pml, update_electric_pml, update_magnetic_pml +from gprMax.pml import build_pmls, update_electric_pml, update_magnetic_pml from gprMax.utilities import update_progress, logo, human_size from gprMax.yee_cell_build import build_electric_components, build_magnetic_components @@ -276,7 +276,7 @@ def run_model(args, modelrun, numbermodelruns, inputfile, usernamespace): print('\nInput file processed in [HH:MM:SS]: {}'.format(datetime.timedelta(seconds=int(tinputprocend - tinputprocstart)))) # Build the PML and calculate initial coefficients - build_pml(G) + build_pmls(G) # Build the model, i.e. set the material properties (ID) for every edge of every Yee cell tbuildstart = perf_counter() diff --git a/gprMax/pml.py b/gprMax/pml.py index b9ee35b9..15813e92 100644 --- a/gprMax/pml.py +++ b/gprMax/pml.py @@ -228,7 +228,7 @@ class PML: self.HRF[x, :] = (2*Hsigma*G.dt) / (Hkappa * tmp) -def build_pml(G): +def build_pmls(G): """This function builds instances of the PML and calculates the initial parameters and coefficients including setting profile (based on underlying material er and mr from solid array). """