28 TEST_CASE(
"Crystal_lattice_periodic_bulk",
"[lattice]")
37 vec_t v3(0.6, 1.2, -1.7);
41 vec_t v4(0.45, 0.2, 0.1);
a class that defines a supercell in D-dimensional Euclean space.
bool isValid(const TinyVector< T, D > &u) const
return true if all the open direction of reduced coordinates u are in the range [0,1)
void reset()
Evaluate the reciprocal vectors, volume and metric tensor.
helper functions for EinsplineSetBuilder
TEST_CASE("complex_helper", "[type_traits]")
Declaration of CrystalLattice<T,D>
Scalar_t Volume
Physical properties of a supercell.
TinyVector< int, D > BoxBConds
The boundary condition in each direction.
REQUIRE(std::filesystem::exists(filename))
void diagonal(const T &rhs)
CHECK(log_values[0]==ComplexApprox(std::complex< double >{ 5.603777579195571, -6.1586603331188225 }))
bool outOfBound(const TinyVector< T, D > &u) const
return true if any direction of reduced coordinates u goes larger than 0.5
Tensor_t R
Real-space unit vectors. R(i,j) i=vector and j=x,y,z.