ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_mdcell_reader.cpp File Reference
#include "source_cell/dom_decomp.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "source_cell/mdcell_reader.h"
#include "source_cell/mdcell.h"
#include "source_cell/print_cell.h"
#include "source_cell/stru_frame_io.h"
#include "source_base/constants.h"
#include "source_base/parallel_cell.h"
#include "source_base/global_variable.h"
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdint>
#include <fstream>
#include <iomanip>
#include <mpi.h>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <type_traits>
Include dependency graph for test_mdcell_reader.cpp:

Classes

class  MDCellReaderUnitsTest

Functions

 TEST (MDCellReaderTest, ReadOwnedAtomsFromSTRUWithoutUnitCell)
 TEST_P (MDCellReaderUnitsTest, ConvertsWrapsAndReplicates)
 INSTANTIATE_TEST_SUITE_P (CartesianCoordinates, MDCellReaderUnitsTest, testing::Values("Cartesian", "Cartesian_angstrom", "Cartesian_au"))
 TEST (MDCellReaderTest, RestartStruPreservesAtomRecordsAcrossRanks)
 TEST (MDCellReaderTest, STRUAppendWithFrameComment)
 TEST (MDCellReaderTest, STRUFreshRunTruncatesPreviousFrames)
 TEST (MDCellReaderTest, STRUAtomOrderStaysStableAcrossOwnerChanges)
 TEST (MDCellReaderTest, STRUStableOrderCrossesGatherBatchesWithEmptyRank)
 TEST (MDCellReaderTest, STRUTextGatherRejectsOversizedBatchesCollectively)
int main (int argc, char **argv)

Function Documentation

◆ INSTANTIATE_TEST_SUITE_P()

INSTANTIATE_TEST_SUITE_P ( CartesianCoordinates ,
MDCellReaderUnitsTest ,
testing::Values("Cartesian", "Cartesian_angstrom", "Cartesian_au")  )

◆ main()

int main ( int argc,
char ** argv )

◆ TEST() [1/7]

TEST ( MDCellReaderTest ,
ReadOwnedAtomsFromSTRUWithoutUnitCell  )
Here is the call graph for this function:

◆ TEST() [2/7]

TEST ( MDCellReaderTest ,
RestartStruPreservesAtomRecordsAcrossRanks  )
Here is the call graph for this function:

◆ TEST() [3/7]

TEST ( MDCellReaderTest ,
STRUAppendWithFrameComment  )
Here is the call graph for this function:

◆ TEST() [4/7]

TEST ( MDCellReaderTest ,
STRUAtomOrderStaysStableAcrossOwnerChanges  )
Here is the call graph for this function:

◆ TEST() [5/7]

TEST ( MDCellReaderTest ,
STRUFreshRunTruncatesPreviousFrames  )
Here is the call graph for this function:

◆ TEST() [6/7]

TEST ( MDCellReaderTest ,
STRUStableOrderCrossesGatherBatchesWithEmptyRank  )
Here is the call graph for this function:

◆ TEST() [7/7]

TEST ( MDCellReaderTest ,
STRUTextGatherRejectsOversizedBatchesCollectively  )
Here is the call graph for this function:

◆ TEST_P()

TEST_P ( MDCellReaderUnitsTest ,
ConvertsWrapsAndReplicates  )
Here is the call graph for this function: