TransFlow  0.1.0
A transient pipeline flow simulation library
BatchTrackingState::Batch Struct Reference

Contains the information for a single batch. More...

#include <batchtrackingstate.hpp>

Public Member Functions

 Batch (const double position, const arma::vec &concentration)
 Construct Batch from initial position and concentration. More...
 
double position () const
 Get the position of the Batch.
 
const arma::vec & concentration () const
 Get the concentration of the Batch.
 

Public Attributes

double m_position
 Position of the Batch.
 
arma::vec m_concentration
 Concentration of the Batch.
 

Detailed Description

Contains the information for a single batch.

This contains the position and concentration of a single batch.

Constructor & Destructor Documentation

◆ Batch()

BatchTrackingState::Batch::Batch ( const double  position,
const arma::vec &  concentration 
)
inline

Construct Batch from initial position and concentration.

Parameters
positionThe position of the batch.
concentrationThe concentration of the batch.

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