6 #ifndef __extfield_fermstate_h__
7 #define __extfield_fermstate_h__
21 namespace CreateExtFieldFermStateEnv
32 template<
typename T,
typename P,
typename Q>
47 for(
int mu=0;
mu < q_u1.size(); ++
mu)
48 q_u1[
mu] *= (*ext_field)(
mu);
88 template<
typename T,
typename P,
typename Q>
Create a simple ferm connection state.
ExtFieldFermState< T, P, Q > * operator()(const Q &q) const
Construct a ConnectState.
Handle< FermBC< T, P, Q > > fbc
CreateExtFieldFermState()
CreateExtFieldFermState(Handle< FermBC< T, P, Q > > fbc_, Handle< ExternalField > ext_field_)
Full constructor.
const FermBC< T, P, Q > & getBC() const
Return the ferm BC object for this state.
Handle< FermBC< T, P, Q > > getFermBC() const
Return the ferm BC object for this state.
void operator=(const CreateExtFieldFermState &)
~CreateExtFieldFermState()
Destructor.
Handle< ExternalField > ext_field
Create a fermion connection state.
Handle< FermState< T, P, Q > > fs_u1
const Q & getLinks() const
Return the link fields needed in constructing linear operators.
Handle< FermState< T, P, Q > > fs
Handle< FermBC< T, P, Q > > getFermBC() const
Return the ferm BC object for this state.
const Handle< FermState< T, P, Q > > getOriginalState() const
Return the original field state.
void operator=(const ExtFieldFermState &)
const Handle< FermState< T, P, Q > > getU1State() const
Return the U(1) modified field state.
Handle< FermBC< T, P, Q > > fbc
ExtFieldFermState(Handle< FermBC< T, P, Q > > fbc_, Handle< ExternalField > ext_field, const Q &q_)
Full constructor.
~ExtFieldFermState()
Destructor.
const FermBC< T, P, Q > & getBC() const
Return the ferm BC object for this state.
Base class for all fermion action boundary conditions.
Support class for fermion actions and linear operators.
Class for counted reference semantics.
Simple version of FermState.
Create a connection state.
Class for counted reference semantics.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
LinOpSysSolverMGProtoClover::Q Q
Simple ferm state and a creator.
Support class for fermion actions and linear operators.