From 2f23464588abcb23729af2fe784543b96bf702bb Mon Sep 17 00:00:00 2001 From: Utkarsh Singh Date: Thu, 16 Jan 2025 20:54:53 +0100 Subject: [PATCH] anew --- _posts/2024-12-12-wannier_elf.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2024-12-12-wannier_elf.md b/_posts/2024-12-12-wannier_elf.md index 42fcfc5e..a0d1154d 100644 --- a/_posts/2024-12-12-wannier_elf.md +++ b/_posts/2024-12-12-wannier_elf.md @@ -189,7 +189,7 @@ Note that, at the end, we need $$D_h(r)$$ and $$D(r) = \tau - \tau_w(r)$$. In terms of implementation, the electron density and its gradient can be constructed as: -```python +{% highlight python %} # Process the wannier function. for i, wf in enumerate(self.wannier_data): self.logger.info( @@ -216,7 +216,7 @@ for i, wf in enumerate(self.wannier_data): # Double density for non-spin-polarized system density *= 2.0 -``` +{% endhighlight %} ---