Gromacs  2019
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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

int index () const
 Returns zero-based index for the frame.
 
real x () const
 Returns x coordinate for the frame.
 
real dx () const
 Returns error in the x coordinate for the frame.
 
int 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 (int dataSet, int firstColumn)
 Appends an empty point set to this frame.
 
void addPointSetWithValues (int dataSet, int firstColumn, real y1)
 Adds a point set with given values to this frame.
 
void addPointSetWithValues (int dataSet, int firstColumn, real y1, real y2)
 Adds a point set with given values to this frame.
 
void addPointSetWithValues (int dataSet, int firstColumn, real y1, real y2, real y3)
 Adds a point set with given values to this frame.
 
void addPointSetWithValueAndError (int dataSet, int firstColumn, real y1, real e1)
 Adds a point set with given values to this frame.
 

Friends

class AnalysisDataTestInput
 For constructing new frames.
 

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