AdamsBashforth5 Class Reference
Inheritance diagram for AdamsBashforth5:
Collaboration diagram for AdamsBashforth5:

Public Member Functions

 TypeInfo ("AdamsBashforth5")
 
 AdamsBashforth5 (const word &baseName, repository &owner, const pointStructure &pStruct, const word &method)
 
virtual ~AdamsBashforth5 ()=default
 
 add_vCtor (integration, AdamsBashforth5, word)
 
bool predict (real UNUSED(dt), realx3Vector_D &UNUSED(y), realx3Vector_D &UNUSED(dy)) override
 
bool correct (real dt, realx3Vector_D &y, realx3Vector_D &dy) override
 
bool setInitialVals (const int32IndexContainer &newIndices, const realx3Vector &y) override
 
bool needSetInitialVals () const override
 
uniquePtr< integrationclone () const override
 
bool intAll (real dt, realx3Vector_D &y, realx3Vector_D &dy, range activeRng)
 
template<typename activeFunctor >
bool intRange (real dt, realx3Vector_D &y, realx3Vector_D &dy, activeFunctor activeP)
 
- Public Member Functions inherited from integration
 TypeInfo ("integration")
 
 integration (const word &baseName, repository &owner, const pointStructure &pStruct, const word &method)
 
virtual ~integration ()=default
 
 create_vCtor (integration, word,(const word &baseName, repository &owner, const pointStructure &pStruct, const word &method),(baseName, owner, pStruct, method))
 
const auto & pStruct () const
 
virtual bool predict (real dt, realx3Vector_D &y, realx3Vector_D &dy)=0
 
const wordbaseName () const
 
repositoryowner ()
 

Protected Types

using HistoryFieldType = pointField< VectorSingle, AB5History >
 
using rpIntegration = Kokkos::RangePolicy< DefaultExecutionSpace, Kokkos::Schedule< Kokkos::Static >, Kokkos::IndexType< int32 > >
 

Protected Attributes

HistoryFieldTypehistory_
 
- Protected Attributes inherited from integration
repositoryowner_
 
const word baseName_
 
const pointStructurepStruct_
 

Additional Inherited Members

- Static Public Member Functions inherited from integration
static uniquePtr< integrationcreate (const word &baseName, repository &owner, const pointStructure &pStruct, const word &method)
 

Detailed Description

Definition at line 75 of file AdamsBashforth5.hpp.

Member Typedef Documentation

◆ HistoryFieldType

Definition at line 81 of file AdamsBashforth5.hpp.

◆ rpIntegration

using rpIntegration = Kokkos::RangePolicy< DefaultExecutionSpace, Kokkos::Schedule<Kokkos::Static>, Kokkos::IndexType<int32> >
protected

Definition at line 90 of file AdamsBashforth5.hpp.

Constructor & Destructor Documentation

◆ AdamsBashforth5()

AdamsBashforth5 ( const word baseName,
repository owner,
const pointStructure pStruct,
const word method 
)

Definition at line 26 of file AdamsBashforth5.cpp.

References pFlow::zero3.

◆ ~AdamsBashforth5()

virtual ~AdamsBashforth5 ( )
virtualdefault

Member Function Documentation

◆ TypeInfo()

TypeInfo ( "AdamsBashforth5"  )

◆ add_vCtor()

add_vCtor ( integration  ,
AdamsBashforth5  ,
word   
)

◆ predict()

bool predict ( real   UNUSEDdt,
realx3Vector_D UNUSEDy,
realx3Vector_D UNUSEDdy 
)
override

Definition at line 49 of file AdamsBashforth5.cpp.

◆ correct()

bool correct ( real  dt,
realx3Vector_D y,
realx3Vector_D dy 
)
overridevirtual

Implements integration.

Definition at line 60 of file AdamsBashforth5.cpp.

References pStruct.

◆ setInitialVals()

bool setInitialVals ( const int32IndexContainer newIndices,
const realx3Vector y 
)
overridevirtual

Implements integration.

Definition at line 79 of file AdamsBashforth5.cpp.

◆ needSetInitialVals()

bool needSetInitialVals ( ) const
inlineoverridevirtual

Implements integration.

Definition at line 127 of file AdamsBashforth5.hpp.

◆ clone()

uniquePtr<integration> clone ( ) const
inlineoverridevirtual

Implements integration.

Definition at line 132 of file AdamsBashforth5.hpp.

◆ intAll()

bool intAll ( real  dt,
realx3Vector_D y,
realx3Vector_D dy,
range  activeRng 
)

Definition at line 86 of file AdamsBashforth5.cpp.

References VectorSingle< T, MemorySpace >::deviceVectorAll(), and LAMBDA_HD.

Here is the call graph for this function:

◆ intRange()

bool intRange ( real  dt,
realx3Vector_D y,
realx3Vector_D dy,
activeFunctor  activeP 
)

Definition at line 152 of file AdamsBashforth5.hpp.

References pointField< VectorField, T, MemorySpace >::activeRange(), VectorSingle< T, MemorySpace >::deviceVectorAll(), and LAMBDA_HD.

Here is the call graph for this function:

Member Data Documentation

◆ history_

HistoryFieldType& history_
protected

Definition at line 84 of file AdamsBashforth5.hpp.


The documentation for this class was generated from the following files: