NAME

cxLatCoordExtract - extract coordinate values at a node

C SPECIFICATION

#include <cx/DataExtract.h>

void cxLatCoordExtract(cxLattice *lattice, int *index, float *vector)

FORTRAN SPECIFICATION

subroutine cxLatCoordExtract(lattice,index,vector)
integer lattice, index(*)
real vector(*)

PARAMETERS

lattice
Lattice data structure.
index
Array giving index of point to be extracted.
vector
Array that coordinate values will be copied into.

DESCRIPTION

CxLatCoordExtract copies the coordinate values at the node specified by index into the array val. index is an array giving the position in the lattice of the desired node; it is nDim elements long, where nDim is the number of dimensions in lattice. val is a user specified array that the coordinates will be copied into; it is nCoordVar elements long, where nCoordVar is the number of coordinate variables in the coordinate portion of lattice.

SEE ALSO

cxCoordExtract(3E)
Last modified: Mon Nov 18 13:50:13 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996