MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
sc::TwoBodyOperDescr Class Reference

Describes permutational properties (hermiticity, Bose/Fermi) of a two-body operator. More...

#include <chemistry/qc/basis/operator.h>

Inheritance diagram for sc::TwoBodyOperDescr:
sc::OperatorDescr sc::RefCount

Public Member Functions

 TwoBodyOperDescr (int perm_p1, int perm_p2, int perm_p12)
 
unsigned int num_particles () const
 Implementation of OperatorDescr::num_particles()
 
int perm_symm (unsigned int i) const
 Implementation of OperatorDescr::perm_symm()
 
int perm_symm (unsigned int i, unsigned int j) const
 Implementation of OperatorDescr::perm_symm()
 
- Public Member Functions inherited from sc::OperatorDescr
- Public Member Functions inherited from sc::RefCount
size_t identifier () const
 Return the unique identifier for this object that can be compared for different objects of different types.
 
int lock_ptr () const
 Lock this object.
 
int unlock_ptr () const
 Unlock this object.
 
void use_locks (bool inVal)
 start and stop using locks on this object
 
refcount_t nreference () const
 Return the reference count.
 
refcount_t reference ()
 Increment the reference count and return the new count.
 
refcount_t dereference ()
 Decrement the reference count and return the new count.
 
int managed () const
 Return 1 if the object is managed. Otherwise return 0.
 

Additional Inherited Members

- Protected Member Functions inherited from sc::RefCount
 RefCount (const RefCount &)
 
RefCountoperator= (const RefCount &)
 

Detailed Description

Describes permutational properties (hermiticity, Bose/Fermi) of a two-body operator.

Member Function Documentation

◆ num_particles()

unsigned int sc::TwoBodyOperDescr::num_particles ( ) const
virtual

Implementation of OperatorDescr::num_particles()

Implements sc::OperatorDescr.

◆ perm_symm() [1/2]

int sc::TwoBodyOperDescr::perm_symm ( unsigned int i) const
virtual

Implementation of OperatorDescr::perm_symm()

Implements sc::OperatorDescr.

◆ perm_symm() [2/2]

int sc::TwoBodyOperDescr::perm_symm ( unsigned int i,
unsigned int j ) const
virtual

Implementation of OperatorDescr::perm_symm()

Implements sc::OperatorDescr.


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

Generated at Wed Sep 25 2024 02:45:36 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.