MADNESS  0.10.1
Public Member Functions | Public Attributes | Private Attributes | List of all members
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 >:
Inheritance graph
[legend]
Collaboration diagram for madness::Lz< T, NDIM >:
Collaboration graph
[legend]

Public Member Functions

 Lz (World &world, bool use_bspline_derivative=true)
 
std::string info () const
 print some information about this operator More...
 
T operator() (const Function< T, NDIM > &bra, const Function< T, NDIM > &ket) const
 compute the matrix element <bra | op | ket> More...
 
Function< T, NDIMoperator() (const Function< T, NDIM > &ket) const
 
Tensor< Toperator() (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> More...
 
virtual vecfuncT operator() (const vecfuncT &vket) const =0
 apply this operator on the argument vector of functions More...
 

Public Attributes

bool use_bsplines =true
 
- Public Attributes inherited from madness::SCFOperatorBase< T, NDIM >
std::shared_ptr< MacroTaskQtaskq =0
 

Private Attributes

Worldworld
 

Additional Inherited Members

- Public Types inherited from madness::SCFOperatorBase< T, NDIM >
typedef Function< T, NDIMfunctionT
 
typedef Tensor< TtensorT
 
typedef std::vector< functionTvecfuncT
 

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

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 >.

Referenced by madness::Lz< T, NDIM >::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

◆ world

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

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