From 0ebcf6aa157cb9781234a7558fcf63d3bd1c041a Mon Sep 17 00:00:00 2001 From: Johanna <johanna@zijderveld.de> Date: Wed, 8 May 2024 10:03:59 +0200 Subject: [PATCH] fix formattinga and add nk --- docs/source/index.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/source/index.md b/docs/source/index.md index 0e4ce2d..73e51a7 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -47,7 +47,7 @@ Finding a mean-field solution is a 4-step process: import pymf model = pymf.Model(h_0, h_int, filling=filling) -mf_sol = pymf.solver(model, guess) +mf_sol = pymf.solver(model, guess, nk=nk) h_full = pymf.add_tb(h_0, mf_sol) ``` @@ -56,12 +56,15 @@ h_full = pymf.add_tb(h_0, mf_sol) Here is why you should use pymf: * Minimal - It contains the minimum of what you need to solve mean-field equations. + + Pymf contains the minimum of what you need to solve mean-field equations. * Simple + The workflow is simple and straightforward. * Time-effective + As pymf uses tight-binding dictionaries as input and returns, you can calculate the mean-field corrections on a coarse grid, but use the full Hamiltonian on a fine grid for observables afterward. -- GitLab