SOLIDstate
A C++ library for solid state physics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Private Member Functions | List of all members
solid::Ring< T > Class Template Reference

Ring (IGeometry implementation) class. More...

#include <Ring.hpp>

Inheritance diagram for solid::Ring< T >:
Inheritance graph
[legend]
Collaboration diagram for solid::Ring< T >:
Collaboration graph
[legend]

Public Member Functions

 Ring (int L, initList< T > param)
 Construct a new Ring object. More...
 
 Ring (int L, uniformParameters< T > &param)
 Construct a new Ring object. More...
 

Private Member Functions

arma::SpMat< T > RingAdjacency (int L, T value)
 Ring Adjacency function for Nonlocal Terms. More...
 
void Create (int L, std::string key, T value) override
 Create Ring (IGeometry) object. More...
 

Additional Inherited Members

- Public Attributes inherited from solid::Geometry< T >
Parameters< T > parameters
 

Detailed Description

template<typename T>
class solid::Ring< T >

Ring (IGeometry implementation) class.

Example ( \(L=4\)):

------------------------- 
|                       |
o --- o --- o --- o --- o
^     ^                 ^
|_____|                 |
   NonlocalTerms        LocalTerms
Template Parameters
Tdata type: double, std::complex<double> are supported

Constructor & Destructor Documentation

template<typename T >
solid::Ring< T >::Ring ( int  L,
initList< T >  param 
)
inline

Construct a new Ring object.

Parameters
Lnumber of sites
parammap with Parameters
template<typename T >
solid::Ring< T >::Ring ( int  L,
uniformParameters< T > &  param 
)
inline

Construct a new Ring object.

Parameters
Lnumber of sites
parammap with Parameters

Member Function Documentation

template<typename T >
void solid::Ring< T >::Create ( int  L,
std::string  key,
value 
)
inlineoverrideprivatevirtual

Create Ring (IGeometry) object.

Parameters
Lnumber of sites
keyparameter label
valuevalue of the parameter

Implements solid::IGeometry< T >.

template<typename T >
arma::SpMat<T> solid::Ring< T >::RingAdjacency ( int  L,
value 
)
inlineprivate

Ring Adjacency function for Nonlocal Terms.

Parameters
Lnumber of sites
valueparameter value (t,V,delta,...)
Returns
arma::SpMat<T> Parameters matrix

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