1lis_vector_set_size(3f) Lis Library Functions lis_vector_set_size(3f)
2
3
4
6 lis_vector_set_size - assign the size of the vector
7
8
10 subroutine lis_vector_set_size(LIS_VECTOR v, LIS_INTEGER local_n,
11 LIS_INTEGER global_n, LIS_INTEGER ierr);
12
13
15 Assign the size of vector v.
16
17
19 v The vector
20
21
22 local_n
23 The size of the partial vector
24
25
26 global_n
27 The size of the global vector
28
29
31 Either local_n or global_n must be provided. In the case of the serial
32 and multithreaded environments, local_n is equal to global_n. There‐
33 fore, both lis_vector_set_size(v,n,0) and lis_vector_set_size(v,0,n)
34 create a vector of size n. For the multiprocessing environment,
35 lis_vector_set_size(v,n,0) creates a partial vector of size n on each
36 processing element. On the other hand, lis_vector_set_size(v,0,n) cre‐
37 ates a partial vector of size m_p on the processing element p. The val‐
38 ues of m_p are determined by the library.
39
40
42 lis(3)
43
44 http://www.ssisc.org/lis/
45
46
47
48
49Man Page 6 Sep 2012 lis_vector_set_size(3f)