num_basis_functions(basis_name,
struc,
per_atom=None,
atom_num=None)
|
|
Calculate the number of basis functions for the specified structure or
atom.
- Parameters:
basis_name (str) - The basis name including stars and pluses
struc (schrodinger.structure.Structure) - The structure
per_atom (dict or NoneType) - An optional dictionary of {atom index: basis name} for per-atom
basis sets
atom_num (int or NoneType) - The atom index in struc to calculate the number of
basis functions for. If given, the number of basis functions
will be calculated for a single atom. If not given, the number
of basis functions will be calculated for the entire structure.
- Returns: tuple
- A tuple of
-
The number of basis functions for
struc (if
atom_num is not given) or for atom atom_num (int)
-
Are pseudospectral grids available for the specified
structure or atom (bool)
Note:
Either per_atom or atom_num may be given
(or neither), but not both.
|