mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-12-08 06:57:54 +00:00
Particle insertion is added with anyList
- collision check is not active yet. - variable velocity is not active yet. - events and messages are not active yet.
This commit is contained in:
@ -25,7 +25,7 @@ Licence:
|
||||
#include "types.hpp"
|
||||
#include "ranges.hpp"
|
||||
#include "streams.hpp"
|
||||
|
||||
#include "timeInfo.hpp"
|
||||
|
||||
namespace pFlow
|
||||
{
|
||||
@ -36,7 +36,7 @@ class dictionary;
|
||||
|
||||
class timeControl
|
||||
{
|
||||
protected:
|
||||
private:
|
||||
|
||||
|
||||
//// - Data members
|
||||
@ -90,7 +90,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
timeControl(const dictionary& dict);
|
||||
explicit timeControl(const dictionary& dict);
|
||||
|
||||
timeControl(
|
||||
dictionary& dict,
|
||||
@ -99,10 +99,8 @@ public:
|
||||
real saveInterval,
|
||||
word startTimeName);
|
||||
|
||||
virtual ~timeControl()
|
||||
{}
|
||||
|
||||
|
||||
virtual ~timeControl() = default;
|
||||
|
||||
real dt()const
|
||||
{
|
||||
return dt_;
|
||||
@ -186,7 +184,11 @@ public:
|
||||
return timePrecision_;
|
||||
}
|
||||
|
||||
|
||||
inline
|
||||
timeInfo TimeInfo()const
|
||||
{
|
||||
return {static_cast<uint32>(currentIter_), currentTime_, dt_};
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user