Evaporation factor default value is back

This commit is contained in:
Luis Aleixo 2021-11-04 16:41:26 +01:00
parent 7aa2e3f187
commit 34ad2af425
2 changed files with 2 additions and 2 deletions

View file

@ -777,7 +777,7 @@ class ConcentrationModel:
#: evaporation factor: the particles' diameter is multiplied by this
# factor as soon as they are in the air (but AFTER going out of the,
# mask, if any).
evaporation_factor: float #= 0.3
evaporation_factor: float = 0.3
@property
def virus(self):

View file

@ -17,7 +17,7 @@ class KnownNormedconcentration(models.ConcentrationModel):
which therefore doesn't need other components. Useful for testing.
"""
normed_concentration_function: typing.Callable
normed_concentration_function: typing.Callable = lambda x: 0
def infectious_virus_removal_rate(self, time: float) -> models._VectorisedFloat:
# very large decay constant -> same as constant concentration