LIBINT  2.6.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
libint2::CR_11_R2dotR2G12_11< I, BFSet > Class Template Reference

Compute relation for 2-e integrals of the r2.r2 x G12 operators. More...

#include <comp_11_r2dotr2g12_11.h>

Inheritance diagram for libint2::CR_11_R2dotR2G12_11< I, BFSet >:
Inheritance graph
[legend]
Collaboration diagram for libint2::CR_11_R2dotR2G12_11< I, BFSet >:
Collaboration graph
[legend]

Public Types

typedef RecurrenceRelation ParentType
 
typedef BFSet BasisFunctionType
 
typedef CR_11_R2dotR2G12_11< I, BFSetThisType
 
typedef I< BFSetTargetType
 
typedef R12kG12_11_11< BFSet, 0 > ChildType
 
typedef RecurrenceRelation::ExprType ExprType
 The type of expressions in which RecurrenceRelations result.
 
- Public Types inherited from libint2::RecurrenceRelation
typedef RecurrenceRelation this_type
 
typedef AlgebraicOperator< DGVertexExprType
 Numerical expression of a recurrence relation is always expressed as an AlgebraicOperator<DGVertex>
 

Public Member Functions

unsigned int num_children () const
 Implementation of RecurrenceRelation::num_children()
 
SafePtr< TargetType > target () const
 target() returns pointer to the i-th child
 
SafePtr< ChildTypechild (unsigned int i) const
 child(i) returns pointer to the i-th child
 
SafePtr< DGVertexrr_target () const
 Implementation of RecurrenceRelation::rr_target()
 
SafePtr< DGVertexrr_child (unsigned int i) const
 Implementation of RecurrenceRelation::rr_child()
 
bool is_simple () const
 Implementation of RecurrenceRelation::is_simple()
 
- Public Member Functions inherited from libint2::RecurrenceRelation
const SafePtr< ExprType > & rr_expr () const
 Returns the expression.
 
virtual bool invariant_type () const
 Returns true is the type of target and all children are exactly the same.
 
virtual int partindex_direction () const
 
virtual BraketDirection braket_direction () const
 
size_t size_of_children () const
 
const std::string & label () const
 label() returns a unique, short, descriptive label of this RR (e.g. More...
 
virtual std::string description () const
 description() returns a verbose description of this RR
 
virtual void generate_code (const SafePtr< CodeContext > &context, const SafePtr< ImplicitDimensions > &dims, const std::string &funcname, std::ostream &decl, std::ostream &def)
 Generate declaration and definition for the recurrence relation.
 
virtual void generate_generic_code (const SafePtr< CodeContext > &context, const SafePtr< ImplicitDimensions > &dims, const std::string &funcname, std::ostream &decl, std::ostream &def)
 Generate declaration and definition for the recurrence relation using generic code (typically, a manually written code)
 
virtual std::string spfunction_call (const SafePtr< CodeContext > &context, const SafePtr< ImplicitDimensions > &dims) const
 Generate a callback for this recurrence relation.
 
unsigned int nflops () const
 Return the number of FLOPs per this recurrence relation.
 
void inst_id (const SingletonStack< RecurrenceRelation, string >::InstanceID &i)
 RecurrenceRelation is managed by SingletonStack but doesn't need to keep track of instance ID.
 

Static Public Member Functions

static SafePtr< ThisTypeInstance (const SafePtr< TargetType > &)
 Use Instance() to obtain an instance of RR. More...
 

Additional Inherited Members

- Protected Member Functions inherited from libint2::RecurrenceRelation
void add_expr (const SafePtr< ExprType > &a, int minus=1)
 Adds a (or -a, if minus = -1) to expr_.
 
template<class RR >
bool register_with_rrstack ()
 Registers with the stack.
 
- Protected Attributes inherited from libint2::RecurrenceRelation
unsigned int nflops_
 
std::string label_
 
SafePtr< ExprTypeexpr_
 

Detailed Description

template<template< class > class I, class BFSet>
class libint2::CR_11_R2dotR2G12_11< I, BFSet >

Compute relation for 2-e integrals of the r2.r2 x G12 operators.

I<BFSet> is the integral set specialization that describes the integrals of the R2dotR2_G12 operator.

Member Function Documentation

◆ Instance()

template<template< class > class I, class F >
SafePtr< CR_11_R2dotR2G12_11< I, F > > libint2::CR_11_R2dotR2G12_11< I, F >::Instance ( const SafePtr< TargetType > &  Tint)
static

Use Instance() to obtain an instance of RR.

This function is provided to avoid issues with getting a SafePtr from constructor (as needed for registry to work).


The documentation for this class was generated from the following file: