set_coordinate_grid()

Description: Creates a coordinate grid data structure used by FOCUS for various calculations.

Usage

grid = set_coordinate_grid(delta, xmin, xmax, ymin, ymax, zmin, zmax);
grid = set_coordinate_grid(x_coords, y_coords, z_coords);
grid = set_coordinate_grid(vector); 

Arguments

Output Parameters

Notes

If x_coords, y_coords, and z_coords are provided, each

point is defined as point(i) = [ x_coords(i) y_coords(i) z_coords(i) ]. If no arguments are provided, the user will be prompted to enter delta, xmin, xmax, ymin, ymax, zmin, and zmax.

Calling this function with no arguments will cause the program to prompt the user for each required value.