[petsc-users] Understanding "indices" in ISLocalToGlobalMappingGetInfo

Pedro Torres torres.pedrozpk at gmail.com
Sat Mar 13 10:56:11 CST 2010


Hi,

I'm trying to use ISLocalToGlobalMappingGetInfo, so I make a few test with
its. I run my test-program  with two process and I create a Mapping with the
following vertices list:

Proc 1
 0   1    2    3   4   5   6   7    8   9   10 11 12 13 14 15 16 17 18 19
 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 100 101 102 103
 104 110 111 112 113 121

Proc 0
 77    79    87  88   89    95   96    97   98   99   103 104 105 106 107
108 109 110 111 112
 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
132
 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
152
 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
172
 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
192
 193 194 195 196 197 198 199

I call ISLocalToGlobalMappingGetInfo and I get the following information:

*Process 0:*

nproc = 2  procs [0 1]  numprocs = [13 13]
indices = [0 1 2 3 5 6 10 11 17 18 19 20 28;
                  0 1 2 3 5 6 10 11 17 18 19 20 28]

*Process 1:*
nproc = 2  procs [1 0]  numprocs = [13 13]
indices = [77 79 87 88 94 95 99 100 101 102 103 104 105;
                   77 79 87 88 94 95 99 100 101 102 103 104 105]
It seems that the indices in process 1 are correct, but not in the process
0.  Are these results correct?

Thanks a lot!.

Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100313/f9b379af/attachment.htm>


More information about the petsc-users mailing list