From 093e9f6188c4ba71f43cdde323f3996adb10743a Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Tue, 22 Dec 2020 13:57:33 +0100
Subject: [PATCH] Lattice.md ctd

---
 devtools/architecture/Lattice.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/devtools/architecture/Lattice.md b/devtools/architecture/Lattice.md
index 41910b4fd55..8c6d38792c4 100644
--- a/devtools/architecture/Lattice.md
+++ b/devtools/architecture/Lattice.md
@@ -7,6 +7,15 @@ Typical sample construction with a 3d lattice:
     iff = ba.InterferenceFunction3DLattice(lattice)
     iff.setPositionVariance(1.)
     iff.setPeakShape(peak_shape)
+
+    layout = ba.ParticleLayout()
+    layout.addParticle(particle)
+    layout.setTotalParticleSurfaceDensity(.01)
+    layout.setInterferenceFunction(iff)
+    layout.setWeight(1.0)
+
+    vacuum_layer = ba.Layer(m_vacuum)
+    vacuum_layer.addLayout(layout)
 ```
 
 `bake::FCCLattice` returns a `Lattice3d` with an fcc primitive cell.
-- 
GitLab