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::geom::SceneView< Real > Struct Template Reference

Non-owning bundle of everything a scene evaluation needs (resolved decision 4). More...

#include <scene.hpp>

Public Attributes

const ShapeNode< Real > * nodes = nullptr
 
int nodeCount = 0
 
const GridDesc< Real > * grids = nullptr
 
int gridCount = 0
 
const float * samples = nullptr
 
long sampleCount = 0
 
const Instance< Real > * instances = nullptr
 
int instanceCount = 0
 

Detailed Description

template<class Real>
struct peclet::core::geom::SceneView< Real >

Non-owning bundle of everything a scene evaluation needs (resolved decision 4).

Raw pointers, so it is POD, captures by value into a Kokkos lambda, and is equally usable on host or device – a Kokkos View contributes its .data(). Ownership stays with whoever allocated the arrays: dem adapts its own SoA into one of these, flow owns a small one for static scenes, and resolved CFD-DEM is dem handing its SceneView to flow.

Definition at line 229 of file scene.hpp.

Member Data Documentation

◆ nodes

◆ nodeCount

◆ grids

◆ gridCount

◆ samples

◆ sampleCount

◆ instances

◆ instanceCount


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