class Oil3D(Oil): """Defining properties of an oil object/particles.""" variables = Oil.add_variables([ # Entrainment length scale, see Tkalich and Chan (2002) ('entrainment_length_scale', {'dtype': np.float32, 'units': 'm', 'default': 0.03}), ('diameter', {'dtype': np.float32, # Particle diameter 'units': 'm', 'default': 0.}) ])
class Oil3D(Oil): """Extending Oil class with variables relevant for the vertical.""" variables = Oil.add_variables([ # Entrainment length scale, see Tkalich and Chan (2002) ('entrainment_length_scale', { 'dtype': np.float32, 'units': 'm', 'default': 0.03 }), ( 'diameter', { 'dtype': np.float32, # Particle diameter 'units': 'm', 'default': 0. }) ])