Previous Next Up Title Contents Index Functions Index Top Library

ALLOCATION OF 3D MATRIX OF VECTORS-3

talloc_vec3_matrix3


CALL SEQUENCE

Pvec3 ***talloc_vec3_matrix3 (num_x,num_y,num_z)

INPUT PARAMETERS

Pint	num_x;
Pint	num_y;
Pint	num_z;

ARGUMENTS

num_x
1st dimension of the matrix.
num_y
2nd dimension of the matrix.
num_z
3rd dimension of the matrix.

EFFECT

This function allocates a 3D matrix of vectors-3 usefull for 3D PHIGURE data mesh.

Example

Tvec3D_data mesh_data;
mesh_data.parallelepipedic.v = talloc_vec3_matrix (15,25,12);
mesh_data.parallelepipedic.v[10][15][8].delta_x = 10.0;
mesh_data.parallelepipedic.v[10][15][8].delta_y = 5.0;
mesh_data.parallelepipedic.v[10][15][8].delta_z = 7.0;


Previous Next Up Title Contents Index Functions Index Top Library