Go to the documentation of this file.
57 objectFile::READ_IF_PRESENT,
58 objectFile::WRITE_ALWAYS),
87 return intAll(dt, y, dy, this->
pStruct().activeRange());
91 return intRange(dt, y, dy, this->
pStruct().activePointsMaskD());
112 auto d_history = history_.deviceVectorAll();
114 Kokkos::parallel_for(
115 "AdamsBashforth3::correct",
119 d_y[i] += dt*(
static_cast<real>(23.0 / 12.0) * ldy
120 -
static_cast<real>(16.0 / 12.0) * d_history[i].dy1_
121 +
static_cast<real>(5.0 / 12.0) * d_history[i].dy2_);
122 d_history[i] = {ldy ,d_history[i].dy1_};
bool setInitialVals(const int32IndexContainer &newIndices, const realx3Vector &y) override
Kokkos::RangePolicy< DefaultExecutionSpace, Kokkos::Schedule< Kokkos::Static >, Kokkos::IndexType< int32 > > rpIntegration
bool predict(real UNUSED(dt), realx3Vector_D &UNUSED(y), realx3Vector_D &UNUSED(dy)) override
T & emplaceObject(const objectFile &objf, Args &&... args)
bool correct(real dt, realx3Vector_D &y, realx3Vector_D &dy) override
AdamsBashforth3(const word &baseName, repository &owner, const pointStructure &pStruct, const word &method)
word baseName(const word &w, char sep='.')
bool intAll(real dt, realx3Vector_D &y, realx3Vector_D &dy, range activeRng)
word groupNames(const word &bw, const word &tw, char sep='.')
INLINE_FUNCTION_H viewType & deviceVectorAll()