|
Grid 0.7.0
|
#include <DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h>
Public Member Functions | |
| INHERIT_IMPL_TYPES (ImplD) | |
| DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion (SchurFactoredFermionOperator< ImplD, ImplF > &_NumOp, SchurFactoredFermionOperator< ImplD, ImplF > &_DenOp, RealD _DerivativeTol, RealD _ActionTol, RealD _InnerTol=1.0e-6) | |
| virtual std::string | action_name () |
| Report the name of the action. | |
| virtual std::string | LogParameters () |
| Print the parameters of the action. | |
| virtual void | refresh (const GaugeField &U, GridSerialRNG &sRNG, GridParallelRNG &pRNG) |
| Refresh pseudofermion fields. | |
| 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. | |
Methods working on plain gauge fields | |
| virtual RealD | Sinitial (const GaugeField &U) |
| Get the action at the start of the trajectory. | |
Data Fields | |
| 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. | |
Private Attributes | |
| SchurFactoredFermionOperator< ImplD, ImplF > & | NumOp |
| SchurFactoredFermionOperator< ImplD, ImplF > & | DenOp |
| RealD | InnerStoppingCondition |
| RealD | ActionStoppingCondition |
| RealD | DerivativeStoppingCondition |
| FermionField | Phi |
Definition at line 36 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
|
inline |
Definition at line 51 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
References ActionStoppingCondition, DenOp, DerivativeStoppingCondition, InnerStoppingCondition, NumOp, and Phi.
| DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion< ImplD, ImplF >::INHERIT_IMPL_TYPES | ( | ImplD | ) |
|
inlinevirtual |
Report the name of the action.
Implements Action< ImplD::GaugeField >.
Definition at line 61 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
|
inlinevirtual |
Print the parameters of the action.
Implements Action< ImplD::GaugeField >.
Definition at line 63 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
|
inlinevirtual |
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 68 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
References ActionStoppingCondition, DenOp, DumpSliceNorm(), gaussian(), InnerStoppingCondition, NumOp, Phi, and U.
|
inlinevirtual |
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 107 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
References ActionStoppingCondition, DenOp, InnerStoppingCondition, norm2(), NumOp, Phi, and U.
|
inlinevirtual |
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 128 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
References DaggerNo, DaggerYes, DenOp, DerivativeStoppingCondition, InnerStoppingCondition, NumOp, Phi, and U.
|
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.
Mean maximum derivative for a trajectory.
Definition at line 102 of file ActionBase.h.
Mean (absolute value of) derivative for a trajectory.
Definition at line 104 of file ActionBase.h.
Mean maximum value of impulse (force integrated over a time step) for a trajectory.
Definition at line 106 of file ActionBase.h.
Mean (absolute value of) impulse (force integrated over a time step) for a trajectory.
Definition at line 108 of file ActionBase.h.
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.
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.
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 in GeneralEvenOddRatioRationalPseudoFermionAction< ImplD >.
Definition at line 157 of file ActionBase.h.
|
private |
Definition at line 41 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
Referenced by deriv(), DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion(), refresh(), and S().
|
private |
Definition at line 42 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
Referenced by deriv(), DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion(), refresh(), and S().
|
private |
Definition at line 44 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
Referenced by deriv(), DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion(), refresh(), and S().
|
private |
Definition at line 45 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
Referenced by DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion(), refresh(), and S().
|
private |
Definition at line 46 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
Referenced by deriv(), and DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion().
|
private |
Definition at line 48 of file DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion.h.
Referenced by deriv(), DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion(), refresh(), and S().
|
inherited |
Is the action computed on a smeared gauge field.
Definition at line 66 of file ActionBase.h.
Accumulator for absolute value of derivative of action.
Definition at line 67 of file ActionBase.h.
Accumulator for maximum value of derivative of action.
Definition at line 68 of file ActionBase.h.
Accumulator for absolute value of impulse (force integrated over time step).
Definition at line 69 of file ActionBase.h.
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.
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.
Time spent refreshing pseudofermion fields in microseconds.
Definition at line 74 of file ActionBase.h.