flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
flexiblesusy::cxx_diagrams::MomentumVertex Class Reference

A class representing a numerically evaluated tree-level vertex that is proportional to a momentum. It consists of a complex number as well as an index corresponding to the index of the field to whose momentum the vertex is proportional. More...

#include <vertices.hpp>

Collaboration diagram for flexiblesusy::cxx_diagrams::MomentumVertex:
Collaboration graph

Public Member Functions

int index () const
 Retrieve the index of the field to whose momentum the vertex is proportional. More...
 
bool isZero () const
 
 MomentumVertex (const std::complex< double > &v, int i)
 Contruct a MomentumVertex from a complex number representing and a field index. More...
 
std::complex< double > value (int i) const
 Retrieve the numerical value of the vertex. More...
 

Private Attributes

int ind
 
std::complex< double > val
 

Detailed Description

A class representing a numerically evaluated tree-level vertex that is proportional to a momentum. It consists of a complex number as well as an index corresponding to the index of the field to whose momentum the vertex is proportional.

Definition at line 85 of file vertices.hpp.

Constructor & Destructor Documentation

◆ MomentumVertex()

flexiblesusy::cxx_diagrams::MomentumVertex::MomentumVertex ( const std::complex< double > &  v,
int  i 
)
inline

Contruct a MomentumVertex from a complex number representing and a field index.

Definition at line 92 of file vertices.hpp.

Member Function Documentation

◆ index()

int flexiblesusy::cxx_diagrams::MomentumVertex::index ( ) const
inline

Retrieve the index of the field to whose momentum the vertex is proportional.

Returns
the appropriate index

Definition at line 100 of file vertices.hpp.

References ind.

◆ isZero()

bool flexiblesusy::cxx_diagrams::MomentumVertex::isZero ( ) const
inline

Definition at line 116 of file vertices.hpp.

References flexiblesusy::is_zero(), and val.

◆ value()

std::complex< double > flexiblesusy::cxx_diagrams::MomentumVertex::value ( int  i) const
inline

Retrieve the numerical value of the vertex.

Parameters
iThe index of the field to whose momentum the vertex is proportional.
Returns
the coefficient of the even permutation

Definition at line 107 of file vertices.hpp.

References ind, and val.

Member Data Documentation

◆ ind

int flexiblesusy::cxx_diagrams::MomentumVertex::ind
private

Definition at line 87 of file vertices.hpp.

Referenced by index(), and value().

◆ val

std::complex<double> flexiblesusy::cxx_diagrams::MomentumVertex::val
private

Definition at line 86 of file vertices.hpp.

Referenced by isZero(), and value().


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