MADNESS 0.10.1
Public Member Functions | Protected Attributes | List of all members
madness::ProjectorBase Class Referenceabstract

#include <projector.h>

Inheritance diagram for madness::ProjectorBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~ProjectorBase ()
 
virtual int get_particle () const
 
virtual void set_particle (const int p)
 
virtual std::string type () const =0
 

Protected Attributes

int particle =-1
 a projector might work only on a subset of dimensions, e.g. P(1) | \psi(1,2) >
 

Constructor & Destructor Documentation

◆ ~ProjectorBase()

virtual madness::ProjectorBase::~ProjectorBase ( )
inlinevirtual

Member Function Documentation

◆ get_particle()

virtual int madness::ProjectorBase::get_particle ( ) const
inlinevirtual

◆ set_particle()

virtual void madness::ProjectorBase::set_particle ( const int  p)
inlinevirtual

◆ type()

virtual std::string madness::ProjectorBase::type ( ) const
pure virtual

Member Data Documentation

◆ particle

int madness::ProjectorBase::particle =-1
protected

a projector might work only on a subset of dimensions, e.g. P(1) | \psi(1,2) >

Referenced by get_particle().


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