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::GaussLegendreAngularIntegrator - An implementation of an angular integrator using the Gauss-Legendre

Author

       Generated automatically by Doxygen for MPQC from the source code.

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

Constructor & Destructor Documentation

sc::GaussLegendreAngularIntegrator::GaussLegendreAngularIntegrator(constRef<KeyVal>&)
       Contract a GaussLegendreAngularIntegrator from KeyVal input. This class is for testing, the
       LebedevLaikovIntegrator is preferred for normal use. The following parameters are read: ntheta, nphi, and
       Ktheta.

Detailed Description

       An implementation of an angular integrator using the Gauss-Legendre weights and grid points.

Member Function Documentation

voidsc::GaussLegendreAngularIntegrator::save_data_state(StateOut&)[virtual]
       Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR
       initializes them. This must be implemented by the derived class if the class has data.

       Reimplemented from sc::AngularIntegrator.

Name

       sc::GaussLegendreAngularIntegrator - An implementation of an angular integrator using the Gauss-Legendre
       weights and grid points.

Synopsis

       #include <integrator.h>

       Inherits sc::AngularIntegrator.

   PublicMemberFunctionsGaussLegendreAngularIntegrator (const Ref< KeyVal > &)
           Contract a GaussLegendreAngularIntegrator from KeyVal input.
       GaussLegendreAngularIntegrator (StateIn &)
       void save_data_state (StateOut &)
           Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR
           initializes them.
       int num_angular_points (double r_value, int ir)
       double angular_point_cartesian (int iangular, double r, SCVector3 &integration_point) const
       void print (std::ostream &=ExEnv::out0()) const
           Print the object.

   ProtectedMemberFunctions
       int get_ntheta (void) const
       void set_ntheta (int i)
       int get_nphi (void) const
       void set_nphi (int i)
       int get_Ktheta (void) const
       void set_Ktheta (int i)
       int get_ntheta_r (void) const
       void set_ntheta_r (int i)
       int get_nphi_r (void) const
       void set_nphi_r (int i)
       int get_Ktheta_r (void) const
       void set_Ktheta_r (int i)
       int nw (void) const
       double sin_theta (SCVector3 &point) const
       void gauleg (double x1, double x2, int n)

   ProtectedAttributes
       int ntheta_
       int nphi_
       int Ktheta_
       int ntheta_r_
       int nphi_r_
       int Ktheta_r_
       double * theta_quad_weights_
       double * theta_quad_points_AdditionalInheritedMembers

See Also