ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_rho_io.cpp File Reference
#include "source_io/module_output/cube_io.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "source_base/global_variable.h"
#include "prepare_unitcell.h"
#include "source_base/parallel_grid.h"
#include <cstdio>
#include <iterator>
#include <string>
#include "source_io/module_parameter/parameter.h"
Include dependency graph for test_rho_io.cpp:

Classes

class  RhoIOTest
struct  CubeIOTest

Functions

 TEST_F (RhoIOTest, Read)
 TEST_F (RhoIOTest, Write)
 TEST_F (RhoIOTest, TrilinearInterpolate)
 TEST_F (CubeIOTest, ReadCube)
 TEST_F (CubeIOTest, WriteCube)
 TEST_F (CubeIOTest, WriteCubeAppendFrames)
 TEST (CubeInterpolation, NodeAlignedPeriodicRefinement)
 TEST (CubeInterpolation, SameGridAndCoarsening)

Function Documentation

◆ TEST() [1/2]

TEST ( CubeInterpolation ,
NodeAlignedPeriodicRefinement  )
Here is the call graph for this function:

◆ TEST() [2/2]

TEST ( CubeInterpolation ,
SameGridAndCoarsening  )
Here is the call graph for this function:

◆ TEST_F() [1/6]

TEST_F ( CubeIOTest ,
ReadCube  )
Here is the call graph for this function:

◆ TEST_F() [2/6]

TEST_F ( CubeIOTest ,
WriteCube  )
Here is the call graph for this function:

◆ TEST_F() [3/6]

TEST_F ( CubeIOTest ,
WriteCubeAppendFrames  )
  • Tested Functions:
    • write_cube()
      • append == false truncates the file, leaving exactly one frame
      • append == true accumulates one complete frame per call, which is how out_app_flag == 1 writes successive ionic steps into a fixed filename
Here is the call graph for this function:

◆ TEST_F() [4/6]

TEST_F ( RhoIOTest ,
Read  )
Here is the call graph for this function:

◆ TEST_F() [5/6]

TEST_F ( RhoIOTest ,
TrilinearInterpolate  )
Here is the call graph for this function:

◆ TEST_F() [6/6]

TEST_F ( RhoIOTest ,
Write  )
Here is the call graph for this function: