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

Predicate: Does a term have a negligible residue? More...

#include <TwoParticleGFPart.hpp>

Public Member Functions

 IsNegligible (double Tolerance=1e-16)
 
bool operator() (ResonantTerm const &t, std::size_t ToleranceDivisor) const
 
void broadcast (MPI_Comm const &comm, int root)
 

Data Fields

double Tolerance
 Tolerance level used to detect negligible residues. More...
 

Detailed Description

Predicate: Does a term have a negligible residue?

Definition at line 251 of file TwoParticleGFPart.hpp.

Constructor & Destructor Documentation

◆ IsNegligible()

Pomerol::TwoParticleGFPart::ResonantTerm::IsNegligible::IsNegligible ( double  Tolerance = 1e-16)
inlineexplicit

Constructor.

Parameters
[in]ToleranceTolerance level used to detect negligible residues.

Definition at line 256 of file TwoParticleGFPart.hpp.

Member Function Documentation

◆ broadcast()

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

◆ operator()()

bool Pomerol::TwoParticleGFPart::ResonantTerm::IsNegligible::operator() ( ResonantTerm const &  t,
std::size_t  ToleranceDivisor 
) const
inline

Is term negligible?

Parameters
[in]tTerm.
[in]ToleranceDivisorDivide tolerance by this value.

Definition at line 260 of file TwoParticleGFPart.hpp.

Field Documentation

◆ Tolerance

double Pomerol::TwoParticleGFPart::ResonantTerm::IsNegligible::Tolerance

Tolerance level used to detect negligible residues.

Definition at line 253 of file TwoParticleGFPart.hpp.


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