ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Functions | Variables
cif_io_test.cpp File Reference
#include <gtest/gtest.h>
#include "source_io/cif_io.h"
#include <cmath>
#include <random>
#include "source_base/formatter.h"
#include <fstream>
#include <mpi.h>
Include dependency graph for cif_io_test.cpp:

Functions

 TEST (CifParserTest, ReadSimpleTest)
 
 TEST (CifParserTest, ReadMediumTest)
 
 TEST (CifParserTest, WriteTest)
 
int main (int argc, char **argv)
 

Variables

const std::string mp2516584
 
const std::string cod1000065
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST() [1/3]

TEST ( CifParserTest  ,
ReadMediumTest   
)
Here is the call graph for this function:

◆ TEST() [2/3]

TEST ( CifParserTest  ,
ReadSimpleTest   
)
Here is the call graph for this function:

◆ TEST() [3/3]

TEST ( CifParserTest  ,
WriteTest   
)
Here is the call graph for this function:

Variable Documentation

◆ cod1000065

const std::string cod1000065

◆ mp2516584

const std::string mp2516584

this is the unittest for ABACUS i/o interface with Crystal Information File (CIF) format.

Intergrately, there are two examples, one easier, one more complicated.