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

Final small fix, removed unnecessary notebook

parent 73096ba5
Branches
Tags
No related merge requests found
...@@ -107,7 +107,7 @@ We will now integrate the generated classes into a waLBerla application. After a ...@@ -107,7 +107,7 @@ We will now integrate the generated classes into a waLBerla application. After a
#include "DensityAndVelocityFieldSetter.h" #include "DensityAndVelocityFieldSetter.h"
\endcode \endcode
We set up typedef aliases for the generated pack info and the D2Q9 stencil. For the PDF and velocity fields, we use instances of the field::GhostLayerField template. The PDF field has nine entries per spatial dimension, as specified by the `Stencil_T::Size` parameter. As our domain is two-dimensional, the velocity at each lattice node is a two-dimensional vector. Thus, we set up the velocity field to have two index dimensions passing the stencil's dimension as a template parameter. Finally, we also define a typedef alias for our generated NoSlip boundary. We set up typedef aliases for the generated pack info and the D2Q9 stencil. For the PDF and velocity fields, we use instances of the field::GhostLayerField template. The number of entries of the PDF field is specified by the `Stencil_T::Size` parameter. As our domain is two-dimensional, the velocity at each lattice node is a two-dimensional vector. Thus, we set up the velocity field to have two index dimensions passing the stencil's dimension as a template parameter. Finally, we also define a typedef alias for our generated NoSlip boundary.
\code \code
// Communication Pack Info // Communication Pack Info
......
This diff is collapsed.
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