#include <CUnit.h>
◆ CUnit() [1/2]
Default constructor for CUnit.
Constructs a CUnit object with default values for concentrate, intermediate, and tailings numbers.
◆ CUnit() [2/2]
CUnit::CUnit |
( |
int | concNum, |
|
|
int | interNum, |
|
|
int | tailsNum ) |
Parameterized constructor for CUnit.
Constructs a CUnit object with specified values for concentrate, intermediate, and tailings numbers.
- Parameters
-
concNum | The concentrate number. |
interNum | The intermediate number. |
tailsNum | The tailings number. |
◆ getConcPtr()
CUnit * CUnit::getConcPtr |
( |
| ) |
const |
Gets the pointer to the concentrate connection.
- Returns
- The pointer to the concentrate connection.
◆ getDifferenceG()
double CUnit::getDifferenceG |
( |
| ) |
const |
Gets the difference in feed rate of gerardium.
- Returns
- The difference in feed rate of gerardium.
◆ getDifferenceW()
double CUnit::getDifferenceW |
( |
| ) |
const |
Gets the difference in feed rate of waste.
- Returns
- The difference in feed rate of waste.
◆ getFeedGerardium()
double CUnit::getFeedGerardium |
( |
| ) |
const |
Gets the feed rate of gerardium.
- Returns
- The feed rate of gerardium.
◆ getFeedWaste()
double CUnit::getFeedWaste |
( |
| ) |
const |
Gets the feed rate of waste.
- Returns
- The feed rate of waste.
◆ getInterPtr()
CUnit * CUnit::getInterPtr |
( |
| ) |
const |
Gets the pointer to the intermediate connection.
- Returns
- The pointer to the intermediate connection.
◆ getNewFeedGerardium()
double CUnit::getNewFeedGerardium |
( |
| ) |
const |
Gets the new feed rate of gerardium.
- Returns
- The new feed rate of gerardium.
◆ getNewFeedWaste()
double CUnit::getNewFeedWaste |
( |
| ) |
const |
Gets the new feed rate of waste.
- Returns
- The new feed rate of waste.
◆ getTailsPtr()
CUnit * CUnit::getTailsPtr |
( |
| ) |
const |
Gets the pointer to the tailings connection.
- Returns
- The pointer to the tailings connection.
◆ isMarked()
bool CUnit::isMarked |
( |
| ) |
const |
Checks if the unit is marked.
- Returns
- True if the unit is marked, otherwise false.
◆ setConcPtr()
void CUnit::setConcPtr |
( |
CUnit * | ptr | ) |
|
Sets the pointer to the concentrate connection.
- Parameters
-
ptr | The pointer to the concentrate connection to set. |
◆ setDifference()
void CUnit::setDifference |
( |
| ) |
|
Sets the differences in feed rates for gerardium and waste.
◆ setFeedGerardium()
void CUnit::setFeedGerardium |
( |
double | feedGerardium | ) |
|
Sets the feed rate of gerardium.
- Parameters
-
feedGerardium | The feed rate of gerardium to set. |
◆ setFeedWaste()
void CUnit::setFeedWaste |
( |
double | feedWaste | ) |
|
Sets the feed rate of waste.
- Parameters
-
feedWaste | The feed rate of waste to set. |
◆ setInterPtr()
void CUnit::setInterPtr |
( |
CUnit * | ptr | ) |
|
Sets the pointer to the intermediate connection.
- Parameters
-
ptr | The pointer to the intermediate connection to set. |
◆ setMarked()
void CUnit::setMarked |
( |
bool | mark | ) |
|
Sets the mark status of the unit.
- Parameters
-
mark | The mark status to set. |
◆ setNewFeedGerardium()
void CUnit::setNewFeedGerardium |
( |
double | newFeedGerardium | ) |
|
Sets the new feed rate of gerardium.
- Parameters
-
newFeedGerardium | The new feed rate of gerardium to set. |
◆ setNewFeedWaste()
void CUnit::setNewFeedWaste |
( |
double | newFeedWaste | ) |
|
Sets the new feed rate of waste.
- Parameters
-
newFeedWaste | The new feed rate of waste to set. |
◆ setTailsPtr()
void CUnit::setTailsPtr |
( |
CUnit * | ptr | ) |
|
Sets the pointer to the tailings connection.
- Parameters
-
ptr | The pointer to the tailings connection to set. |
◆ concNum
◆ concPtr
Pointer to the concentrate connection
◆ differenceG
double CUnit::differenceG |
|
private |
Difference in feed rate of gerardium
◆ differenceW
double CUnit::differenceW |
|
private |
Difference in feed rate of waste
◆ feedGerardium
double CUnit::feedGerardium |
|
private |
◆ feedWaste
◆ interNum
◆ interPtr
Pointer to the intermediate connection
◆ mark
◆ newFeedGerardium
double CUnit::newFeedGerardium |
|
private |
New feed rate of gerardium
◆ newFeedWaste
double CUnit::newFeedWaste |
|
private |
◆ tailsNum
◆ tailsPtr
Pointer to the tailings connection
The documentation for this class was generated from the following files: