SpinParser  1.0
Public Member Functions | Public Attributes | List of all members
SU2VertexSingleParticle Struct Reference

Single-particle vertex implementation for SU(2) models. More...

#include <SU2VertexSingleParticle.hpp>

Public Member Functions

 SU2VertexSingleParticle ()
 Construct a new SU2VertexSingleParticle object and initialize all values to zero.
 
 ~SU2VertexSingleParticle ()
 Destroy the SU2VertexSingleParticle object.
 
void expandIterator (const int iterator, float &w) const
 Expand a linear iterator in the range [0,SU2VertexSingleParticle::size). More...
 
float & getValueRef (const int iterator) const
 Directly access a vertex value by reference via a linear iterator in the range [0,SU2VertexSingleParticle::size). More...
 
float getValue (float w) const
 Access vertex value at arbitrary frequency value by performing a linear interpolation on the FrequencyDiscretization. More...
 
float & _directAccess (const int wOffset) const
 Access vertex value at given frequency mesh point. More...
 

Public Attributes

int size
 Total number of vertex elements.
 
float * _data
 Vertex data.
 

Detailed Description

Single-particle vertex implementation for SU(2) models.

Member Function Documentation

◆ _directAccess()

float& SU2VertexSingleParticle::_directAccess ( const int  wOffset) const
inline

Access vertex value at given frequency mesh point.

Parameters
wOffsetLinear offset on the frequency mesh.
Returns
float& Vertex value.

◆ expandIterator()

void SU2VertexSingleParticle::expandIterator ( const int  iterator,
float &  w 
) const
inline

Expand a linear iterator in the range [0,SU2VertexSingleParticle::size).

Parameters
[in]iteratorIterator to expand.
[out]wFrequency argument described by the iterator.

◆ getValue()

float SU2VertexSingleParticle::getValue ( float  w) const
inline

Access vertex value at arbitrary frequency value by performing a linear interpolation on the FrequencyDiscretization.

Parameters
wFrequency argument.
Returns
float Vertex value.

◆ getValueRef()

float& SU2VertexSingleParticle::getValueRef ( const int  iterator) const
inline

Directly access a vertex value by reference via a linear iterator in the range [0,SU2VertexSingleParticle::size).

Parameters
iteratorLinear iterator.
Returns
float& Vertex value.

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