ASCOT5
Loading...
Searching...
No Matches
Data Fields
wall_3d_data Struct Reference

3D wall data parameters More...

#include <wall_3d.h>

Data Fields

int n
 
real xmin
 
real xmax
 
real xgrid
 
real ymin
 
real ymax
 
real ygrid
 
real zmin
 
real zmax
 
real zgrid
 
int depth
 
int ngrid
 
realwall_tris
 
int tree_array_size
 
int * tree_array
 Array storing information what triangles given octree cell stores.
 

Detailed Description

3D wall data parameters

Definition at line 38 of file wall_3d.h.

Field Documentation

◆ n

int wall_3d_data::n

Number of wall triangles

Definition at line 39 of file wall_3d.h.

◆ xmin

real wall_3d_data::xmin

Minimum extend on x-direction [m]

Definition at line 40 of file wall_3d.h.

◆ xmax

real wall_3d_data::xmax

Maximum extend on x-direction [m]

Definition at line 41 of file wall_3d.h.

◆ xgrid

real wall_3d_data::xgrid

Octree cell width in x-direction [m]

Definition at line 42 of file wall_3d.h.

◆ ymin

real wall_3d_data::ymin

Minimum extend on y-direction [m]

Definition at line 43 of file wall_3d.h.

◆ ymax

real wall_3d_data::ymax

Maximum extend on y-direction [m]

Definition at line 44 of file wall_3d.h.

◆ ygrid

real wall_3d_data::ygrid

Octree cell width in y-direction [m]

Definition at line 45 of file wall_3d.h.

◆ zmin

real wall_3d_data::zmin

Minimum extend on z-direction [m]

Definition at line 46 of file wall_3d.h.

◆ zmax

real wall_3d_data::zmax

Maximum extend on z-direction [m]

Definition at line 47 of file wall_3d.h.

◆ zgrid

real wall_3d_data::zgrid

Octree cell width in z-direction [m]

Definition at line 48 of file wall_3d.h.

◆ depth

int wall_3d_data::depth

Depth of the octree

Definition at line 49 of file wall_3d.h.

◆ ngrid

int wall_3d_data::ngrid

Number of cells computational volume is divided to in each direction. ngrid = 2^(depth-1)

Definition at line 50 of file wall_3d.h.

◆ wall_tris

real* wall_3d_data::wall_tris

Array of wall triangle coordinates

Definition at line 52 of file wall_3d.h.

◆ tree_array_size

int wall_3d_data::tree_array_size

Number of elements in tree_array

Definition at line 53 of file wall_3d.h.

◆ tree_array

int* wall_3d_data::tree_array

Array storing information what triangles given octree cell stores.

First ncell elements store the array position where data for a given cell begins, where the cell index is icell = ix * ngrid**2 + iy * ngrid + iz. The first element in the cell data, i.e. tree_array[tree_array[icell]], is the number of triangles in this cell, ntriangle, and the next ntriangle elements are the triangle indices.

Definition at line 63 of file wall_3d.h.


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