You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ODSLF_Chem_Pot.cc 584B

123456789101112131415161718192021222324
  1. /**********************************************************
  2. This software is part of J.-S. Caux's ABACUS library.
  3. Copyright (c) J.-S. Caux.
  4. -----------------------------------------------------------
  5. File: src/ODSLF/ODSLF_Chem_Pot.cc
  6. Purpose: calculates the chemical potential.
  7. ***********************************************************/
  8. #include "ABACUS.h"
  9. namespace ABACUS {
  10. DP Chemical_Potential (const ODSLF_Bethe_State& RefState)
  11. {
  12. return(-H_vs_M (RefState.chain.Delta, RefState.chain.Nsites, RefState.base.Mdown)); // - sign since E_{M+1} - E_M = -H
  13. }
  14. }