flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
BoundAccelerator< Grid > Struct Template Referencefinal
Inheritance diagram for BoundAccelerator< Grid >:
peclet::flow::AndersonAccelerator< Grid >

Public Member Functions

void release () noexcept override
 
- Public Member Functions inherited from peclet::flow::AndersonAccelerator< Grid >
 AndersonAccelerator (Solver< Grid > &solver, int window=5, double mixing=1.0)
 Builds the march state (throws std::runtime_error on a refused configuration, §5.3) and allocates the history ((2m+3)·n_s·8·n_pad bytes, §6.3; throws std::runtime_error naming the bytes when it does not fit).
 
 AndersonAccelerator (const AndersonAccelerator &)=delete
 
AndersonAccelerator & operator= (const AndersonAccelerator &)=delete
 
void step (bool accelerate)
 One map evaluation (§4.3): the lazy mix when accelerate and a mix is pending, then solver.step().
 
const char * statusName () const
 
const std::string & reason () const
 
double residual () const
 Relative velocity residual of the last evaluation (design §3.2); +inf before the first.
 
int numRestarts () const
 
int numResets () const
 
int numColumns () const
 
int window () const
 
double mixing () const
 
std::size_t memoryBytes () const
 Bytes of the history (= Core::memoryBytesFor(window, n_s, n_pad), design §6.3).
 
double seconds () const
 Cumulative wall time spent in the accelerator, solver.step() excluded (device-fenced at both ends of each part; the instrument of gate G8), seconds, this rank.
 
void reset ()
 
void disable ()
 
const Core & core () const
 The core itself (tests: γ, engagement, the descriptor).
 

Additional Inherited Members

- Public Types inherited from peclet::flow::AndersonAccelerator< Grid >
using Core = peclet::core::solver::AndersonCore
 

Detailed Description

template<class Grid>
struct BoundAccelerator< Grid >

Definition at line 188 of file flow_bindings.cpp.

Member Function Documentation

◆ release()

template<class Grid >
void BoundAccelerator< Grid >::release ( )
inlineoverridenoexcept

Definition at line 191 of file flow_bindings.cpp.


The documentation for this struct was generated from the following file: