File: loop.ih

package info (click to toggle)
simrisc 16.06.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,568 kB
  • sloc: cpp: 6,889; fortran: 669; makefile: 112; ansic: 112; sh: 107
file content (35 lines) | stat: -rw-r--r-- 813 bytes parent folder | download
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
#include "loop.h"
#include "../xerr/xerr.ih"

#include <cmath>
#include <algorithm>
#include <fstream>

#include <bobcat/exception>
#include <bobcat/csvtable>
#include <bobcat/datetime>

#include "../random/random.h"
#include "../options/options.h"
#include "../modbase/modbase.h"
#include "../log/log.h"

// extern size_t g_err;             // not used, see gencases.cc

namespace Icmake
{
    extern char version[];
}

inline double Loop::treatmentCosts(double screeningAge) const
{
                                        // diameter unused with lung cancer
                                        // otherwise metastasis unused
    return d_costs.treatment(screeningAge,
                             d_tumor.diameter(), d_tumor.metastasis());
}

#ifndef SPCH_
using namespace std;
using namespace FBB;
#endif