Public Member Functions | List of all members
BioLCCC::GradientPoint Class Reference

An instance of GradientPoint keeps the properties of a point of a gradient. More...

#include <gradientpoint.h>

Public Member Functions

 GradientPoint (double iTime=0.0, double iConcentrationB=0.0) throw (GradientPointException)
 Default constructor. More...
 
double time () const
 Returns the time of the point in minutes.
 
double concentrationB () const
 Returns the concentration of component B at the point in percents.
 
void setTime (double newTime) throw (GradientPointException)
 Sets the time of the point in minutes.
 
void setConcentrationB (double newConcentrationB) throw (GradientPointException)
 Sets the concentration of component B at the point in percents.
 

Detailed Description

An instance of GradientPoint keeps the properties of a point of a gradient.

Briefly, an instance of GradientPoint is a pair of values. The first one is time measured in minutes from the start of the gradient. The second is the concentration of component B in binary solvent.

Definition at line 24 of file gradientpoint.h.

Constructor & Destructor Documentation

◆ GradientPoint()

BioLCCC::GradientPoint::GradientPoint ( double  iTime = 0.0,
double  iConcentrationB = 0.0 
)
throw (GradientPointException
)

Default constructor.

Constructs a point of a gradient with at time = iTime and with the concentration of component B of binary solution = iConcentrationB.

Valid values are iTime >= 0.0 and 0.0 <= iConcentrationB <= 100.0

Definition at line 8 of file gradientpoint.cpp.


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