28 #ifndef _chemistry_qc_basis_dercent_h
29 #define _chemistry_qc_basis_dercent_h
31 #include <chemistry/qc/basis/basis.h>
44 std::vector< std::pair<int, int> > centers_;
45 std::pair<int, int> omitted_center_;
68 int n()
const {
return centers_.size(); }
73 int center(
int i)
const {
return centers_.at(i).first; }
77 int atom(
int i)
const {
return centers_.at(i).second; }
void add_center(int center, int atom)
Add a center using the atom number.
int omitted_center() const
Definition: dercent.h:83
int omitted_atom() const
Definition: dercent.h:86
DerivCenters()
Construct a new, empty DerivCenters object.
bool has_omitted_center() const
Definition: dercent.h:80
void clear()
Clear the list of centers.
int n() const
The number of centers for which derivatives have been computed.
Definition: dercent.h:69
void add_omitted(int center, int atom)
Add the omitted center using the atom number.
int center(int i) const
Definition: dercent.h:73
DerivCenters keeps track the centers that derivatives are taken with respect to.
Definition: dercent.h:42
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
int atom(int i) const
Definition: dercent.h:77
Generated at Sun Jan 26 2020 23:23:57 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.