ConstArray4 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::ConstArray4 Struct Reference
READ-only handle (const counterpart of Array4): same layout and same contract (POD device-copyable, global indices, no bounds checking). More...
#include <fab2d.hpp>
Collaboration diagram for pops::ConstArray4:Public Member Functions | |
| POPS_HD Real | operator() (int i, int j, int c=0) const |
| Value of cell (i, j) of component c (global indices). POPS_HD, no bounds checking. | |
Public Attributes | |
| const Real * | p {nullptr} |
| int | nx_tot {0} |
| std::int64_t | comp_stride {0} |
| int | ig0 {0} |
| int | jg0 {0} |
Detailed Description
READ-only handle (const counterpart of Array4): same layout and same contract (POD device-copyable, global indices, no bounds checking).
POPS_HD.
Member Function Documentation
◆ operator()()
Value of cell (i, j) of component c (global indices). POPS_HD, no bounds checking.
Member Data Documentation
◆ comp_stride
| std::int64_t pops::ConstArray4::comp_stride {0} |
◆ ig0
| int pops::ConstArray4::ig0 {0} |
◆ jg0
| int pops::ConstArray4::jg0 {0} |
◆ nx_tot
| int pops::ConstArray4::nx_tot {0} |
◆ p
| const Real* pops::ConstArray4::p {nullptr} |
The documentation for this struct was generated from the following file:
- include/pops/mesh/storage/fab2d.hpp
Generated by