From 4fb7f1ef6547e40002d666ea885c6bc5700b4a1e Mon Sep 17 00:00:00 2001 From: Bryan Rumsey Date: Tue, 26 Jul 2022 13:47:38 -0400 Subject: [PATCH] Fixed defaults for Domain.add_point. closes #299. --- spatialpy/core/domain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spatialpy/core/domain.py b/spatialpy/core/domain.py index d2d1ffeb..98ac30ce 100644 --- a/spatialpy/core/domain.py +++ b/spatialpy/core/domain.py @@ -144,7 +144,7 @@ def compile_prep(self): self.listOfTypeIDs = list(self.typeNdxMapping.values()) self._get_type_name_mapping() - def add_point(self, point, vol=0, mass=0, type_id=1, nu=0, fixed=False, rho=None, c=0): + def add_point(self, point, vol=1, mass=1, type_id=1, nu=0, fixed=False, rho=None, c=10): """ Add a single point particle to the domain space.