|
TPCCLIB
|
TAC data unit conversions. More...
#include "tpcclibConfig.h"#include "tpcift.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpctac.h"Go to the source code of this file.
Functions | |
| int | tacXUnitConvert (TAC *tac, const int u, TPCSTATUS *status) |
| int | tacYUnitConvert (TAC *tac, const int u, TPCSTATUS *status) |
| int | tacYUnitVolume2Mass (TAC *tac, const double density, TPCSTATUS *status) |
| int | tacYUnitMass2Volume (TAC *tac, const double density, TPCSTATUS *status) |
TAC data unit conversions.
Definition in file tacunits.c.
Convert X values (sample times) in TAC struct to the specified unit.
| tac | Pointer to TAC struct |
| u | Enum unit |
| status | Pointer to status data; enter NULL if not needed |
Definition at line 23 of file tacunits.c.
Referenced by tacInput2sim(), tacReadModelingData(), tacReadModelingInput(), tacReadReference(), tacSetWeights(), tacSetX(), and tacWriteSIF().
Convert Y values (concentrations) in TAC struct to the specified unit.
| tac | Pointer to TAC struct |
| u | Enum unit |
| status | Pointer to status data; enter NULL if not needed |
Definition at line 72 of file tacunits.c.
Referenced by tacReadModelingData(), tacReadModelingInput(), tacReadReference(), and tacSetWeights().
Convert Y values (per mass concentrations) in TAC struct to the corresponding per volume concentrations.
| tac | Pointer to TAC struct. |
| density | Density (g/mL). |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 169 of file tacunits.c.
Convert Y values (per volume concentrations) in TAC struct to the corresponding per mass concentrations.
| tac | Pointer to TAC struct. |
| density | Density (g/mL). |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 121 of file tacunits.c.