Parallel map

The parallel operator for the 1D case is found here. In the 2D Cartesian case details can be found here.

FaADE.ParallelOperator.construct_gridMethod
construct_grid(χ::Function,grid::GridMultiBlock,z::Vector;interpmode=:nearest)

Constructs the backwards and forward planes for a multiblock grid. Returns a dictionary of PGrid objects corresponding to the grids in GridMultiBlock.

By default will return points for nearest neighbour interpolation.

source
FaADE.ParallelOperator.construct_gridMethod
construct_grid(χ::Function,grid::Grid2D,z::Vector)

Constructs the backwards and forward planes for a given plane

Inputs:

  • Field line ODE that returns $[x,y]$
  • GridType
  • z values of planes to trace to

Outputs:

source

Internals

FaADE.ParallelOperator.ParallelGridType
ParallelGrid{TT,DIM,AT,PA}

Stores the current, forward and backward planes for the parallel tracing.

In 2D arrays are of format $[(x_1,y_1),(x_1,y_2),...,(x_n,y_n)]$

source
FaADE.ParallelOperator.savegridMethod
savegrid(fname,pargrid::ParallelGridType)

Saves the ParallelGrid object containing the backward and forward plane information to a jld2 file with path and filename specified by fname.

source