Cleanup and align return values from Model

This commit is contained in:
James P. Howard, II
2022-08-05 21:43:16 -04:00
parent d1b6c60ec6
commit d52102615c
12 changed files with 204 additions and 124 deletions

View File

@@ -25,7 +25,9 @@
#pragma once
#ifndef STARTER_H
//! @cond SuppressGuard
#define STARTER_H
//! @endcond
#include <iostream>
#include <map>
@@ -80,14 +82,14 @@ public:
/**
* Execute a single time-step for the model.
*/
void step() override;
std::shared_ptr<kami::Model> step() override;
/**
* Execute a number of time-steps for the model.
*
* @param[in] n the number of steps to execute.
*/
void run(unsigned int n) override;
std::shared_ptr<kami::Model> run(unsigned int n) override;
};
#endif // STARTER_H