MADNESS  0.10.1
Public Member Functions | Public Attributes | List of all members
Metric Class Reference
Inheritance diagram for Metric:
Inheritance graph
[legend]
Collaboration diagram for Metric:
Collaboration graph
[legend]

Public Member Functions

virtual Spinor operator() (const Spinor &arg) const
 
void print () const
 
- Public Member Functions inherited from MatrixOperator
 MatrixOperator (const int i=4, const int j=4)
 
void add_operator (const int i, const int j, const double_complex &fac, const std::shared_ptr< SCFOperatorBase< double_complex, 3 >> op)
 
void add_submatrix (int istart, int jstart, const MatrixOperator &submatrix)
 add a submatrix to this More...
 
std::size_t ncol () const
 
std::size_t nrow () const
 
virtual std::vector< Spinoroperator() (const std::vector< Spinor > &arg) const
 
MatrixOperator operator+ (const MatrixOperator &other) const
 
MatrixOperatoroperator+= (const MatrixOperator &other)
 
void print (std::string name="") const
 

Public Attributes

double c0 =1.0
 
double c1 =1.0
 
double c2 =1.0
 
double c3 =1.0
 
- Public Attributes inherited from MatrixOperator
std::vector< std::vector< opT > > elements
 matrix containing prefactor and operator More...
 

Additional Inherited Members

- Public Types inherited from MatrixOperator
typedef std::vector< std::pair< double_complex, std::shared_ptr< SCFOperatorBase< double_complex, 3 > > > > opT
 

Member Function Documentation

◆ operator()()

virtual Spinor Metric::operator() ( const Spinor arg) const
inlinevirtual

Reimplemented from MatrixOperator.

References madness::arg(), and madness::copy().

◆ print()

void Metric::print ( ) const
inline

References madness::print().

Member Data Documentation

◆ c0

double Metric::c0 =1.0

◆ c1

double Metric::c1 =1.0

◆ c2

double Metric::c2 =1.0

◆ c3

double Metric::c3 =1.0

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