Gromacs  2026.0-dev-20251119-5f0a571d
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Friends
gmx::test::AnalysisDataTestInputFrame Class Reference

#include <gromacs/analysisdata/tests/datatest.h>

Description

Represents a single frame in AnalysisDataTestInput structure.

Public Member Functions

size_t index () const
 Returns zero-based index for the frame.
 
real x () const
 Returns x coordinate for the frame.
 
size_t pointSetCount () const
 Number of individual point sets in the frame.
 
const
AnalysisDataTestInputPointSet
pointSet (int index) const
 Returns a point set object for a given point set.
 
AnalysisDataTestInputPointSetaddPointSet (size_t dataSet, size_t firstColumn)
 Appends an empty point set to this frame.
 
void addPointSetWithValues (size_t dataSet, size_t firstColumn, real y1)
 Adds a point set with given values to this frame.
 
void addPointSetWithValues (size_t dataSet, size_t firstColumn, real y1, real y2)
 Adds a point set with given values to this frame.
 
void addPointSetWithValues (size_t dataSet, size_t firstColumn, real y1, real y2, real y3)
 Adds a point set with given values to this frame.
 
void addPointSetWithValueAndError (size_t dataSet, size_t firstColumn, real y1, real e1)
 Adds a point set with given values to this frame.
 

Static Public Member Functions

static real dx ()
 Returns error in the x coordinate for the frame.
 

Friends

class AnalysisDataTestInput
 For constructing new frames.
 

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