From b277c25a61c78ba0b6309b44459b917bdc079ed6 Mon Sep 17 00:00:00 2001 From: David Seus <david.seus@ians.uni-stuttgart.de> Date: Tue, 13 Oct 2020 16:03:30 +0200 Subject: [PATCH] explain domain substructuring block --- LDDsimulation/domainSubstructuring.py | 2 +- Usecases/README.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/LDDsimulation/domainSubstructuring.py b/LDDsimulation/domainSubstructuring.py index 2a3de3b..bf9c7aa 100644 --- a/LDDsimulation/domainSubstructuring.py +++ b/LDDsimulation/domainSubstructuring.py @@ -1,4 +1,4 @@ -"""Class domainSubstructuring, Copyright 2020, David Seus +"""Class domainSubstructuring and example substructurings, Copyright 2020, David Seus Provides the base class and example classes for domain substructurings used for LDD simulations within the LDDsimulation class. diff --git a/Usecases/README.md b/Usecases/README.md index d8aa96b..d583c84 100644 --- a/Usecases/README.md +++ b/Usecases/README.md @@ -273,6 +273,15 @@ adjacent_subdomains = substructuring.adjacent_subdomains subdomain_def_points = substructuring.subdomain_def_points outer_boundary_def_points = substructuring.outer_boundary_def_points ~~~ +This block sets the domain of simulation and its subdomain substructuring. +In this block you only need to change the line +~~~ +substructuring = dss.twoSoilLayers() +~~~ +This block calls constructors of substructurings. These are classes defined in +`../LDDsimulation/domainSubstructuring.py`. +If you want to define your own substructurings have a look in that file. +Some explantion is given in that file on how to define substructuring classes. ### MODEL CONFIGURATION ~~~python -- GitLab