flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_march_state.cpp File Reference

ctest march_state: Solver::marchState(), the state descriptor of the steady march (doc/steady_acceleration.md §3.1, §5.1, §5.3, rev 2; work orders WO-2, WO-7). More...

#include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <Kokkos_Core.hpp>
#include <stdexcept>
#include <string>
#include <vector>
#include "flow_ibm.hpp"
#include "peclet/core/geom/scene_builder.hpp"

Go to the source code of this file.

Typedefs

using Stag = peclet::flow::Solver< peclet::flow::Staggered >
 
using Colo = peclet::flow::Solver< peclet::flow::Colocated >
 

Functions

int main (int argc, char **argv)
 

Detailed Description

ctest march_state: Solver::marchState(), the state descriptor of the steady march (doc/steady_acceleration.md §3.1, §5.1, §5.3, rev 2; work orders WO-2, WO-7).

Checks, single rank, on both grids:

  • the field list and roles of the three §3.1 rows — staggered (u, v, w Velocity; P Carried); collocated 'ghost' without projected-face advection (the same four, also reached through the AUTO scheme and through set_uf_advection(False)); collocated 'ghost' with advection and the projected face field (+ uf, vf, wf Carried) — each field ALIASING the solver's own buffer over the full padded box;
  • the internal signature (dt, rho, mu, F, advection on / scheme / implicit);
  • that each §5.3 refusal throws std::runtime_error with its own message.

Definition in file test_march_state.cpp.

Typedef Documentation

◆ Stag

◆ Colo

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 243 of file test_march_state.cpp.

References failures.