Flow123d  JS_before_hm-1804-gf2ad740aa
Public Member Functions | Public Attributes | List of all members
Balance::Quantity Class Reference

#include <balance.hh>

Collaboration diagram for Balance::Quantity:
Collaboration graph
[legend]

Public Member Functions

 Quantity (const unsigned int index, const string &name)
 

Public Attributes

string name_
 Name of quantity (for output). More...
 
const unsigned int index_
 Internal index within list of quantities. More...
 

Detailed Description

Class for storing internal data about conservative quantities handled by the Balance object. In the future we may store additional data or support definition of derived quantities (e.g. linear combinations of quantities).

Definition at line 127 of file balance.hh.

Constructor & Destructor Documentation

◆ Quantity()

Balance::Quantity::Quantity ( const unsigned int  index,
const string &  name 
)
inline

Definition at line 130 of file balance.hh.

Member Data Documentation

◆ index_

const unsigned int Balance::Quantity::index_

Internal index within list of quantities.

Definition at line 139 of file balance.hh.

◆ name_

string Balance::Quantity::name_

Name of quantity (for output).

Definition at line 136 of file balance.hh.


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