BuiltBlock Struct ReferenceΒΆ
|
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
|
pops::detail::BuiltBlock Struct Reference
Everything System::add_block reads back from the (former) dispatch_model visitor. More...
#include <block_seam.hpp>
Collaboration diagram for pops::detail::BuiltBlock:Public Attributes | |
| int | ncomp = 1 |
| VariableSet | cons_vs |
| VariableSet | prim_vs |
| BlockClosures | clo |
| std::function< Real(const MultiFab &)> | max_speed |
| std::function< void(const MultiFab &, MultiFab &)> | add_poisson_rhs |
| std::function< Real(const MultiFab &)> | src_freq |
| std::function< Real(const MultiFab &)> | stab_dt |
| std::function< void(const double *, double *)> | prim_to_cons |
| std::function< void(const double *, double *)> | cons_to_prim |
| int | aux_width |
Detailed Description
Everything System::add_block reads back from the (former) dispatch_model visitor.
Mirrors the local variables the visitor wrote by reference; aux_width replaces the in-visitor P->ensure_aux_width call (re-applied host-side by add_block, address-stable, so order vs make_block does not matter).
Member Data Documentation
◆ add_poisson_rhs
◆ aux_width
| int pops::detail::BuiltBlock::aux_width |
Initial value:
=
0
◆ clo
| BlockClosures pops::detail::BuiltBlock::clo |
◆ cons_to_prim
| std::function<void(const double*, double*)> pops::detail::BuiltBlock::cons_to_prim |
◆ cons_vs
| VariableSet pops::detail::BuiltBlock::cons_vs |
◆ max_speed
◆ ncomp
| int pops::detail::BuiltBlock::ncomp = 1 |
◆ prim_to_cons
| std::function<void(const double*, double*)> pops::detail::BuiltBlock::prim_to_cons |
◆ prim_vs
| VariableSet pops::detail::BuiltBlock::prim_vs |
◆ src_freq
◆ stab_dt
The documentation for this struct was generated from the following file:
- include/pops/runtime/builders/block/block_seam.hpp
Generated by