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

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

#include <ThreePointSusceptibilityPart.hpp>

Public Member Functions

 Hash (double EnergySpacing=1e-8)
 
std::size_t operator() (NonResonantFBTerm 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-boson terms.

Definition at line 188 of file ThreePointSusceptibilityPart.hpp.

Constructor & Destructor Documentation

◆ Hash()

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

Constructor.

Parameters
[in]EnergySpacingEnergy spacing.

Definition at line 193 of file ThreePointSusceptibilityPart.hpp.

Member Function Documentation

◆ broadcast()

void Pomerol::ThreePointSusceptibilityPart::NonResonantFBTerm::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 205 of file ThreePointSusceptibilityPart.hpp.

◆ operator()()

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

Compute hash of a term.

Parameters
[in]tTerm to compute hash for.

Definition at line 196 of file ThreePointSusceptibilityPart.hpp.

Field Documentation

◆ EnergySpacing

double Pomerol::ThreePointSusceptibilityPart::NonResonantFBTerm::Hash::EnergySpacing

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

Definition at line 190 of file ThreePointSusceptibilityPart.hpp.


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