core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::solver::AndersonState Struct Reference

The state descriptor (design §5.1): exactly what the caller's step reads across steps, as full padded x-fastest buffers over one box, with their roles. More...

#include <anderson.hpp>

Public Attributes

std::vector< View< double > > fields
 The state buffers, each over the full padded box (extent(0) == extent[0]·extent[1]·extent[2]), read and written in place by the caller's step.
 
std::vector< AndersonRole > roles
 One role per field.
 
IVec< 3 > extent {}
 Padded extents e (inner + 2·ghost per axis); inner entries are ghost ≤ i < e − ghost.
 
int ghost = 2
 Ghost width G.
 
AndersonComm comm
 Collectives; empty = a single rank.
 

Detailed Description

The state descriptor (design §5.1): exactly what the caller's step reads across steps, as full padded x-fastest buffers over one box, with their roles.

Grid-agnostic; the caller's parameter signature (flow: dt, ρ, μ, F) is NOT here — the adapter checks it.

Definition at line 53 of file anderson.hpp.

Member Data Documentation

◆ fields

std::vector<View<double> > peclet::core::solver::AndersonState::fields

The state buffers, each over the full padded box (extent(0) == extent[0]·extent[1]·extent[2]), read and written in place by the caller's step.

The mix writes them too.

Definition at line 56 of file anderson.hpp.

Referenced by peclet::core::solver::AndersonCore::AndersonCore(), peclet::core::solver::AndersonCore::complete(), and peclet::core::solver::AndersonCore::prepare().

◆ roles

std::vector<AndersonRole> peclet::core::solver::AndersonState::roles

One role per field.

Definition at line 58 of file anderson.hpp.

Referenced by peclet::core::solver::AndersonCore::complete().

◆ extent

IVec<3> peclet::core::solver::AndersonState::extent {}

Padded extents e (inner + 2·ghost per axis); inner entries are ghost ≤ i < e − ghost.

Definition at line 60 of file anderson.hpp.

Referenced by peclet::core::solver::AndersonCore::complete(), and peclet::core::solver::AndersonCore::prepare().

◆ ghost

int peclet::core::solver::AndersonState::ghost = 2

◆ comm

AndersonComm peclet::core::solver::AndersonState::comm

Collectives; empty = a single rank.

Definition at line 64 of file anderson.hpp.

Referenced by peclet::core::solver::AndersonCore::stepFailed().


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