core 1.8.1
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::geom::InstanceMotionView< Real > Struct Template Reference

Non-owning, POD, device-copyable rigid-body motion state for a scene's instances. More...

#include <scene_query.hpp>

Public Attributes

const Real * cen = nullptr
const Real * lin = nullptr
const Real * ang = nullptr
int n = 0

Detailed Description

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

Non-owning, POD, device-copyable rigid-body motion state for a scene's instances.

All three arrays are 3*n, x-fastest per instance. cen is the instance's world centre of rotation (its transform translation); a null lin/ang reads as zero, which is what keeps a STATIC scene on exactly the old code path.

Definition at line 887 of file scene_query.hpp.

Member Data Documentation

◆ cen

template<class Real>
const Real* peclet::core::geom::InstanceMotionView< Real >::cen = nullptr

Definition at line 888 of file scene_query.hpp.

Referenced by peclet::core::geom::instanceVelocity().

◆ lin

template<class Real>
const Real* peclet::core::geom::InstanceMotionView< Real >::lin = nullptr

◆ ang

template<class Real>
const Real* peclet::core::geom::InstanceMotionView< Real >::ang = nullptr

◆ n


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