CHROMA
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Chroma::SimpleGaugeState< P, Q > Class Template Reference

Simple version of GaugeState. More...

#include <simple_gaugestate.h>

Inheritance diagram for Chroma::SimpleGaugeState< P, Q >:
Chroma::GaugeState< P, Q > Chroma::ConnectState< P, Q >

Public Member Functions

 SimpleGaugeState (Handle< GaugeBC< P, Q > > gbc_, const Q &q_)
 Full constructor. More...
 
 ~SimpleGaugeState ()
 Destructor. More...
 
const QgetLinks () const
 Return the link fields needed in constructing linear operators. More...
 
const GaugeBC< P, Q > & getBC () const
 Return the gauge BC object for this state. More...
 
- Public Member Functions inherited from Chroma::GaugeState< P, Q >
virtual ~GaugeState ()
 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

 SimpleGaugeState ()
 
void operator= (const SimpleGaugeState &)
 

Private Attributes

Handle< GaugeBC< P, Q > > gbc
 
Q q
 

Detailed Description

template<typename P, typename Q>
class Chroma::SimpleGaugeState< P, Q >

Simple version of GaugeState.

Only needs to hold a gauge field and gauge bc

Definition at line 32 of file simple_gaugestate.h.

Constructor & Destructor Documentation

◆ SimpleGaugeState() [1/2]

template<typename P , typename Q >
Chroma::SimpleGaugeState< P, Q >::SimpleGaugeState ( Handle< GaugeBC< P, Q > >  gbc_,
const Q q_ 
)
inline

Full constructor.

Definition at line 36 of file simple_gaugestate.h.

References Chroma::SimpleGaugeState< P, Q >::gbc, and Chroma::SimpleGaugeState< P, Q >::q.

◆ ~SimpleGaugeState()

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

Destructor.

Definition at line 44 of file simple_gaugestate.h.

◆ SimpleGaugeState() [2/2]

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

Definition at line 53 of file simple_gaugestate.h.

Member Function Documentation

◆ getBC()

template<typename P , typename Q >
const GaugeBC<P,Q>& Chroma::SimpleGaugeState< P, Q >::getBC ( ) const
inlinevirtual

Return the gauge BC object for this state.

Implements Chroma::GaugeState< P, Q >.

Definition at line 50 of file simple_gaugestate.h.

References Chroma::SimpleGaugeState< P, Q >::gbc.

◆ getLinks()

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

Return the link fields needed in constructing linear operators.

Implements Chroma::ConnectState< P, Q >.

Definition at line 47 of file simple_gaugestate.h.

References Chroma::SimpleGaugeState< P, Q >::q.

◆ operator=()

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

Definition at line 54 of file simple_gaugestate.h.

Member Data Documentation

◆ gbc

template<typename P , typename Q >
Handle< GaugeBC<P,Q> > Chroma::SimpleGaugeState< P, Q >::gbc
private

◆ q

template<typename P , typename Q >
Q Chroma::SimpleGaugeState< P, Q >::q
private

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