Grid 0.7.0
HmcObservable< Field > Class Template Referenceabstract

HMC Observable class, HMC observables inherit the method TrajectoryComplete from here, which is used to run the computation of on-the-fly observables. More...

#include <hmc_observable.h>

Public Member Functions

virtual void TrajectoryComplete (int traj, ConfigurationBase< Field > &SmartConfig, GridSerialRNG &sRNG, GridParallelRNG &pRNG)
virtual void TrajectoryComplete (int traj, Field &U, GridSerialRNG &sRNG, GridParallelRNG &pRNG)=0
virtual void TrajectoryComplete (int traj, ConfigurationBase< Field > &SmartConfig, GridSerialRNG &sRNG, GridParallelRNG &pRNG, bool accept)
virtual void TrajectoryComplete (int traj, Field &U, GridSerialRNG &sRNG, GridParallelRNG &pRNG, bool accept)

Detailed Description

template<class Field>
class HmcObservable< Field >

HMC Observable class, HMC observables inherit the method TrajectoryComplete from here, which is used to run the computation of on-the-fly observables.

Expects: an integer traj : trajectory number a reference to ConfigurationBase : the gauge field configuration a reference to a serial RNG a reference to a parallel RNG a bool accept (optional): whether the proposed update was accepted (true) or rejected (false). This will always be supplied by Grid; overloads omitting it are present for backward compatibility. New code should override the versions taking the accept parameter.

Definition at line 35 of file hmc_observable.h.

Member Function Documentation

◆ TrajectoryComplete() [1/4]

template<class Field>
virtual void HmcObservable< Field >::TrajectoryComplete ( int traj,
ConfigurationBase< Field > & SmartConfig,
GridSerialRNG & sRNG,
GridParallelRNG & pRNG )
inlinevirtual

◆ TrajectoryComplete() [2/4]

template<class Field>
virtual void HmcObservable< Field >::TrajectoryComplete ( int traj,
Field & U,
GridSerialRNG & sRNG,
GridParallelRNG & pRNG )
pure virtual

References U.

◆ TrajectoryComplete() [3/4]

template<class Field>
virtual void HmcObservable< Field >::TrajectoryComplete ( int traj,
ConfigurationBase< Field > & SmartConfig,
GridSerialRNG & sRNG,
GridParallelRNG & pRNG,
bool accept )
inlinevirtual

Definition at line 69 of file hmc_observable.h.

References TrajectoryComplete().

◆ TrajectoryComplete() [4/4]

template<class Field>
virtual void HmcObservable< Field >::TrajectoryComplete ( int traj,
Field & U,
GridSerialRNG & sRNG,
GridParallelRNG & pRNG,
bool accept )
inlinevirtual

Definition at line 77 of file hmc_observable.h.

References TrajectoryComplete(), and U.


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