ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
td_test Namespace Reference

Classes

class  Observables
 Small real PW basis and relativistic projectors, without an SCF calculation. More...

Typedefs

using Complex = std::complex<double>
using Device = base_device::DEVICE_CPU
using Vector = std::vector<Complex>

Functions

Vector pauli (const Vector &x, int axis)
 Apply a Pauli matrix to a packed two-component vector.
Complex inner (const Vector &x, const Vector &y)
 TEST_F (Observables, SOCTorqueMatchesCommutator)
 TEST_F (Observables, DensityMomentsAndPeriodicVoronoi)
 TEST_F (Observables, CurrentsMatchPauliAndHamiltonianDerivative)

Typedef Documentation

◆ Complex

using td_test::Complex = std::complex<double>

◆ Device

using td_test::Device = base_device::DEVICE_CPU

◆ Vector

using td_test::Vector = std::vector<Complex>

Function Documentation

◆ inner()

Complex td_test::inner ( const Vector & x,
const Vector & y )
Here is the caller graph for this function:

◆ pauli()

Vector td_test::pauli ( const Vector & x,
int axis )

Apply a Pauli matrix to a packed two-component vector.

Here is the caller graph for this function:

◆ TEST_F() [1/3]

td_test::TEST_F ( Observables ,
CurrentsMatchPauliAndHamiltonianDerivative  )
Here is the call graph for this function:

◆ TEST_F() [2/3]

td_test::TEST_F ( Observables ,
DensityMomentsAndPeriodicVoronoi  )
Here is the call graph for this function:

◆ TEST_F() [3/3]

td_test::TEST_F ( Observables ,
SOCTorqueMatchesCommutator  )
Here is the call graph for this function: