Alsvinn  0.5.3
The fast FVM simulator with UQ support
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 }
Definition: data.hpp:2
int getCurrentTimestep() const
Definition: data.hpp:12
void setCurrentTimestep(int value)
Definition: data.hpp:17