Skip to content
Snippets Groups Projects
Commit 9f4ae040 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix typos

parent 5b567dc6
Branches
No related merge requests found
Pipeline #72408 passed with stages
in 27 seconds
......@@ -35,4 +35,4 @@ myst_enable_extensions = [
html_theme = 'sphinx_book_theme'
html_static_path = ['zipped-examples']
html_title = "waLBerla next-codegen"
html_title = "sfg-waLBerla"
......@@ -25,7 +25,7 @@ In your C++ code, you must set up an index list which lists all cells the sweep
Due to waLBerla's block-structured nature, the index list will actually be a collection of cell vectors,
with one vector per block.
The SFG library provides `sfg::SparseIndexList` for this, which is defined in `sfg/SparseIteration.hpp`.
The following code sample create and populate an index list, using a prediate here called `isOnSpiral`.
The following code sample creates and populates an index list, using a predicate here called `isOnSpiral`.
The index list's internal block data ID must then be passed to the sweep's constructor.
:::{literalinclude} ../examples/SparseSpiral/SparseSpiral.cpp
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment