pomerol  2.1
Public Member Functions | Data Fields
Pomerol::ThreePointSusceptibilityPart::NonResonantFFTerm::Hash Struct Reference

Hasher for non-resonant fermion-fermion terms. More...

#include <ThreePointSusceptibilityPart.hpp>

Public Member Functions

 Hash (double EnergySpacing=1e-8)
 
std::size_t operator() (NonResonantFFTerm const &t) const
 
void broadcast (MPI_Comm const &comm, int root)
 

Data Fields

double EnergySpacing
 Poles located within this energy spacing from each other produce the same hash value. More...
 

Detailed Description

Hasher for non-resonant fermion-fermion terms.

Definition at line 78 of file ThreePointSusceptibilityPart.hpp.

Constructor & Destructor Documentation

◆ Hash()

Pomerol::ThreePointSusceptibilityPart::NonResonantFFTerm::Hash::Hash ( double  EnergySpacing = 1e-8)
inlineexplicit

Constructor.

Parameters
[in]EnergySpacingEnergy spacing.

Definition at line 83 of file ThreePointSusceptibilityPart.hpp.

Member Function Documentation

◆ broadcast()

void Pomerol::ThreePointSusceptibilityPart::NonResonantFFTerm::Hash::broadcast ( MPI_Comm const &  comm,
int  root 
)
inline

Broadcast this object from a root MPI rank to all other ranks in a communicator.

Parameters
[in]commThe MPI communicator for the broadcast operation.
[in]rootRank of the root MPI process.

Definition at line 94 of file ThreePointSusceptibilityPart.hpp.

◆ operator()()

std::size_t Pomerol::ThreePointSusceptibilityPart::NonResonantFFTerm::Hash::operator() ( NonResonantFFTerm const &  t) const
inline

Compute hash of a term.

Parameters
[in]tTerm to compute hash for.

Definition at line 86 of file ThreePointSusceptibilityPart.hpp.

Field Documentation

◆ EnergySpacing

double Pomerol::ThreePointSusceptibilityPart::NonResonantFFTerm::Hash::EnergySpacing

Poles located within this energy spacing from each other produce the same hash value.

Definition at line 80 of file ThreePointSusceptibilityPart.hpp.


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