code recovery regular part

This commit is contained in:
HRN
2024-10-18 23:13:20 +03:30
parent 173d3c4917
commit d3ccf354b7
54 changed files with 1108 additions and 695 deletions

View File

@ -17,13 +17,13 @@ Licence:
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------------------------------------------------------------------------*/
#ifndef __AdamsBashforth2_hpp__
#define __AdamsBashforth2_hpp__
#include "integration.hpp"
#include "pointFields.hpp"
#include "boundaryIntegrationList.hpp"
namespace pFlow
{
@ -41,6 +41,15 @@ class AdamsBashforth2
{
private:
boundaryIntegrationList boundaryList_;
friend class processorAB2BoundaryIntegration;
const auto& dy1()const
{
return static_cast<const realx3PointField_D&>(*this);
}
auto& dy1()
{
return static_cast<realx3PointField_D&>(*this);
@ -71,6 +80,9 @@ public:
// - Methods
void updateBoundariesSlaveToMasterIfRequested()override;
/// return integration method
word method()const override
{
@ -92,10 +104,11 @@ public:
realx3PointField_D& y,
realx3PointField_D& dy) final;
bool correct(
bool correctPStruct(
real dt,
realx3Field_D& y,
realx3PointField_D& dy) final;
pointStructure& pStruct,
realx3PointField_D& vel) final;
/*bool hearChanges
(