File: characteristics.cc

package info (click to toggle)
simrisc 16.05.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,568 kB
  • sloc: cpp: 6,877; fortran: 665; makefile: 112; ansic: 112; sh: 107
file content (35 lines) | stat: -rw-r--r-- 1,201 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// #define XERR
// #include "loop.ih"
// 
// // treatmentDeath(): characteristics(LEFT_POST, TUMOR_POST);
// 
// extern size_t g_caseIdx;
// 
// void Loop::characteristics(Status natural, Status tumor)
// {
//                                 // the tumor was self-detected: determine
//                                 // its characteristics
//     d_tumor.characteristicsAt(d_tumor.selfDetectAge());  
// 
//     d_selfDetected = true;
// 
//         // treat the tumor: add the treatment cost and compute the age of
//         // tumor-caused death. There is a tumor: no need to call
//         // diameterCheck()
//     d_caseCost += treatmentCosts(d_tumor.selfDetectAge());
// 
//     d_tumor.setDeathAge();
// 
//     if (d_naturalDeathAge < d_tumor.deathAge())     // naturally caused death
//         setStatus(natural, d_naturalDeathAge);
//     else                                            // or tumor caused death
//         setStatus(tumor, d_tumor.deathAge());
// }
// 
// 
// 
// // double cost = treatmentCosts(d_tumor.selfDetectAge());
// // xerr("costs: " << cost << ", age: " << d_tumor.selfDetectAge() << ", dia: " <<[bsl]
// // d_tumor.diameter());
// // d_caseCost += cost;
//