__init__(self,
vecs,
ecutwfc,
ecutrho,
nproc,
nks,
nspin,
nbnd,
ntyp,
nmix,
lscf)
(Constructor)
|
|
Initialize MemoryEstimator object and set several attributes.
- Parameters:
vecs (3 list of 3 floats) - Lattice vectors
ecutwfc (float) - Wavefunction cutoff (Ry)
ecutrho (float) - Density cutoff (Ry)
nproc (int) - Number of processors
nks (int) - Number of k-points
nspin (int) - 1 for closed-shell, 2 for spin-polarized
nbnd (int) - Number of bands
ntyp (int) - Number of atom types
nmix (int) - Beta mixing
lscf (bool) - True if the calculation is scf/relax, False if it is nscf
- Overrides:
object.__init__
|