Internal And Consistency Outputs

This page is generated from in-code XGC I/O metadata by utils/python/documentation/document_outputs.py.

Internal helper and consistency-check outputs that may be useful for debugging or verification. xgc.used_inputs.bp records the value returned by every namelist get call, so the variable names are namelist/parameter (or namelist/parameter/index for multivalue parameters) and are not listed here.

./xgc.saved_volumes.bp

Variable

Units

Description

Context

nnode

Positive integer

Number of 2D mesh nodes.

context

node_area

m^2

Poloidal-plane area associated with each mesh node.

context

node_vol

m^3

Nodal volume weight for linear barycentric interpolation over each local toroidal slab. For axisymmetric geometry the full-torus volume is wedge_n*nphi*sum(node_vol[0,:]); for stellarator geometry it is wedge_n*sum(node_vol over all stored planes and nodes).

context

node_vol_ff_h

m^3

Field-following spatial volume associated with each mesh node for the two neighboring field-following planes.

context

node_vol_ff_l_h

m^3

Left-side field-following spatial volume associated with each mesh node for the two neighboring field-following planes.

context

node_vol_ff_r_h

m^3

Right-side field-following spatial volume associated with each mesh node for the two neighboring field-following planes.

context

node_vol_nearest

m^3

Spatial volume assigned to each mesh node using nearest-node volume accumulation.

context

npsi00

Positive integer

Number of points in the uniformly spaced psi00 flux grid used for saved volume data.

context

ntriangle

Positive integer

Number of triangles in the planar mesh.

context

tr_area_h

m^2

Area of each triangle in the 2D plane mesh.

context

tr_vol_h

m^3

Straight-toroidal-extrusion volume of each triangle over one local toroidal slab of angular width delta_phi.

context

vol00

m^3

Volume weights on the uniform psi00 grid, accumulated with linear flux-coordinate weights in included main-plasma/SOL regions over the simulated toroidal domain.

context

moments_check.bp

Variable

Units

Description

Context

density

m^-3

Reference density moments on [toroidal plane, mesh node, species] for the moments check.

context

nnodes

Positive integer

Number of 2D mesh nodes per toroidal plane in the moments-check reference data.

context

nplanes

Positive integer

Number of toroidal planes in the moments-check reference data.

context

nspecies

Positive integer

Number of species with a dynamic f0 in the moments-check reference data.

context

ptl_resolution

Non-negative integer

Total marker-particle count used to generate the moments-check reference data.

context

temp

eV

Reference temperature moments on [toroidal plane, mesh node, species] for the moments check.

context

temp_para

eV

Reference parallel-temperature moments on [toroidal plane, mesh node, species] for the moments check.

context

temp_perp

eV

Reference perpendicular-temperature moments on [toroidal plane, mesh node, species] for the moments check.

context

upara

m s^-1

Reference parallel-flow moments on [toroidal plane, mesh node, species] for the moments check.

context

xgc.used_inputs.bp

Variable

Units

Description

Context

var_name

dimensionless

Boolean namelist value returned by a get call, encoded as 0 or 1.

context

var_name

Namelist parameter units

Namelist value returned by a get call.

context

triangle_color_scheme.bp

Variable

Units

Description

Context

avg_set32_density

dimensionless

Triangle-lane utilization over contiguous blocks of at most 32 triangles: total triangle count divided by the sum of block_size times the number of distinct colors in each block.

context

color_offsets

Non-negative integer

Zero-based start offsets of triangle lists in triangle_ids_by_color; final entry is the total number of triangles.

context

coord

m

Cylindrical R and Z coordinates of mesh vertices in this standalone debug product.

context

max_color_bound

Positive integer

Upper bound on the number of colors used by the coloring algorithm.

context

max_num_t_node

Non-negative integer

Maximum number of triangles adjacent to one mesh node.

context

ncolor

Positive integer

Number of triangle colors.

context

nodeid

Integer index

Triangle vertices as zero-based mesh-node indices into coord.

context

triangle_color

Integer index

Zero-based color assigned to each triangle; triangles sharing a vertex have different colors.

context

triangle_ids_by_color

Integer index

Zero-based triangle IDs packed by color; use color_offsets to slice each color group.

context