From 6a1da92e892b60b3ce131493feaa06a9082bd492 Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Tue, 21 Jan 2025 17:22:45 +0100 Subject: [PATCH] short amendmend to the docs --- user_manual/guides/SparseSweeps.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user_manual/guides/SparseSweeps.md b/user_manual/guides/SparseSweeps.md index 03fea2e..a252253 100644 --- a/user_manual/guides/SparseSweeps.md +++ b/user_manual/guides/SparseSweeps.md @@ -8,6 +8,8 @@ The code shown in this guide is taken from the *SparseSpiral* example: `sfg-walberla` supports the generation of sparse sweeps, which operate only on a subset of cells defined by a user-provided *index list*. +This can be useful if a numerical rule needs to be applied only in specific regions of the simulation +domain, especially if those regions have an irregular geometry. To turn your sweep into a sparse sweep, simply set its `sparse` property to `True`. To illustrate, here's a sparse sweep that stores the coordinates of each cell -- GitLab