35
36
Paso_SharedComponents* Paso_SharedComponents_alloc(dim_t local_length,
45
46
Paso_SharedComponents* out=NULL;
47
48
out=MEMALLOC(1,Paso_SharedComponents);
49
50
out->local_length=local_length*m;
51
52
out->numNeighbors=numNeighbors;
53
54
if (offsetInShared == NULL) {
54
55
out->numSharedComponents=0;