ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Macros | Functions
io_dmk_test.cpp File Reference
#include "source_io/io_dmk.h"
#include "source_io/module_parameter/parameter.h"
#include "source_base/global_variable.h"
#include "prepare_unitcell.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "source_base/module_external/scalapack_connector.h"
#include "mpi.h"
Include dependency graph for io_dmk_test.cpp:

Macros

#define private   public
 

Functions

void init_pv (int nlocal, Parallel_2D &pv)
 
template<typename T >
void gen_dmk (std::vector< std::vector< T > > &dmk, std::vector< double > &efs, int nspin, int nk, int nlocal, Parallel_2D &pv)
 
 TEST (DMKTest, GenFileName)
 
 TEST (DMKTest, WriteDMK)
 
 TEST (DMKTest, ReadDMK)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ private

#define private   public

Function Documentation

◆ gen_dmk()

template<typename T >
void gen_dmk ( std::vector< std::vector< T > > &  dmk,
std::vector< double > &  efs,
int  nspin,
int  nk,
int  nlocal,
Parallel_2D pv 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_pv()

void init_pv ( int  nlocal,
Parallel_2D pv 
)
  • Tested Functions:
    • read_dmk()
      • the function to read density matrix K from file
      • the serial version without MPI
    • write_dmk()
      • the function to write density matrix K to file
      • the serial version without MPI
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST() [1/3]

TEST ( DMKTest  ,
GenFileName   
)
Here is the call graph for this function:

◆ TEST() [2/3]

TEST ( DMKTest  ,
ReadDMK   
)
Here is the call graph for this function:

◆ TEST() [3/3]

TEST ( DMKTest  ,
WriteDMK   
)
Here is the call graph for this function: