25 inline double operator()(
double k2) {
return 4 * M_PI / k2; }
50 std::cout <<
"handler.MaxKshell is " << handler.
MaxKshell << std::endl;
51 CHECK( (std::is_same<OHMMS_PRECISION, OHMMS_PRECISION_FULL>::value ?
56 std::vector<pRealType> rhok1(handler.
MaxKshell);
57 std::vector<pRealType> rhok2(handler.
MaxKshell);
62 for (
int ish = 0; ish < handler.
MaxKshell; ish++)
66 double fk_expect = fk(k2);
a class that defines a supercell in D-dimensional Euclean space.
double operator()(double k2)
void reset()
Evaluate the reciprocal vectors, volume and metric tensor.
helper functions for EinsplineSetBuilder
mRealType LR_kc
Maximum k cutoff.
DECLARE_COULOMB_TYPES int MaxKshell
Maxkimum Kshell for the given Kc.
TEST_CASE("complex_helper", "[type_traits]")
LRHandler without breakup.
Declaration of CrystalLattice<T,D>
TinyVector< SingleParticlePos, D > Rv
Real-space unit vectors.
const auto & getSimulationCell() const
Specialized paritlce class for atomistic simulations.
qmcplusplus::LRHandlerBase::pRealType pRealType
Scalar_t Volume
Physical properties of a supercell.
double norm(const zVec &c)
TinyVector< int, D > BoxBConds
The boundary condition in each direction.
mRealType LR_rc
Maximum r cutoff.
void initBreakup(ParticleSet &ref) override
void diagonal(const T &rhs)
CHECK(log_values[0]==ComplexApprox(std::complex< double >{ 5.603777579195571, -6.1586603331188225 }))
void createSK()
create Structure Factor with PBCs
Define LRHandlerBase and DummyLRHandler<typename Func>
Tensor_t R
Real-space unit vectors. R(i,j) i=vector and j=x,y,z.
Vector< mRealType > Fk_symm
Fourier component for each k-shell.