Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
lpt_periodic_params Struct Reference

#include <lpt_periodic_params.h>

Public Attributes

real dir [9]
 
real pmin [3]
 
real pmax [3]
 
real shift [9]
 
real len [3]
 

Detailed Description

Periodic direction data for the translational wrapping kernels, packed into one kernel argument so that the OpenCL and Metal backends stay within their kernel argument limits.

Each triple is the (x, y, z) part of periodic direction j, so dir[3*j], dir[3*j+1] and dir[3*j+2] are direction j.

Note
The layout is mirrored by lpt_periodic_params in opencl/lpt_periodic_bc_kernel.cl and metal/lpt_periodic_bc_kernel.metal.

Definition at line 51 of file lpt_periodic_params.h.

Member Data Documentation

◆ dir

real lpt_periodic_params::dir[9]

Definition at line 52 of file lpt_periodic_params.h.

◆ len

real lpt_periodic_params::len[3]

Definition at line 56 of file lpt_periodic_params.h.

◆ pmax

real lpt_periodic_params::pmax[3]

Definition at line 54 of file lpt_periodic_params.h.

◆ pmin

real lpt_periodic_params::pmin[3]

Definition at line 53 of file lpt_periodic_params.h.

◆ shift

real lpt_periodic_params::shift[9]

Definition at line 55 of file lpt_periodic_params.h.


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