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:
Hamidreza Norouzi
2024-04-12 22:39:09 -07:00
parent 97f0ddf82e
commit 9c2a9a81b0
71 changed files with 1878 additions and 1534 deletions

View File

@ -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_};
}
};