Grid 0.7.0
Lattice_reality.h File Reference

Go to the source code of this file.

Functions

 NAMESPACE_BEGIN (Grid)
template<class vobj>
Lattice< vobj > adj (const Lattice< vobj > &lhs)
template<class vobj>
Lattice< vobj > conjugate (const Lattice< vobj > &lhs)
template<class vobj>
Lattice< typename vobj::Complexified > toComplex (const Lattice< vobj > &lhs)
template<class vobj>
Lattice< typename vobj::Realified > toReal (const Lattice< vobj > &lhs)
template<class Expression, typename std::enable_if< is_lattice_expr< Expression >::value, void >::type * = nullptr>
auto toComplex (const Expression &expr) -> decltype(closure(expr))
template<class Expression, typename std::enable_if< is_lattice_expr< Expression >::value, void >::type * = nullptr>
auto toReal (const Expression &expr) -> decltype(closure(expr))
template<class Expression, typename std::enable_if< is_lattice_expr< Expression >::value, void >::type * = nullptr>
auto adj (const Expression &expr) -> decltype(closure(expr))
template<class Expression, typename std::enable_if< is_lattice_expr< Expression >::value, void >::type * = nullptr>
auto conjugate (const Expression &expr) -> decltype(closure(expr))
 NAMESPACE_END (Grid)

Function Documentation

◆ NAMESPACE_BEGIN()

NAMESPACE_BEGIN ( Grid )

◆ adj() [1/2]

template<class vobj>
Lattice< vobj > adj ( const Lattice< vobj > & lhs)
inline

Definition at line 41 of file Lattice_reality.h.

References accelerator_for, AcceleratorRead, AcceleratorWrite, autoView, LatticeAccelerator< vobj >::Checkerboard(), and Lattice< vobj >::Grid().

Referenced by adj(), SmearedConfiguration< Gimpl >::AnalyticSmearedForce(), SmearedConfigurationMasked< Gimpl >::AnalyticSmearedForce(), BaryonUtils< FImpl >::BaryonGamma3ptGroup1Site(), BaryonUtils< FImpl >::BaryonGamma3ptGroup2Site(), BaryonUtils< FImpl >::BaryonGamma3ptGroup3Site(), SmearedConfigurationMasked< Gimpl >::BaseSmear(), SmearedConfigurationMasked< Gimpl >::BaseSmearDerivative(), MultiRHSBlockProject< Field >::blasNorm2(), WilsonCloverHelpers< Impl >::Cmunu(), SmearedConfigurationMasked< Gimpl >::Compute_MpInvJx_dNxxdSy(), SmearedConfigurationMasked< Gimpl >::ComputeNxy(), CayleyFermion5D< Impl >::ContractConservedCurrent(), WilsonFermion< Impl >::ContractConservedCurrent(), ConjugateBC::CovShiftBackward(), PeriodicBC::CovShiftBackward(), ConjugateBC::CovShiftIdentityBackward(), PeriodicBC::CovShiftIdentityBackward(), Smear_APE< Gimpl >::derivative(), DWFSlowFermion< WilsonImplF >::DhopDirU(), WilsonLoops< PeriodicGimplR >::dirRectangle(), DomainWallVec5dImpl< vComplex, FundamentalRepresentation, CoeffReal >::DoubleStore(), GparityWilsonImpl< vComplex, FundamentalRepresentation, CoeffReal >::DoubleStore(), StaggeredImpl< vComplex, FundamentalRepresentation >::DoubleStore(), StaggeredVec5dImpl< vComplex, FundamentalRepresentation >::DoubleStore(), WilsonImpl< vComplex, FundamentalRepresentation, CoeffReal >::DoubleStore(), ScalarAdjMatrixImplTypes< vComplex, Nc >::FieldSquareNorm(), WilsonLoops< PeriodicGimplR >::FieldStrength(), WilsonLoops< PeriodicGimplR >::FieldStrengthMxN(), GaugeTransform(), GaugeTransform(), WilsonCloverFermion< Impl, CloverHelpers >::ImportGauge(), ImprovedStaggeredFermion5D< Impl >::ImportGaugeSimple(), ImprovedStaggeredFermion< Impl >::ImportGaugeSimple(), SmearedConfigurationMasked< Gimpl >::logDetJacobianForce(), SmearedConfigurationMasked< Gimpl >::logDetJacobianForceLevel(), SmearedConfigurationMasked< Gimpl >::logDetJacobianLevel(), LaplacianAdjointField< Impl >::M(), LaplacianAdjointField< Impl >::MDeriv(), LaplacianAdjointField< Impl >::MDeriv(), GeneralCoarsenedMatrix< Fobj, CComplex, nbasis >::PopulateAdag(), Smear_HISQ< Gimpl >::projectU3(), reconstruct3(), reconstructSp(), reconstructSU(), WilsonLoops< PeriodicGimplR >::RectStapleOptimised(), BaryonUtils< FImpl >::SigmaToNucleonQ1EyeSite(), BaryonUtils< FImpl >::SigmaToNucleonQ1NonEyeSite(), BaryonUtils< FImpl >::SigmaToNucleonQ2EyeSite(), BaryonUtils< FImpl >::SigmaToNucleonQ2NonEyeSite(), Smear_APE< Gimpl >::smear(), Smear_HISQ< Gimpl >::smear(), Smear_Stout< Gimpl >::smear(), SmearedConfiguration< Gimpl >::smeared_force(), SmearedConfigurationMasked< Gimpl >::smeared_force(), SpTa(), SubGroupHeatBath(), Ta(), LatticeTwoIndexMatrix< ncolour, S, group_name >::testGenerators(), testGenerators(), testGenerators(), AdjointRep< Nc >::update_representation(), TwoIndexRep< Nc, Symmetric, GroupName::SU >::update_representation(), BaryonUtils< FImpl >::XiToSigmaQ1EyeSite(), and BaryonUtils< FImpl >::XiToSigmaQ2EyeSite().

