logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sc::DerivCenters - DerivCenters keeps track the centers that derivatives are taken with respect to.

Author

       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1                                    Sun Oct 4 2020                              sc::DerivCenters(3)

Detailed Description

DerivCenters keeps track the centers that derivatives are taken with respect to.

Member Function Documentation

voidsc::DerivCenters::add_center(intcenter,constRef<GaussianBasisSet>&bs,intshell)
       Add a center using a basis set and the shell number.

       Parameterscenter The center number (between 0 and 3 inclusive).
           bs The basis set for this center.
           shell The shell number for this center.

   voidsc::DerivCenters::add_center(intcenter,intatom)
       Add a center using the atom number.

       Parameterscenter The center number (between 0 and 3 inclusive).
           atom The center within a GaussianBasisSet.

   voidsc::DerivCenters::add_omitted(intcenter,constRef<GaussianBasisSet>&bs,intshell)
       Add the omitted center using a basis set and the shell number.

       Parameterscenter The center number (between 0 and 3 inclusive).
           bs The basis set for this center.
           shell The shell number for this center.

   voidsc::DerivCenters::add_omitted(intcenter,intatom)
       Add the omitted center using the atom number.

       Parameterscenter The center number (between 0 and 3 inclusive).
           atom The center within a GaussianBasisSet.

   intsc::DerivCenters::atom(inti)const[inline]Parametersi The computed center index (between 0 and n() - 1, inclusive).

       Returns
           The atom number.

       Referenced by sc::LocalTBGrad< T >::run().

   intsc::DerivCenters::center(inti)const[inline]Parametersi The computed center index (between 0 and n() - 1, inclusive).

       Returns
           The center number (between 0 and 3, inclusive).

   intsc::DerivCenters::has_omitted_center()const[inline]Returns
           1 if there is an omitted center, otherwise 0.

   intsc::DerivCenters::omitted_atom()const[inline]Returns
           The atom that is omitted from the integral buffer.

       Referenced by sc::LocalTBGrad< T >::run().

   intsc::DerivCenters::omitted_center()const[inline]Returns
           The center for which integrals where not computed.

Name

       sc::DerivCenters - DerivCenters keeps track the centers that derivatives are taken with respect to.

Synopsis

       #include <dercent.h>

   PublicMemberFunctionsDerivCenters ()
           Construct a new, empty DerivCenters object.

       RoutinestoModifyDerivCenters

           void clear ()
               Clear the list of centers.
           void add_center (int center, const Ref< GaussianBasisSet > &bs, int shell)
               Add a center using a basis set and the shell number.
           void add_center (int center, int atom)
               Add a center using the atom number.
           void add_omitted (int center, const Ref< GaussianBasisSet > &bs, int shell)
               Add the omitted center using a basis set and the shell number.
           void add_omitted (int center, int atom)
               Add the omitted center using the atom number.

       RoutinestoQueryDerivCenters

           int n () const
               The number of centers for which derivatives have been computed.
           int center (int i) const
           int atom (int i) const
           int has_omitted_center () const
           int omitted_center () const
           int omitted_atom () const

See Also