|
Grid 0.7.0
|
#include <GeneralEvenOddRationalRatioMixedPrec.h>
Public Types | |
| typedef RationalActionParams | Params |
Public Member Functions | |
| GeneralEvenOddRatioRationalMixedPrecPseudoFermionAction (FermionOperator< ImplD > &_NumOpD, FermionOperator< ImplD > &_DenOpD, FermionOperator< ImplF > &_NumOpF, FermionOperator< ImplF > &_DenOpF, const RationalActionParams &p, Integer _ReliableUpdateFreq) | |
| virtual std::string | action_name () |
| Report the name of the action. | |
| INHERIT_IMPL_TYPES (ImplD) | |
| void | SetTolerances (std::vector< RealD > action_tolerance, std::vector< RealD > md_tolerance) |
| virtual std::string | LogParameters () |
| Print the parameters of the action. | |
| const FermionField & | getPhiOdd () const |
| virtual void | refresh (const GaugeField &U, GridSerialRNG &sRNG, GridParallelRNG &pRNG) |
| Refresh pseudofermion fields. | |
| virtual RealD | Sinitial (const GaugeField &U) |
| Get the action at the start of the trajectory. | |
| virtual RealD | S (const GaugeField &U) |
| Evaluate this action with the given gauge field. | |
| virtual void | deriv (const GaugeField &U, GaugeField &dSdU) |
Timing methods | |
| void | reset_timer (void) |
| Zero timers associated with this action. | |
| void | deriv_log (RealD nrm, RealD max, RealD Fdt_nrm, RealD Fdt_max) |
| Record statistics on the action and derivative. | |
| RealD | deriv_max_average (void) |
| Mean maximum derivative for a trajectory. | |
| RealD | deriv_norm_average (void) |
| Mean (absolute value of) derivative for a trajectory. | |
| RealD | Fdt_max_average (void) |
| Mean maximum value of impulse (force integrated over a time step) for a trajectory. | |
| RealD | Fdt_norm_average (void) |
| Mean (absolute value of) impulse (force integrated over a time step) for a trajectory. | |
| RealD | deriv_timer (void) |
| Time spent computing the derivative in microseconds. | |
| RealD | S_timer (void) |
| Time spent computing the action in microseconds. | |
| RealD | refresh_timer (void) |
| Time spent refreshing pseudofermion fields in microseconds. | |
| void | deriv_timer_start (void) |
| Start timing derivative computation. | |
| void | deriv_timer_stop (void) |
| Stop timing derivative computation. | |
| void | refresh_timer_start (void) |
| Start timing pseudofermion field refresh. | |
| void | refresh_timer_stop (void) |
| Stop timing pseudofermion field refresh. | |
| void | S_timer_start (void) |
| Start timing action computation. | |
| void | S_timer_stop (void) |
| Stop timing action computation. | |
Data Fields | |
| Params | param |
| RealD | RefreshAction |
| MultiShiftFunction | ApproxPowerAction |
| MultiShiftFunction | ApproxNegPowerAction |
| MultiShiftFunction | ApproxHalfPowerAction |
| MultiShiftFunction | ApproxNegHalfPowerAction |
| MultiShiftFunction | ApproxPowerMD |
| MultiShiftFunction | ApproxNegPowerMD |
| MultiShiftFunction | ApproxHalfPowerMD |
| MultiShiftFunction | ApproxNegHalfPowerMD |
| bool | is_smeared |
| Is the action computed on a smeared gauge field. | |
| RealD | deriv_norm_sum |
| Accumulator for absolute value of derivative of action. | |
| RealD | deriv_max_sum |
| Accumulator for maximum value of derivative of action. | |
| RealD | Fdt_norm_sum |
| Accumulator for absolute value of impulse (force integrated over time step). | |
| RealD | Fdt_max_sum |
| Accumulator for maximum impulse (force integrated over time step). | |
| int | deriv_num |
| Number of times deriv_log() has been called. | |
| RealD | deriv_us |
| Time spent computing the derivative in microseconds. | |
| RealD | S_us |
| Time spent computing the action in microseconds. | |
| RealD | refresh_us |
| Time spent refreshing pseudofermion fields in microseconds. | |
Protected Member Functions | |
| virtual void | multiShiftInverse (bool numerator, const MultiShiftFunction &approx, const Integer MaxIter, const FermionFieldD &in, FermionFieldD &out) |
| virtual void | multiShiftInverse (bool numerator, const MultiShiftFunction &approx, const Integer MaxIter, const FermionFieldD &in, std::vector< FermionFieldD > &out_elems, FermionFieldD &out) |
| virtual void | ImportGauge (const typename ImplD::GaugeField &Ud) |
| virtual void | multiShiftInverse (bool numerator, const MultiShiftFunction &approx, const Integer MaxIter, const FermionField &in, FermionField &out) |
| virtual void | ImportGauge (const GaugeField &U) |
Static Protected Attributes | |
| static constexpr bool | Numerator |
| static constexpr bool | Denominator |
Private Types | |
| typedef ImplD::FermionField | FermionFieldD |
| typedef ImplF::FermionField | FermionFieldF |
Static Private Member Functions | |
| static void | generateApprox (MultiShiftFunction &approx, MultiShiftFunction &approx_inv, int inv_pow, int approx_degree, double CG_tolerance, AlgRemez &remez) |
Private Attributes | |
| FermionOperator< ImplD > & | NumOpD |
| FermionOperator< ImplD > & | DenOpD |
| FermionOperator< ImplF > & | NumOpF |
| FermionOperator< ImplF > & | DenOpF |
| Integer | ReliableUpdateFreq |
| FermionOperator< ImplD > & | NumOp |
| FermionOperator< ImplD > & | DenOp |
| FermionField | PhiEven |
| FermionField | PhiOdd |
Definition at line 42 of file GeneralEvenOddRationalRatioMixedPrec.h.
|
private |
Definition at line 44 of file GeneralEvenOddRationalRatioMixedPrec.h.
|
private |
Definition at line 45 of file GeneralEvenOddRationalRatioMixedPrec.h.
|
inherited |
Definition at line 60 of file GeneralEvenOddRationalRatio.h.
|
inline |
Definition at line 101 of file GeneralEvenOddRationalRatioMixedPrec.h.
References DenOpD, DenOpF, GeneralEvenOddRatioRationalPseudoFermionAction< ImplD >::GeneralEvenOddRatioRationalPseudoFermionAction(), NumOpD, NumOpF, and ReliableUpdateFreq.
|
inlineprotectedvirtual |
Definition at line 58 of file GeneralEvenOddRationalRatioMixedPrec.h.
References DenOpD, DenOpF, NumOpD, NumOpF, and ReliableUpdateFreq.
|
inlineprotectedvirtual |
Definition at line 75 of file GeneralEvenOddRationalRatioMixedPrec.h.
References DenOpD, DenOpF, NumOpD, NumOpF, and ReliableUpdateFreq.
|
inlineprotectedvirtual |
Definition at line 86 of file GeneralEvenOddRationalRatioMixedPrec.h.
References DenOpD, DenOpF, norm2(), NumOpD, NumOpF, and precisionChange().
|
inlinevirtual |
Report the name of the action.
Reimplemented from GeneralEvenOddRatioRationalPseudoFermionAction< ImplD >.
Reimplemented in OneFlavourEvenOddRatioRationalMixedPrecPseudoFermionAction< Impl, ImplF >.
Definition at line 110 of file GeneralEvenOddRationalRatioMixedPrec.h.
|
inherited |
|
inlinestaticprivateinherited |
Definition at line 84 of file GeneralEvenOddRationalRatio.h.
|
inlineprotectedvirtualinherited |
Definition at line 100 of file GeneralEvenOddRationalRatio.h.
|
inlineprotectedvirtualinherited |
Definition at line 111 of file GeneralEvenOddRationalRatio.h.
|
inlineinherited |
Definition at line 119 of file GeneralEvenOddRationalRatio.h.
|
inlinevirtualinherited |
Print the parameters of the action.
Implements Action< ImplD::GaugeField >.
Definition at line 212 of file GeneralEvenOddRationalRatio.h.
|
inlineinherited |
Definition at line 227 of file GeneralEvenOddRationalRatio.h.
|
inlinevirtualinherited |
Refresh pseudofermion fields.
| [in] | U | The gauge field |
| [in,out] | sRNG | The serial random number generator to use |
| [in,out] | pRNG | The parallel random number generator to use |
Implements Action< ImplD::GaugeField >.
Definition at line 229 of file GeneralEvenOddRationalRatio.h.
|
inlinevirtualinherited |
Get the action at the start of the trajectory.
If the refresh computes the action, it can be cached so that the value at the start of a Monte Carlo trajectory can be used mid-trajectory.
| [in] | U | The gauge field. |
![$S[U]$](form_0.png)
Reimplemented from Action< ImplD::GaugeField >.
Definition at line 283 of file GeneralEvenOddRationalRatio.h.
|
inlinevirtualinherited |
Evaluate this action with the given gauge field.
| [in] | U | The gauge field to evaluate the action of. |
![$S[U]$](form_0.png)
Implements Action< ImplD::GaugeField >.
Definition at line 288 of file GeneralEvenOddRationalRatio.h.
|
inlinevirtualinherited |
Evaluate the derivative of the action, to be integrated in the molecular dynamics part of the HMC.
| [in] | U | The gauge field to compute the action's derivative on. |
| [out] | dSdU | Array into which to output the resulting derivative. |
Implements Action< ImplD::GaugeField >.
Definition at line 358 of file GeneralEvenOddRationalRatio.h.
|
inlineinherited |
Zero timers associated with this action.
Definition at line 79 of file ActionBase.h.
|
inlineinherited |
Record statistics on the action and derivative.
| [in] | nrm | Absolute value of the action. |
| [in] | max | Maximum value of the action. |
| [in] | Fdt_nrm | Absolute value of the force integrated across this time step. |
| [in] | Fdt_max | Maximum value of the force integrated across this time step. |
Definition at line 91 of file ActionBase.h.
|
inlineinherited |
Mean maximum derivative for a trajectory.
Definition at line 102 of file ActionBase.h.
|
inlineinherited |
Mean (absolute value of) derivative for a trajectory.
Definition at line 104 of file ActionBase.h.
|
inlineinherited |
Mean maximum value of impulse (force integrated over a time step) for a trajectory.
Definition at line 106 of file ActionBase.h.
|
inlineinherited |
Mean (absolute value of) impulse (force integrated over a time step) for a trajectory.
Definition at line 108 of file ActionBase.h.
|
inlineinherited |
Time spent computing the derivative in microseconds.
Definition at line 110 of file ActionBase.h.
Time spent computing the action in microseconds.
Definition at line 112 of file ActionBase.h.
|
inlineinherited |
Time spent refreshing pseudofermion fields in microseconds.
Definition at line 114 of file ActionBase.h.
|
inlineinherited |
Start timing derivative computation.
Definition at line 116 of file ActionBase.h.
|
inlineinherited |
Stop timing derivative computation.
Definition at line 118 of file ActionBase.h.
|
inlineinherited |
Start timing pseudofermion field refresh.
Definition at line 120 of file ActionBase.h.
|
inlineinherited |
Stop timing pseudofermion field refresh.
Definition at line 122 of file ActionBase.h.
|
inlineinherited |
Start timing action computation.
Definition at line 124 of file ActionBase.h.
|
inlineinherited |
Stop timing action computation.
Definition at line 126 of file ActionBase.h.
|
private |
Definition at line 47 of file GeneralEvenOddRationalRatioMixedPrec.h.
Referenced by GeneralEvenOddRatioRationalMixedPrecPseudoFermionAction(), ImportGauge(), multiShiftInverse(), and multiShiftInverse().
|
private |
Definition at line 48 of file GeneralEvenOddRationalRatioMixedPrec.h.
Referenced by GeneralEvenOddRatioRationalMixedPrecPseudoFermionAction(), ImportGauge(), multiShiftInverse(), and multiShiftInverse().
|
private |
Definition at line 50 of file GeneralEvenOddRationalRatioMixedPrec.h.
Referenced by GeneralEvenOddRatioRationalMixedPrecPseudoFermionAction(), ImportGauge(), multiShiftInverse(), and multiShiftInverse().
|
private |
Definition at line 51 of file GeneralEvenOddRationalRatioMixedPrec.h.
Referenced by GeneralEvenOddRatioRationalMixedPrecPseudoFermionAction(), ImportGauge(), multiShiftInverse(), and multiShiftInverse().
|
private |
Definition at line 53 of file GeneralEvenOddRationalRatioMixedPrec.h.
Referenced by GeneralEvenOddRatioRationalMixedPrecPseudoFermionAction(), multiShiftInverse(), and multiShiftInverse().
|
inherited |
Definition at line 61 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 62 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 64 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 65 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 66 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 67 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 70 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 71 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 72 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Definition at line 73 of file GeneralEvenOddRationalRatio.h.
|
privateinherited |
Definition at line 77 of file GeneralEvenOddRationalRatio.h.
|
privateinherited |
Definition at line 78 of file GeneralEvenOddRationalRatio.h.
|
privateinherited |
Definition at line 79 of file GeneralEvenOddRationalRatio.h.
|
privateinherited |
Definition at line 80 of file GeneralEvenOddRationalRatio.h.
|
staticconstexprprotectedinherited |
Definition at line 96 of file GeneralEvenOddRationalRatio.h.
|
staticconstexprprotectedinherited |
Definition at line 97 of file GeneralEvenOddRationalRatio.h.
|
inherited |
Is the action computed on a smeared gauge field.
Definition at line 66 of file ActionBase.h.
|
inherited |
Accumulator for absolute value of derivative of action.
Definition at line 67 of file ActionBase.h.
|
inherited |
Accumulator for maximum value of derivative of action.
Definition at line 68 of file ActionBase.h.
|
inherited |
Accumulator for absolute value of impulse (force integrated over time step).
Definition at line 69 of file ActionBase.h.
|
inherited |
Accumulator for maximum impulse (force integrated over time step).
Definition at line 70 of file ActionBase.h.
|
inherited |
Number of times deriv_log() has been called.
Definition at line 71 of file ActionBase.h.
|
inherited |
Time spent computing the derivative in microseconds.
Definition at line 72 of file ActionBase.h.
Time spent computing the action in microseconds.
Definition at line 73 of file ActionBase.h.
|
inherited |
Time spent refreshing pseudofermion fields in microseconds.
Definition at line 74 of file ActionBase.h.