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

Descriptor for one sampled field inside a shared sample pool. More...

#include <scene.hpp>

Public Attributes

int nx = 0
int ny = 0
int nz = 0
int offset = 0
 start index of this field's samples in the pool
Vec3< Real > origin {0, 0, 0}
Vec3< Real > invSpacing {0, 0, 0}
 1 / node spacing, per axis (dem stores the inverse too)
GridExtension extension = GridExtension::kObject

Detailed Description

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

Descriptor for one sampled field inside a shared sample pool.

Definition at line 75 of file scene.hpp.

Member Data Documentation

◆ nx

template<class Real>
int peclet::core::geom::GridDesc< Real >::nx = 0

Definition at line 76 of file scene.hpp.

Referenced by peclet::core::geom::GridSdf::desc(), and peclet::core::geom::sampleGrid().

◆ ny

template<class Real>
int peclet::core::geom::GridDesc< Real >::ny = 0

Definition at line 76 of file scene.hpp.

Referenced by peclet::core::geom::GridSdf::desc(), and peclet::core::geom::sampleGrid().

◆ nz

template<class Real>
int peclet::core::geom::GridDesc< Real >::nz = 0

Definition at line 76 of file scene.hpp.

Referenced by peclet::core::geom::GridSdf::desc(), and peclet::core::geom::sampleGrid().

◆ offset

template<class Real>
int peclet::core::geom::GridDesc< Real >::offset = 0

start index of this field's samples in the pool

Definition at line 77 of file scene.hpp.

Referenced by peclet::core::geom::GridSdf::desc(), and peclet::core::geom::sampleGrid().

◆ origin

template<class Real>
Vec3<Real> peclet::core::geom::GridDesc< Real >::origin {0, 0, 0}

Definition at line 78 of file scene.hpp.

Referenced by peclet::core::geom::GridSdf::desc(), and peclet::core::geom::sampleGrid().

◆ invSpacing

template<class Real>
Vec3<Real> peclet::core::geom::GridDesc< Real >::invSpacing {0, 0, 0}

1 / node spacing, per axis (dem stores the inverse too)

Definition at line 79 of file scene.hpp.

Referenced by peclet::core::geom::GridSdf::desc(), peclet::core::geom::leafGrad(), and peclet::core::geom::sampleGrid().

◆ extension


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