1lis_vector_set_size(3)       Lis Library Functions      lis_vector_set_size(3)
2
3
4

NAME

6       lis_vector_set_size - assign the size of the vector
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT  lis_vector_set_size(LIS_VECTOR  v,  LIS_INT  local_n,  LIS_INT
13       global_n);
14
15

DESCRIPTION

17       Assign the size of vector v.
18
19

INPUT

21       v      The vector
22
23
24       local_n
25              The size of the partial vector
26
27
28       global_n
29              The size of the global vector
30
31

EXIT STATUS

33       The following exit values are returned:
34
35       0      The process is normally terminated
36
37       unspecified
38              An error occurred
39
40

NOTE

42       Either local_n or global_n must be provided.  In the case of the serial
43       and  multithreaded  environments, local_n is equal to global_n.  There‐
44       fore, both  lis_vector_set_size(v,n,0)  and  lis_vector_set_size(v,0,n)
45       create  a  vector  of  size  n.   For  the multiprocessing environment,
46       lis_vector_set_size(v,n,0) creates a partial vector of size n  on  each
47       processing  element. On the other hand, lis_vector_set_size(v,0,n) cre‐
48       ates a partial vector of size m_p on the processing element p. The val‐
49       ues of m_p are determined by the library.
50
51

SEE ALSO

53       lis(3)
54
55       http://www.ssisc.org/lis/
56
57
58
59
60Man Page                          6 Sep 2012            lis_vector_set_size(3)
Impressum