XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
ff_projection_setup.hpp File Reference
#include "grid.hpp"
Include dependency graph for ff_projection_setup.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ff_projection_setup (NLReader::NamelistReader &nlr, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Projection< HostType > &half_plane_ff, Projection< HostType > &one_plane_ff)
 

Function Documentation

void ff_projection_setup ( NLReader::NamelistReader nlr,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
Projection< HostType > &  half_plane_ff,
Projection< HostType > &  one_plane_ff 
)

Initialize the field-aligned mapping between adjacent planes. The routine traces magnetic field lines from each vertex of a plane in both toroidal directions to the adjacent mid-planes and full-step planes, records the triangle in which the field line intersects these planes and the corresponding interpolation weights.

Parameters
[in]gridXGC grid object, type(grid_type)
[out]psnXGC field data object, type(psn_type)

< zero out p for non-exist field following position.

Here is the call graph for this function:

Here is the caller graph for this function: