Cantera
2.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
cantera
zeroD
Reservoir.h
Go to the documentation of this file.
1
/**
2
* @file Reservoir.h
3
*/
4
// Copyright 2001 California Institute of Technology
5
6
#ifndef CT_RESERVOIR_H
7
#define CT_RESERVOIR_H
8
9
#include <iostream>
10
#include "
ReactorBase.h
"
11
12
namespace
Cantera
13
{
14
15
class
Reservoir :
public
ReactorBase
16
{
17
18
public
:
19
20
Reservoir() {}
21
virtual
~Reservoir() {}
22
virtual
int
type()
const
{
23
return
ReservoirType;
24
}
25
virtual
void
initialize(doublereal t0 = 0.0) {}
26
virtual
void
advance(doublereal time) {
27
m_time = time;
28
}
29
30
void
insert(
Cantera::ThermoPhase
& contents) {
31
setThermoMgr
(contents);
32
}
33
34
private
:
35
36
};
37
38
}
39
40
#endif
41
Generated by
1.8.2