mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-08 03:07:03 +00:00
particles and sphereParticles classes were tested for exit boundary
This commit is contained in:
@ -93,6 +93,25 @@ pFlow::dynamicPointStructure::dynamicPointStructure
|
||||
|
||||
}*/
|
||||
|
||||
bool pFlow::dynamicPointStructure::beforeIteration()
|
||||
{
|
||||
return pointStructure::beforeIteration();
|
||||
/*real dt = this->dt();
|
||||
|
||||
auto& acc = time().lookupObject<realx3PointField_D>("acceleration");
|
||||
return predict(dt, acc);*/
|
||||
}
|
||||
|
||||
bool pFlow::dynamicPointStructure::iterate()
|
||||
{
|
||||
return pointStructure::iterate();
|
||||
|
||||
/*real dt = this->dt();
|
||||
|
||||
auto& acc = time().lookupObject<realx3PointField_D>("acceleration");
|
||||
return correct(dt, acc);*/
|
||||
}
|
||||
|
||||
bool pFlow::dynamicPointStructure::predict(
|
||||
real dt,
|
||||
realx3PointField_D &acceleration)
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
|
||||
TypeInfo("dynamicPointStructure");
|
||||
|
||||
dynamicPointStructure(systemControl& control);
|
||||
explicit dynamicPointStructure(systemControl& control);
|
||||
|
||||
dynamicPointStructure(const dynamicPointStructure& ps) = delete;
|
||||
|
||||
@ -81,14 +81,15 @@ public:
|
||||
}
|
||||
|
||||
/// In the time loop before iterate
|
||||
//bool beforeIteration() override;
|
||||
bool beforeIteration() override;
|
||||
|
||||
/// @brief This is called in time loop. Perform the main calculations
|
||||
/// when the component should evolve along time.
|
||||
//bool iterate() override;
|
||||
|
||||
bool iterate() override;
|
||||
|
||||
|
||||
|
||||
|
||||
bool predict(real dt, realx3PointField_D& acceleration);
|
||||
|
||||
bool correct(real dt, realx3PointField_D& acceleration);
|
||||
|
Reference in New Issue
Block a user