ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_occupy.cpp File Reference
#include <string>
#include <cmath>
#include <limits>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "source_io/module_parameter/parameter.h"
#include "source_estate/occupy.h"
Include dependency graph for test_occupy.cpp:

Classes

class  OccupyTest

Functions

 TEST_F (OccupyTest, Occupy)
 TEST_F (OccupyTest, DecisionFixed)
 TEST_F (OccupyTest, DecisionSmearingFixed)
 TEST_F (OccupyTest, DecisionSmearingGaussian)
 TEST_F (OccupyTest, DecisionSmearingGauss)
 TEST_F (OccupyTest, DecisionSmearingGaussianWarning)
 TEST_F (OccupyTest, DecisionSmearingMethfesselPaxton)
 TEST_F (OccupyTest, DecisionSmearingMP)
 TEST_F (OccupyTest, DecissionMP2)
 TEST_F (OccupyTest, DecisionMarzariVanderbilt)
 TEST_F (OccupyTest, DecisionCold)
 TEST_F (OccupyTest, DecisionMV)
 TEST_F (OccupyTest, DecisionFermiDirac)
 TEST_F (OccupyTest, DecisionFD)
 TEST_F (OccupyTest, DecisionTetrahedraWarning)
 TEST_F (OccupyTest, DecisionFromInput)
 TEST_F (OccupyTest, DecisionArbitrary)
 TEST_F (OccupyTest, IweightsNOSPIN)
 TEST_F (OccupyTest, IweightsSPIN)
 TEST_F (OccupyTest, IweightsWarning)
 TEST_F (OccupyTest, Wgauss)
 TEST_F (OccupyTest, W1gauss)
 TEST_F (OccupyTest, Sumkg)
 TEST_F (OccupyTest, Efermig)
 TEST_F (OccupyTest, Gweights)
 TEST_F (OccupyTest, FractionalFermiDiracOccupation)
 TEST_F (OccupyTest, EmptyFullAndGappedSpectra)
 TEST_F (OccupyTest, SelectedSpinAndUnsortedBands)
 TEST_F (OccupyTest, CompensatedWeightedOccupationSum)
 TEST_F (OccupyTest, FermiSearchAtRepresentableEnergyLimit)
 TEST_F (OccupyTest, RejectInvalidWidthAndUnbracketedCharge)
 TEST_F (OccupyTest, FermiParticleNumberAcrossScales)
 TEST_F (OccupyTest, GweightsHonorsExplicitBandRange)
 TEST_F (OccupyTest, OccupationAndEntropyEnergyShift)
 TEST_F (OccupyTest, NarrowSmearingAtLargeEnergyOffset)
 TEST_F (OccupyTest, FermiSurfaceAwayFromSpectralMidpoint)
 TEST_F (OccupyTest, LowFillingDegenerateSpectrum)
 TEST_F (OccupyTest, SmearingHighPrecisionReference)

Function Documentation

◆ TEST_F() [1/38]

TEST_F ( OccupyTest ,
CompensatedWeightedOccupationSum  )
Here is the call graph for this function:

◆ TEST_F() [2/38]

TEST_F ( OccupyTest ,
DecisionArbitrary  )

◆ TEST_F() [3/38]

TEST_F ( OccupyTest ,
DecisionCold  )

◆ TEST_F() [4/38]

TEST_F ( OccupyTest ,
DecisionFD  )

◆ TEST_F() [5/38]

TEST_F ( OccupyTest ,
DecisionFermiDirac  )

◆ TEST_F() [6/38]

TEST_F ( OccupyTest ,
DecisionFixed  )

◆ TEST_F() [7/38]

TEST_F ( OccupyTest ,
DecisionFromInput  )

◆ TEST_F() [8/38]

TEST_F ( OccupyTest ,
DecisionMarzariVanderbilt  )

◆ TEST_F() [9/38]

TEST_F ( OccupyTest ,
DecisionMV  )

◆ TEST_F() [10/38]

TEST_F ( OccupyTest ,
DecisionSmearingFixed  )

◆ TEST_F() [11/38]

TEST_F ( OccupyTest ,
DecisionSmearingGauss  )

◆ TEST_F() [12/38]

TEST_F ( OccupyTest ,
DecisionSmearingGaussian  )

◆ TEST_F() [13/38]

TEST_F ( OccupyTest ,
DecisionSmearingGaussianWarning  )

◆ TEST_F() [14/38]

TEST_F ( OccupyTest ,
DecisionSmearingMethfesselPaxton  )

◆ TEST_F() [15/38]

TEST_F ( OccupyTest ,
DecisionSmearingMP  )

◆ TEST_F() [16/38]

TEST_F ( OccupyTest ,
DecisionTetrahedraWarning  )

◆ TEST_F() [17/38]

TEST_F ( OccupyTest ,
DecissionMP2  )

◆ TEST_F() [18/38]

TEST_F ( OccupyTest ,
Efermig  )
Here is the call graph for this function:

◆ TEST_F() [19/38]

TEST_F ( OccupyTest ,
EmptyFullAndGappedSpectra  )

◆ TEST_F() [20/38]

TEST_F ( OccupyTest ,
FermiParticleNumberAcrossScales  )

◆ TEST_F() [21/38]

TEST_F ( OccupyTest ,
FermiSearchAtRepresentableEnergyLimit  )
Here is the call graph for this function:

◆ TEST_F() [22/38]

TEST_F ( OccupyTest ,
FermiSurfaceAwayFromSpectralMidpoint  )

◆ TEST_F() [23/38]

TEST_F ( OccupyTest ,
FractionalFermiDiracOccupation  )
Here is the call graph for this function:

◆ TEST_F() [24/38]

TEST_F ( OccupyTest ,
Gweights  )
Here is the call graph for this function:

◆ TEST_F() [25/38]

TEST_F ( OccupyTest ,
GweightsHonorsExplicitBandRange  )

◆ TEST_F() [26/38]

TEST_F ( OccupyTest ,
IweightsNOSPIN  )

◆ TEST_F() [27/38]

TEST_F ( OccupyTest ,
IweightsSPIN  )

◆ TEST_F() [28/38]

TEST_F ( OccupyTest ,
IweightsWarning  )

◆ TEST_F() [29/38]

TEST_F ( OccupyTest ,
LowFillingDegenerateSpectrum  )

◆ TEST_F() [30/38]

TEST_F ( OccupyTest ,
NarrowSmearingAtLargeEnergyOffset  )

◆ TEST_F() [31/38]

TEST_F ( OccupyTest ,
OccupationAndEntropyEnergyShift  )

◆ TEST_F() [32/38]

TEST_F ( OccupyTest ,
Occupy  )

◆ TEST_F() [33/38]

TEST_F ( OccupyTest ,
RejectInvalidWidthAndUnbracketedCharge  )
Here is the call graph for this function:

◆ TEST_F() [34/38]

TEST_F ( OccupyTest ,
SelectedSpinAndUnsortedBands  )

◆ TEST_F() [35/38]

TEST_F ( OccupyTest ,
SmearingHighPrecisionReference  )
Here is the call graph for this function:

◆ TEST_F() [36/38]

TEST_F ( OccupyTest ,
Sumkg  )
Here is the call graph for this function:

◆ TEST_F() [37/38]

TEST_F ( OccupyTest ,
W1gauss  )
Here is the call graph for this function:

◆ TEST_F() [38/38]

TEST_F ( OccupyTest ,
Wgauss  )
Here is the call graph for this function: