15 Real gauge_invariant_bohr_squared = 0.0;
16 Real diagonal_bohr_squared = 0.0;
17 Real off_diagonal_bohr_squared = 0.0;
32 return gauge_invariant_bohr_squared + diagonal_bohr_squared + off_diagonal_bohr_squared;
36 return diagonal_bohr_squared + off_diagonal_bohr_squared;
Real minimizable_bohr_squared() const
The only part this gauge can move; what the minimiser actually descends.
std::vector< Vector3D > centers_bohr
One centre per Wannier function, in bohr, in the same Cartesian frame as b.
Real total_bohr_squared() const
std::vector< Real > spreads_bohr_squared