MADNESS 0.10.1
madness::Lz< T, NDIM > Class Template Reference

the z component of the angular momentum More...

#include <SCFOperators.h>

Inheritance diagram for madness::Lz< T, NDIM >:
Collaboration diagram for madness::Lz< T, NDIM >:

Public Member Functions

 Lz (World &world, bool use_bspline_derivative=true)
std::string info () const
 print some information about this operator
T operator() (const Function< T, NDIM > &bra, const Function< T, NDIM > &ket) const
 compute the matrix element <bra | op | ket>
Function< T, NDIM > operator() (const Function< T, NDIM > &ket) const
Tensor< T > operator() (const std::vector< Function< T, NDIM > > &vbra, const std::vector< Function< T, NDIM > > &vket) const
std::vector< Function< T, NDIM > > operator() (const std::vector< Function< T, NDIM > > &vket) const
Public Member Functions inherited from madness::SCFOperatorBase< T, NDIM >
 SCFOperatorBase ()=default
 SCFOperatorBase (std::shared_ptr< MacroTaskQ > taskq)
virtual ~SCFOperatorBase ()
virtual tensorT operator() (const vecfuncT &vbra, const vecfuncT &vket) const =0
 compute the matrix <vbra | op | vket>
virtual vecfuncT operator() (const vecfuncT &vket) const =0
 apply this operator on the argument vector of functions

Public Attributes

bool use_bsplines =true
Public Attributes inherited from madness::SCFOperatorBase< T, NDIM >
nlohmann::json statistics
std::shared_ptr< MacroTaskQ > taskq =0

Private Attributes

World & world

Additional Inherited Members

Public Types inherited from madness::SCFOperatorBase< T, NDIM >
typedef Function< T, NDIM > functionT
typedef Tensor< T > tensorT
typedef std::vector< functionT > vecfuncT

Detailed Description

template<typename T, std::size_t NDIM>
class madness::Lz< T, NDIM >

the z component of the angular momentum

takes real and complex functions as input, will return complex functions

Constructor & Destructor Documentation

◆ Lz()

template<typename T, std::size_t NDIM>
madness::Lz< T, NDIM >::Lz ( World & world,
bool use_bspline_derivative = true )
inline

References use_bsplines, and world.

Member Function Documentation

◆ info()

template<typename T, std::size_t NDIM>
std::string madness::Lz< T, NDIM >::info ( ) const
inlinevirtual

print some information about this operator

Implements madness::SCFOperatorBase< T, NDIM >.

◆ operator()() [1/4]

template<typename T, std::size_t NDIM>
T madness::Lz< T, NDIM >::operator() ( const Function< T, NDIM > & bra,
const Function< T, NDIM > & ket ) const
inlinevirtual

compute the matrix element <bra | op | ket>

Parameters
brabra state
ketket state
Returns
the matrix element <bra | op | ket>

Implements madness::SCFOperatorBase< T, NDIM >.

References madness::inner().

◆ operator()() [2/4]

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::Lz< T, NDIM >::operator() ( const Function< T, NDIM > & ket) const
inlinevirtual

apply this operator on the argument function

Parameters
ketthe argument function
Returns
op(ket)

Implements madness::SCFOperatorBase< T, NDIM >.

References operator()().

Referenced by operator()(), and operator()().

◆ operator()() [3/4]

template<typename T, std::size_t NDIM>
Tensor< T > madness::Lz< T, NDIM >::operator() ( const std::vector< Function< T, NDIM > > & vbra,
const std::vector< Function< T, NDIM > > & vket ) const
inline

◆ operator()() [4/4]

template<typename T, std::size_t NDIM>
std::vector< Function< T, NDIM > > madness::Lz< T, NDIM >::operator() ( const std::vector< Function< T, NDIM > > & vket) const
inline

Member Data Documentation

◆ use_bsplines

template<typename T, std::size_t NDIM>
bool madness::Lz< T, NDIM >::use_bsplines =true

Referenced by Lz(), and operator()().

◆ world

template<typename T, std::size_t NDIM>
World& madness::Lz< T, NDIM >::world
private

Referenced by Lz(), operator()(), and operator()().


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