CHROMA
Public Member Functions | Private Member Functions | Private Attributes | List of all members

Simple version of FermState. More...

#include <simple_fermstate.h>

Inheritance diagram for Chroma::SimpleFermState< T, P, Q >:
Chroma::FermState< T, P, Q > Chroma::ConnectState< P, Q >

Public Member Functions

 SimpleFermState (const multi1d< int > &boundary, const Q &q_)
 Use only a SimpleFermBC with a boundary flag and a Q. More...
 
 SimpleFermState (Handle< FermBC< T, P, Q > > fbc_, const Q &q_)
 Full constructor. More...
 
 ~SimpleFermState ()
 Destructor. More...
 
const QgetLinks () const
 Return the link fields needed in constructing linear operators. More...
 
const FermBC< T, P, Q > & getBC () const
 Return the ferm BC object for this state. More...
 
Handle< FermBC< T, P, Q > > getFermBC () const
 Return the ferm BC object for this state. More...
 
- Public Member Functions inherited from Chroma::FermState< T, P, Q >
virtual ~FermState ()
 Virtual destructor to help with cleanup;. More...
 
- Public Member Functions inherited from Chroma::ConnectState< P, Q >
virtual ~ConnectState ()
 Virtual destructor to help with cleanup;. More...
 
virtual void deriv (P &F) const
 

Private Member Functions

 SimpleFermState ()
 
void operator= (const SimpleFermState &)
 

Private Attributes

Handle< FermBC< T, P, Q > > fbc
 
Q q
 

Detailed Description

template<typename T, typename P, typename Q>
class Chroma::SimpleFermState< T, P, Q >

Simple version of FermState.

Only needs to hold a ferm field and ferm bc

Definition at line 23 of file simple_fermstate.h.

Constructor & Destructor Documentation

◆ SimpleFermState() [1/3]

template<typename T , typename P , typename Q >
Chroma::SimpleFermState< T, P, Q >::SimpleFermState ( const multi1d< int > &  boundary,
const Q q_ 
)
inline

Use only a SimpleFermBC with a boundary flag and a Q.

Definition at line 27 of file simple_fermstate.h.

References Chroma::SimpleFermState< T, P, Q >::fbc, and Chroma::SimpleFermState< T, P, Q >::q.

◆ SimpleFermState() [2/3]

template<typename T , typename P , typename Q >
Chroma::SimpleFermState< T, P, Q >::SimpleFermState ( Handle< FermBC< T, P, Q > >  fbc_,
const Q q_ 
)
inline

Full constructor.

Definition at line 35 of file simple_fermstate.h.

References Chroma::SimpleFermState< T, P, Q >::fbc, and Chroma::SimpleFermState< T, P, Q >::q.

◆ ~SimpleFermState()

template<typename T , typename P , typename Q >
Chroma::SimpleFermState< T, P, Q >::~SimpleFermState ( )
inline

Destructor.

Definition at line 43 of file simple_fermstate.h.

◆ SimpleFermState() [3/3]

template<typename T , typename P , typename Q >
Chroma::SimpleFermState< T, P, Q >::SimpleFermState ( )
inlineprivate

Definition at line 55 of file simple_fermstate.h.

Member Function Documentation

◆ getBC()

template<typename T , typename P , typename Q >
const FermBC<T,P,Q>& Chroma::SimpleFermState< T, P, Q >::getBC ( ) const
inlinevirtual

Return the ferm BC object for this state.

Implements Chroma::FermState< T, P, Q >.

Definition at line 49 of file simple_fermstate.h.

References Chroma::SimpleFermState< T, P, Q >::fbc.

◆ getFermBC()

template<typename T , typename P , typename Q >
Handle< FermBC<T,P,Q> > Chroma::SimpleFermState< T, P, Q >::getFermBC ( ) const
inlinevirtual

Return the ferm BC object for this state.

Implements Chroma::FermState< T, P, Q >.

Definition at line 52 of file simple_fermstate.h.

References Chroma::SimpleFermState< T, P, Q >::fbc.

◆ getLinks()

template<typename T , typename P , typename Q >
const Q& Chroma::SimpleFermState< T, P, Q >::getLinks ( ) const
inlinevirtual

Return the link fields needed in constructing linear operators.

Implements Chroma::ConnectState< P, Q >.

Definition at line 46 of file simple_fermstate.h.

References Chroma::SimpleFermState< T, P, Q >::q.

◆ operator=()

template<typename T , typename P , typename Q >
void Chroma::SimpleFermState< T, P, Q >::operator= ( const SimpleFermState< T, P, Q > &  )
inlineprivate

Definition at line 56 of file simple_fermstate.h.

Member Data Documentation

◆ fbc

template<typename T , typename P , typename Q >
Handle< FermBC<T,P,Q> > Chroma::SimpleFermState< T, P, Q >::fbc
private

◆ q

template<typename T , typename P , typename Q >
Q Chroma::SimpleFermState< T, P, Q >::q
private

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