◆ conjugate() [1/2]

template<class vobj>
Lattice< vobj > conjugate ( const Lattice< vobj > & lhs)
inline

Definition at line 54 of file Lattice_reality.h.

References accelerator_for, AcceleratorRead, AcceleratorWrite, autoView, LatticeAccelerator< vobj >::Checkerboard(), and Lattice< vobj >::Grid().

Referenced by CayleyFermion5D< Impl >::addQmu(), Grid::ImplicitlyRestartedBlockLanczos< Field >::blockwiseStep(), ImplicitlyRestartedBlockLanczosCoarse< Field >::blockwiseStep(), CoarsenedMatrix< Fobj, CComplex, nbasis >::CoarsenOperator(), GeneralCoarsenedMatrix< Fobj, CComplex, nbasis >::CoarsenOperator(), MultiGeneralCoarsenedMatrix< Fobj, CComplex, nbasis >::CoarsenOperator(), conjugate(), ConjugateBC::CovShiftBackward(), ConjugateBC::CovShiftForward(), ConjugateBC::CovShiftIdentityBackward(), ConjugateBC::CshiftLink(), Grid::ImplicitlyRestartedBlockLanczos< Field >::diagonalize_Eigen(), ImplicitlyRestartedBlockLanczosCoarse< Field >::diagonalize_Eigen(), CayleyFermion5D< Impl >::DminusDag(), GparityWilsonImpl< vComplex, FundamentalRepresentation, CoeffReal >::DoubleStore(), WilsonImpl< vComplex, FundamentalRepresentation, CoeffReal >::DoubleStore(), GridBLAS::gemmBatched(), GparityWilsonImpl< vComplex, FundamentalRepresentation, CoeffReal >::InsertForce4D(), Photon< GImpl >::makeInvKHatSquared(), CayleyFermion5D< Impl >::MeooeDag5D(), CayleyFermion5D< Impl >::MooeeDag(), CompactWilsonCloverHelpers< Impl >::MooeeKernel_cpu(), ChronoForecast< Matrix, Field >::operator()(), ProjectOnGroup(), LatticeMatrix< ncolour, group_name >::ProjectOnSpecialGroup(), ProjectOnSpGroup(), Grid::CommunicationAvoidingGeneralisedMinimalResidual< Field >::qrUpdate(), Grid::FlexibleCommunicationAvoidingGeneralisedMinimalResidual< Field >::qrUpdate(), Grid::FlexibleGeneralisedMinimalResidual< Field >::qrUpdate(), Grid::GeneralisedMinimalResidual< Field >::qrUpdate(), Grid::MixedPrecisionFlexibleGeneralisedMinimalResidual< FieldD, FieldF, type, type >::qrUpdate(), ConjugateBC::ShiftStaple(), SpTa(), LatticeMatrix< ncolour, group_name >::su2SubGroupIndex(), LatticeAdjMatrix< ncolour >::testGenerators(), Photon< GImpl >::transverseProjectSpatial(), CompactWilsonCloverHelpers< Impl >::triangle_elem(), unique_reconstructSU(), Grid::ImplicitlyRestartedBlockLanczos< Field >::unpackHermitBlockTriDiagMatToEigen(), and ImplicitlyRestartedBlockLanczosCoarse< Field >::unpackHermitBlockTriDiagMatToEigen().

◆ toComplex() [1/2]

template<class vobj>
Lattice< typename vobj::Complexified > toComplex ( const Lattice< vobj > & lhs)
inline

◆ toReal() [1/2]

template<class vobj>
Lattice< typename vobj::Realified > toReal ( const Lattice< vobj > & lhs)
inline

◆ toComplex() [2/2]

template<class Expression, typename std::enable_if< is_lattice_expr< Expression >::value, void >::type * = nullptr>
auto toComplex ( const Expression & expr) -> decltype(closure(expr))

Definition at line 94 of file Lattice_reality.h.

References closure(), and toComplex().

◆ toReal() [2/2]

template<class Expression, typename std::enable_if< is_lattice_expr< Expression >::value, void >::type * = nullptr>
auto toReal ( const Expression & expr) -> decltype(closure(expr))

Definition at line 99 of file Lattice_reality.h.

References closure(), and toReal().

◆ adj() [2/2]

template<class Expression, typename std::enable_if< is_lattice_expr< Expression >::value, void >::type * = nullptr>
auto adj ( const Expression & expr) -> decltype(closure(expr))

Definition at line 104 of file Lattice_reality.h.

References adj(), and closure().

◆ conjugate() [2/2]

template<class Expression, typename std::enable_if< is_lattice_expr< Expression >::value, void >::type * = nullptr>
auto conjugate ( const Expression & expr) -> decltype(closure(expr))

Definition at line 109 of file Lattice_reality.h.

References closure(), and conjugate().

◆ NAMESPACE_END()

NAMESPACE_END ( Grid )