From f8f18579a85b4629e64881fc1f01975adba13e49 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Fri, 6 May 2016 12:20:05 +0100 Subject: [PATCH] Updated to new-style classes. --- gprMax/materials.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gprMax/materials.py b/gprMax/materials.py index ec88e5d6..e4590943 100644 --- a/gprMax/materials.py +++ b/gprMax/materials.py @@ -21,7 +21,7 @@ import numpy as np from gprMax.constants import e0, m0, floattype, complextype -class Material(): +class Material(object): """Materials, their properties and update coefficients.""" # Maximum number of dispersive material poles in a model @@ -144,7 +144,7 @@ class Material(): self.srce = 1 / EA -class PeplinskiSoil: +class PeplinskiSoil(object): """Soil objects that are characterised according to a mixing model by Peplinski (http://dx.doi.org/10.1109/36.387598).""" def __init__(self, ID, sandfraction, clayfraction, bulkdensity, sandpartdensity, watervolfraction):