ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_chg_rhog_io.cpp File Reference
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "source_estate/module_charge/chg_rhog_io.h"
#include "source_base/module_parallel/para_world.h"
#include "source_base/module_parallel/para_tag.h"
#include "source_base/module_parallel/para_bridge.h"
#include "source_base/module_parallel/para_mpi_func.h"
#include "source_basis/module_pw/test/test_tool.h"
#include "mpi.h"
#include <array>
#include <cmath>
#include <complex>
#include <cstring>
#include <fstream>
#include <sstream>
Include dependency graph for test_chg_rhog_io.cpp:

Classes

class  ReadRhogTest

Functions

 TEST_F (ReadRhogTest, ReadRhog)
 TEST_F (ReadRhogTest, ReadLegacyBinaryFormat)
 TEST_F (ReadRhogTest, NotFoundFile)
 TEST_F (ReadRhogTest, InconsistentGammaOnly)
 TEST_F (ReadRhogTest, SomePWMissing)
 TEST_F (ReadRhogTest, OsNullptrSilent)
 TEST_F (ReadRhogTest, WriteRoundTrip)
 TEST_F (ReadRhogTest, WriteFileFail)
 TEST_F (ReadRhogTest, WriteRoundTripNspin2)
 TEST_F (ReadRhogTest, WriteRoundTripNspin4)
 TEST_F (ReadRhogTest, ReadRhogNspin2To4SpecialPath)
 TEST_F (ReadRhogTest, RestartDensityTransformsEverySpin)
 TEST_F (ReadRhogTest, MissingRestartPreservesRealDensity)
 TEST_F (ReadRhogTest, RestartRejectsExcessSpinChannelsBeforeWriting)
 TEST_F (ReadRhogTest, RestartRejectsMissingSpinChannelsBeforeWriting)
 TEST_F (ReadRhogTest, RestartSkipsModesOutsideSmallerCutoffOnOwnedStick)
 TEST_F (ReadRhogTest, CompleteCubeSetTakesPrecedenceOverRestart)
 TEST_F (ReadRhogTest, PartialCubeSetUsesRestartForEverySpin)
 TEST_F (ReadRhogTest, NeitherDensitySourceIsAvailable)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )
Here is the call graph for this function:

◆ TEST_F() [1/19]

TEST_F ( ReadRhogTest ,
CompleteCubeSetTakesPrecedenceOverRestart  )
Here is the call graph for this function:

◆ TEST_F() [2/19]

TEST_F ( ReadRhogTest ,
InconsistentGammaOnly  )
Here is the call graph for this function:

◆ TEST_F() [3/19]

TEST_F ( ReadRhogTest ,
MissingRestartPreservesRealDensity  )
Here is the call graph for this function:

◆ TEST_F() [4/19]

TEST_F ( ReadRhogTest ,
NeitherDensitySourceIsAvailable  )
Here is the call graph for this function:

◆ TEST_F() [5/19]

TEST_F ( ReadRhogTest ,
NotFoundFile  )
Here is the call graph for this function:

◆ TEST_F() [6/19]

TEST_F ( ReadRhogTest ,
OsNullptrSilent  )
Here is the call graph for this function:

◆ TEST_F() [7/19]

TEST_F ( ReadRhogTest ,
PartialCubeSetUsesRestartForEverySpin  )
Here is the call graph for this function:

◆ TEST_F() [8/19]

TEST_F ( ReadRhogTest ,
ReadLegacyBinaryFormat  )
Here is the call graph for this function:

◆ TEST_F() [9/19]

TEST_F ( ReadRhogTest ,
ReadRhog  )
Here is the call graph for this function:

◆ TEST_F() [10/19]

TEST_F ( ReadRhogTest ,
ReadRhogNspin2To4SpecialPath  )
Here is the call graph for this function:

◆ TEST_F() [11/19]

TEST_F ( ReadRhogTest ,
RestartDensityTransformsEverySpin  )
Here is the call graph for this function:

◆ TEST_F() [12/19]

TEST_F ( ReadRhogTest ,
RestartRejectsExcessSpinChannelsBeforeWriting  )
Here is the call graph for this function:

◆ TEST_F() [13/19]

TEST_F ( ReadRhogTest ,
RestartRejectsMissingSpinChannelsBeforeWriting  )
Here is the call graph for this function:

◆ TEST_F() [14/19]

TEST_F ( ReadRhogTest ,
RestartSkipsModesOutsideSmallerCutoffOnOwnedStick  )
Here is the call graph for this function:

◆ TEST_F() [15/19]

TEST_F ( ReadRhogTest ,
SomePWMissing  )
Here is the call graph for this function:

◆ TEST_F() [16/19]

TEST_F ( ReadRhogTest ,
WriteFileFail  )
Here is the call graph for this function:

◆ TEST_F() [17/19]

TEST_F ( ReadRhogTest ,
WriteRoundTrip  )
Here is the call graph for this function:

◆ TEST_F() [18/19]

TEST_F ( ReadRhogTest ,
WriteRoundTripNspin2  )
Here is the call graph for this function:

◆ TEST_F() [19/19]

TEST_F ( ReadRhogTest ,
WriteRoundTripNspin4  )
Here is the call graph for this function: