SOLIDstate
A C++ library for solid state physics
|
Ensemble: ParityGrandCanonical (int L, int parity) with: L – sites parity – parity Sector (even or odd number of particles) More...
#include <ParityGrandCanonical.hpp>
Public Member Functions | |
ParityGrandCanonical (int _L, int _parity) | |
Construct a new ParityGrandCanonical object. More... | |
void | SetSize () override |
Set the Size object. More... | |
void | FillSectors () override |
Filling Ensemble with selected sectors. More... | |
Public Member Functions inherited from solid::Ensemble | |
virtual | ~Ensemble () |
Destroy the Ensemble object. More... | |
Public Member Functions inherited from solid::IEnsemble | |
virtual | ~IEnsemble () |
Destroy the IEnsemble object. More... | |
Public Attributes | |
int | parity = 0 |
parity of the Ensemble More... | |
Public Attributes inherited from solid::Ensemble | |
int | L |
number of sites More... | |
int | size |
total size of the sectors More... | |
std::vector< Sector > | sectors |
contains vector of Sectors More... | |
Ensemble: ParityGrandCanonical (int L, int parity) with: L – sites parity – parity Sector (even or odd number of particles)
solid::ParityGrandCanonical::ParityGrandCanonical | ( | int | _L, |
int | _parity | ||
) |
Construct a new ParityGrandCanonical object.
_L | number of sites |
_parity | parity of the Ensemble |
|
overridevirtual |
Filling Ensemble with selected sectors.
Implements solid::IEnsemble.
|
overridevirtual |
Set the Size object.
Implements solid::IEnsemble.
int solid::ParityGrandCanonical::parity = 0 |
parity of the Ensemble