pomerol  2.1
Public Member Functions | Data Fields
Pomerol::TwoParticleGFPart::ResonantTerm::KeyEqual Struct Reference

Similarity predicate for resonant terms. More...

#include <TwoParticleGFPart.hpp>

Public Member Functions

 KeyEqual (double Tolerance=1e-8)
 
bool operator() (ResonantTerm const &t1, ResonantTerm const &t2) const
 
void broadcast (MPI_Comm const &comm, int root)
 

Data Fields

double Tolerance
 Tolerance level used to compare positions of the poles. More...
 

Detailed Description

Similarity predicate for resonant terms.

Definition at line 230 of file TwoParticleGFPart.hpp.

Constructor & Destructor Documentation

◆ KeyEqual()

Pomerol::TwoParticleGFPart::ResonantTerm::KeyEqual::KeyEqual ( double  Tolerance = 1e-8)
inlineexplicit

Constructor.

Parameters
[in]ToleranceTolerance level used to compare positions of the pole.

Definition at line 235 of file TwoParticleGFPart.hpp.

Member Function Documentation

◆ broadcast()

void Pomerol::TwoParticleGFPart::ResonantTerm::KeyEqual::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 247 of file TwoParticleGFPart.hpp.

◆ operator()()

bool Pomerol::TwoParticleGFPart::ResonantTerm::KeyEqual::operator() ( ResonantTerm const &  t1,
ResonantTerm const &  t2 
) const
inline

Are terms similar?

Parameters
[in]t1First term.
[in]t2Second term.

Definition at line 239 of file TwoParticleGFPart.hpp.

Field Documentation

◆ Tolerance

double Pomerol::TwoParticleGFPart::ResonantTerm::KeyEqual::Tolerance

Tolerance level used to compare positions of the poles.

Definition at line 232 of file TwoParticleGFPart.hpp.


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