Go to the documentation of this file.
30 for (
int i = 0; i <
size; ++i)
_data[i] = 0.0f;
64 return _data[iterator];
99 return _data[wOffset];
#define ASSERT(...)
Ensure that the first argument is true. Optionally provide a message as the second argument,...
Definition: Assert.hpp:26
float * _data
Vertex data.
Definition: XYZVertexSingleParticle.hpp:103
static const FrequencyDiscretization & frequency()
Retrieve the Matsubara frequency discretization.
Definition: FrgCommon.hpp:36
float getValue(float w) const
Access vertex value at arbitrary frequency value by performing a linear interpolation on the Frequenc...
Definition: XYZVertexSingleParticle.hpp:73
Hub for central objects in pf-FRG calculations.
Single-particle vertex implementation for models with diagonal interactions.
Definition: XYZVertexSingleParticle.hpp:17
float & _directAccess(const int wOffset) const
Access vertex value at given frequency mesh point.
Definition: XYZVertexSingleParticle.hpp:95
void interpolateOffset(const float w, int &lowerOffset, int &upperOffset, float &bias) const
Perform an interpolation between mesh points for an arbitrary positive frequency.
Definition: FrequencyDiscretization.hpp:326
float * _data
Pointer to the first positive mesh point. Stored contiuously after FrequencyDiscretization::_dataNega...
Definition: FrequencyDiscretization.hpp:357
Lightweight macro library for assertions.
XYZVertexSingleParticle()
Construct a new XYZVertexSingleParticle object and initialize all values to zero.
Definition: XYZVertexSingleParticle.hpp:23
float & getValueRef(const int iterator) const
Directly access a vertex value by reference via a linear iterator in the range [0,...
Definition: XYZVertexSingleParticle.hpp:60
int size
Total number of vertex elements.
Definition: XYZVertexSingleParticle.hpp:102
int size
Number of positive mesh points.
Definition: FrequencyDiscretization.hpp:356
void expandIterator(const int iterator, float &w) const
Expand a linear iterator in the range [0,TriVertexSingleParticle::size).
Definition: XYZVertexSingleParticle.hpp:47
~XYZVertexSingleParticle()
Destroy the XYZVertexSingleParticle object.
Definition: XYZVertexSingleParticle.hpp:36