SOLIDstate
A C++ library for solid state physics
|
interface for Observable class More...
#include <Observable.hpp>
Public Member Functions | |
virtual void | FillParameters ()=0 |
Filling the Parameters. More... | |
virtual void | PreprocessingVirtual (T1< T2 > &matrixElements) |
virtual link for static Postprocessing More... | |
virtual | ~IOperatorParameters () |
Destroy the IOperatorParameters object. More... | |
Static Public Member Functions | |
static void | Preprocessing (T1< T2 > &matrixElements) |
static virtial function for matrixElements postprocessing More... | |
interface for Observable class
T1 | matrix type: arma::Mat and arma:SpMat are supported |
T2 | data type: double, std::complex<double> are supported |
Abstract class containg two purely virtual functions (one static virtual)
|
inlinevirtual |
Destroy the IOperatorParameters object.
|
pure virtual |
Filling the Parameters.
Purely virtual function to override for IOperatorParameters implementation
Implemented in solid::ParityOperator< T1, T2 >, and solid::ParticleNumberOperator< T1, T2 >.
|
inlinestatic |
static virtial function for matrixElements postprocessing
TODO change name to postprocessing
matrixElements | for postprocessing |
As an example consider parity operator: \(\mathcal P = \displaystyle\prod_i (1 -2\hat n_i) \). It can be constructed from particle number operator: \( \hat N = \sum_i \hat n_i \). Solution:
Purely virtual function to override for IOperatorParameters implementation
|
inlinevirtual |
virtual link for static Postprocessing
Reimplemented in solid::ParityOperator< T1, T2 >.