QMCPACK
LatticeAnalyzer< T, 1 > Struct Template Reference

specialization for 1D lattice More...

+ Collaboration diagram for LatticeAnalyzer< T, 1 >:

Public Types

using SingleParticlePos = TinyVector< T, 1 >
 

Public Member Functions

bool isDiagonalOnly (const Tensor< T, 1 > &R) const
 
int operator() (const TinyVector< int, 1 > &box)
 
calcWignerSeitzRadius (TinyVector< SingleParticlePos, 1 > &a)
 

Detailed Description

template<typename T>
struct qmcplusplus::LatticeAnalyzer< T, 1 >

specialization for 1D lattice

Definition at line 197 of file LatticeAnalyzer.h.

Member Typedef Documentation

◆ SingleParticlePos

Definition at line 199 of file LatticeAnalyzer.h.

Member Function Documentation

◆ calcWignerSeitzRadius()

T calcWignerSeitzRadius ( TinyVector< SingleParticlePos, 1 > &  a)
inline

Definition at line 204 of file LatticeAnalyzer.h.

204 { return a[0] * 0.5; }

◆ isDiagonalOnly()

bool isDiagonalOnly ( const Tensor< T, 1 > &  R) const
inline

Definition at line 200 of file LatticeAnalyzer.h.

200 { return true; }

◆ operator()()

int operator() ( const TinyVector< int, 1 > &  box)
inline

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