25 template <
typename P,
typename Q>
38 virtual const P&
getP(
void)
const = 0;
39 virtual const Q&
getQ(
void)
const = 0;
54 virtual ~AbsPFFieldState<P,Q,Phi>() {}
57 // copy ideas for derived classes
58 virtual AbsPFFieldState<P,Q,Phi>* clone(void) const = 0;
61 virtual const P& getP(void) const = 0;
62 virtual const Q& getQ(void) const = 0;
64 virtual const int numPhi(void) const =0;
65 virtual const Phi& getPhi(int i) const = 0;
68 virtual P& getP(void) = 0;
69 virtual Q& getQ(void) = 0;
70 virtual Phi& getPhi(int i) = 0;
72 // And that is all we can do here
82 multi1d<LatticeColorMatrix> >
88 const multi1d<LatticeColorMatrix>& q_) {
117 const multi1d<LatticeColorMatrix>&
getP(
void)
const {
return p; }
118 const multi1d<LatticeColorMatrix>&
getQ(
void)
const {
return q; }
121 multi1d<LatticeColorMatrix>&
getP(
void) {
return p; }
122 multi1d<LatticeColorMatrix>&
getQ(
void) {
return q; }
125 multi1d<LatticeColorMatrix>
p;
126 multi1d<LatticeColorMatrix>
q;
Primary include file for CHROMA library code.
virtual const Q & getQ(void) const =0
virtual const P & getP(void) const =0
Accessors.
virtual AbsFieldState< P, Q > * clone(void) const =0
Clone the state – this will be needed for the virtual.
virtual P & getP(void)=0
Mutators.
GaugeFieldState(const multi1d< LatticeColorMatrix > &p_, const multi1d< LatticeColorMatrix > &q_)
GaugeFieldState(const GaugeFieldState &s)
const multi1d< LatticeColorMatrix > & getP(void) const
Accessors.
const multi1d< LatticeColorMatrix > & getQ(void) const
GaugeFieldState * clone(void) const
Clone the state – this will be needed for the virtual.
multi1d< LatticeColorMatrix > q
multi1d< LatticeColorMatrix > p
multi1d< LatticeColorMatrix > & getQ(void)
multi1d< LatticeColorMatrix > & getP(void)
Mutators.
Asqtad Staggered-Dirac operator.
LinOpSysSolverMGProtoClover::Q Q
multi1d< LatticeFermion > s(Ncb)
multi1d< LatticeColorMatrix > P