File fieldline_geometry.cxx

Contents

File fieldline_geometry.cxx#

Functions

Field3D calculate_Lpar()#

Calculates the parallel length lpar along the field line.

The parallel length is calculated by integrating along the poloidal direction. This function calculates the parallel distance from the upstream boundary for each cell in the simulation domain.

Returns:

Field3D containing the parallel length.