Go to the documentation of this file.
20 #ifndef __AdamsBashforth2_hpp__
21 #define __AdamsBashforth2_hpp__
48 const auto&
dy1()
const
89 return "AdamsBashforth2";
136 #endif //__integration_hpp__
~AdamsBashforth2() final=default
Destructor.
word method() const override
return integration method
bool predict(real UNUSED(dt), realx3PointField_D &UNUSED(y), realx3PointField_D &UNUSED(dy)) final
Base class for integrating the first order ODE (IVP)
const auto & pStruct() const
Const ref to pointStructure.
AdamsBashforth2(const word &baseName, pointStructure &pStruct, const word &method, const realx3Field_D &initialValField)
Construct from components.
ClassInfo("AdamsBashforth2")
Class info.
bool needSetInitialVals() const final
Check if the method requires any set initial vals.
boundaryIntegrationList boundaryList_
bool correct(real dt, realx3PointField_D &y, realx3PointField_D &dy) final
Correction/main integration step.
const word & baseName() const
Base name.
bool correctPStruct(real dt, pointStructure &pStruct, realx3PointField_D &vel) final
friend class processorAB2BoundaryIntegration
bool setInitialVals(const int32IndexContainer &newIndices, const realx3Vector &y) final
Set the initial values for new indices.
Second order Adams-Bashforth integration method for solving ODE.
void updateBoundariesSlaveToMasterIfRequested() override
It holds two vectors of indecis on Host and Device.
add_vCtor(integration, AdamsBashforth2, word)
Add this to the virtual constructor table.