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.

ABACUS_State_Ensemble.h 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**********************************************************
  2. This software is part of J.-S. Caux's ABACUS library.
  3. Copyright (c) J.-S. Caux.
  4. -----------------------------------------------------------
  5. File: ABACUS_State_Ensemble.h
  6. Purpose: Define state ensembles.
  7. ***********************************************************/
  8. #ifndef ABACUS_STATE_ENSEMBLE_H
  9. #define ABACUS_STATE_ENSEMBLE_H
  10. #include "ABACUS.h"
  11. namespace ABACUS {
  12. struct LiebLin_Diagonal_State_Ensemble {
  13. int nstates;
  14. Vect<LiebLin_Bethe_State> state;
  15. Vect<DP> weight;
  16. LiebLin_Diagonal_State_Ensemble ();
  17. LiebLin_Diagonal_State_Ensemble (const LiebLin_Bethe_State& RefState, int nstates_req);
  18. LiebLin_Diagonal_State_Ensemble (DP c_int, DP L, int N, const Root_Density& rho);
  19. LiebLin_Diagonal_State_Ensemble& operator= (const LiebLin_Diagonal_State_Ensemble& rhs);
  20. void Load (DP c_int, DP L, int N, const char* ensfile_Cstr);
  21. void Save (const char* ensfile_Cstr);
  22. };
  23. LiebLin_Diagonal_State_Ensemble LiebLin_Thermal_Saddle_Point_Ensemble (DP c_int, DP L, int N, DP kBT);
  24. } // namespace ABACUS
  25. #endif