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

Similarity predicate for resonant terms. More...

#include <ThreePointSusceptibilityPart.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 316 of file ThreePointSusceptibilityPart.hpp.

Constructor & Destructor Documentation

◆ KeyEqual()

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

Constructor.

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

Definition at line 321 of file ThreePointSusceptibilityPart.hpp.

Member Function Documentation

◆ broadcast()

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

◆ operator()()

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

Are terms similar?

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

Definition at line 325 of file ThreePointSusceptibilityPart.hpp.

Field Documentation

◆ Tolerance

double Pomerol::ThreePointSusceptibilityPart::ResonantTerm::KeyEqual::Tolerance

Tolerance level used to compare positions of the poles.

Definition at line 318 of file ThreePointSusceptibilityPart.hpp.


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