Alsvinn
0.5.3
The fast FVM simulator with UQ support
library_examples
dlls
writer
include
data.hpp
Go to the documentation of this file.
1
#pragma once
2
class
MyData
{
3
public
:
4
5
int
getCurrentTimestep
()
const
;
6
void
setCurrentTimestep
(
int
value);
7
8
private
:
9
int
currentTimestep = 0;
10
};
11
12
inline
int
MyData::getCurrentTimestep
()
const
13
{
14
return
currentTimestep;
15
}
16
17
inline
void
MyData::setCurrentTimestep
(
int
value)
18
{
19
currentTimestep = value;
20
}
MyData
Definition:
data.hpp:2
MyData::getCurrentTimestep
int getCurrentTimestep() const
Definition:
data.hpp:12
MyData::setCurrentTimestep
void setCurrentTimestep(int value)
Definition:
data.hpp:17
Generated by
1.8.13