#include <stdio.h>#include <math.h>Defines | |
| #define | ARRAYSIZE 1600 |
Functions | |
| int | main () |
| int | test_globals () |
| int | initialise_global_tempsK () |
| int | initialise_global_starttK () |
| int | calc_temp_erf (double Ti, double Ts, double A, double X) |
| int | calc_temp_lin (double start_temp, double rate) |
| int | test_ttt () |
| int | read_ttt () |
| int | show_globals () |
| int | output_cct () |
Variables | |
| int | tempsK [ARRAYSIZE+1] |
| double | starttK [ARRAYSIZE+1] |
| #define ARRAYSIZE 1600 |
Referenced by initialise_global_starttK(), initialise_global_tempsK(), output_cct(), read_ttt(), show_globals(), and test_globals().
| int calc_temp_erf | ( | double | Ti, | |
| double | Ts, | |||
| double | A, | |||
| double | X | |||
| ) |
| int main | ( | ) |
PSEUDO CODE
Get input cooling (linear, ideal, data file?)
Step through time, and record time spent at each temp
Read in Time-temperature-transformation data (ttt)
Calculate amounts of transformation at each temp during cooling output temp and time when transformation is detectable
< temperature at which transformation is first detectable
initilise arrays for temp (0) and start time (large).
References calc_temp_erf(), calc_temp_lin(), initialise_global_starttK(), initialise_global_tempsK(), output_cct(), read_ttt(), and test_globals().
| int output_cct | ( | ) |
| int test_ttt | ( | ) |
References starttK.
| double starttK[ARRAYSIZE+1] |
corresponding time for when transformation is detectable at a temperature in TTT
Referenced by initialise_global_starttK(), output_cct(), read_ttt(), show_globals(), test_globals(), and test_ttt().
| int tempsK[ARRAYSIZE+1] |
maximum temp is (ARRAYSIZE) kelvin, the time spent at each temperature will be stored here.
Referenced by calc_temp_erf(), calc_temp_lin(), initialise_global_tempsK(), output_cct(), show_globals(), and test_globals().
1.5.6