ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Protected Types | Protected Member Functions | Protected Attributes | List of all members
TestModulePsiMemory Class Reference
Inheritance diagram for TestModulePsiMemory:
Collaboration diagram for TestModulePsiMemory:

Protected Types

using set_memory_double_cpu_op = base_device::memory::set_memory_op< double, base_device::DEVICE_CPU >
 
using set_memory_complex_double_cpu_op = base_device::memory::set_memory_op< std::complex< double >, base_device::DEVICE_CPU >
 
using resize_memory_double_cpu_op = base_device::memory::resize_memory_op< double, base_device::DEVICE_CPU >
 
using resize_memory_comlex_double_cpu_op = base_device::memory::resize_memory_op< std::complex< double >, base_device::DEVICE_CPU >
 
using synchronize_memory_double_cpu_to_cpu_op = base_device::memory::synchronize_memory_op< double, base_device::DEVICE_CPU, base_device::DEVICE_CPU >
 
using synchronize_memory_complex_double_cpu_to_cpu_op = base_device::memory::synchronize_memory_op< std::complex< double >, base_device::DEVICE_CPU, base_device::DEVICE_CPU >
 
using delete_memory_double_cpu_op = base_device::memory::delete_memory_op< double, base_device::DEVICE_CPU >
 
using delete_memory_complex_double_cpu_op = base_device::memory::delete_memory_op< std::complex< double >, base_device::DEVICE_CPU >
 

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Attributes

const std::vector< double > xx
 
const std::vector< std::complex< double > > z_xx
 
const int z_dim = z_xx.size()
 
const base_device::DEVICE_CPU * cpu_ctx = {}
 
const base_device::DEVICE_GPU * gpu_ctx = {}
 

Member Typedef Documentation

◆ delete_memory_complex_double_cpu_op

using TestModulePsiMemory::delete_memory_complex_double_cpu_op = base_device::memory::delete_memory_op<std::complex<double>, base_device::DEVICE_CPU>
protected

◆ delete_memory_double_cpu_op

◆ resize_memory_comlex_double_cpu_op

using TestModulePsiMemory::resize_memory_comlex_double_cpu_op = base_device::memory::resize_memory_op<std::complex<double>, base_device::DEVICE_CPU>
protected

◆ resize_memory_double_cpu_op

◆ set_memory_complex_double_cpu_op

using TestModulePsiMemory::set_memory_complex_double_cpu_op = base_device::memory::set_memory_op<std::complex<double>, base_device::DEVICE_CPU>
protected

◆ set_memory_double_cpu_op

using TestModulePsiMemory::set_memory_double_cpu_op = base_device::memory::set_memory_op<double, base_device::DEVICE_CPU>
protected

◆ synchronize_memory_complex_double_cpu_to_cpu_op

using TestModulePsiMemory::synchronize_memory_complex_double_cpu_to_cpu_op = base_device::memory::synchronize_memory_op<std::complex<double>, base_device::DEVICE_CPU, base_device::DEVICE_CPU>
protected

◆ synchronize_memory_double_cpu_to_cpu_op

using TestModulePsiMemory::synchronize_memory_double_cpu_to_cpu_op = base_device::memory::synchronize_memory_op<double, base_device::DEVICE_CPU, base_device::DEVICE_CPU>
protected

Member Function Documentation

◆ SetUp()

void TestModulePsiMemory::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void TestModulePsiMemory::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ cpu_ctx

const base_device::DEVICE_CPU* TestModulePsiMemory::cpu_ctx = {}
protected

◆ gpu_ctx

const base_device::DEVICE_GPU* TestModulePsiMemory::gpu_ctx = {}
protected

◆ xx

const std::vector<double> TestModulePsiMemory::xx
protected
Initial value:
= {-0.65412617, -0.74208893, -2.21731157, 0.42540039, 3.36373004, -2.51647562, -2.985111, -0.53251562,
0.37908265, 0.81605825, 1.66281318, 2.71761869, 2.2010268, 0.65498149, 1.51153638, 0.71501482,
0.53546578, 1.4564317, -2.36701143, 1.23009056, 3.41302551, -2.3175205, -0.27628221, -1.35701656}

◆ z_dim

const int TestModulePsiMemory::z_dim = z_xx.size()
protected

◆ z_xx

const std::vector<std::complex<double> > TestModulePsiMemory::z_xx
protected
Initial value:
= {{-0.65412617, -0.74208893},
{-2.21731157, 0.42540039},
{3.36373004, -2.51647562},
{-2.985111, -0.53251562},
{0.37908265, 0.81605825},
{1.66281318, 2.71761869},
{2.2010268, 0.65498149},
{1.51153638, 0.71501482},
{0.53546578, 1.4564317},
{-2.36701143, 1.23009056},
{3.41302551, -2.3175205},
{-0.27628221, -1.35701656}}

The documentation for this class was generated from the following file: