File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ if (!pr#prfe#prmesh#excluded) {
77 pr#Z[pr#Z.n-1].resize(u.n);
88 pr#Z[pr#Z.n-1] = u;
99}
10+ else
11+ pr#Z[pr#Z.n-1].resize(pr#prfe#Vhi.ndof);
1012pr#sg++;
1113}
1214// EOM
@@ -121,10 +123,11 @@ else {
121123 ;
122124 ENDIFMACRO
123125
124- if (!pr#prfe#prmesh#excluded)
126+ if (!pr#prfe#prmesh#excluded && pr#si > 0 )
125127 AiZmi.resize(pr#prfegeneo#Dk[mpiRank(pr#prfegeneo#prmesh#commddm)].n,pr#si);
126- int ni = pr#prfe#prmesh#excluded ? 0 : pr#prfegeneo#Dk[mpiRank(pr#prfegeneo#prmesh#commddm)].n;
127- AZmg.resize(ni,pr#sg);
128+ int ni = pr#prfe#prmesh#excluded ? pr#prfe#Vhi.ndof : pr#prfegeneo#Dk[mpiRank(pr#prfegeneo#prmesh#commddm)].n;
129+ if (pr#sg > 0)
130+ AZmg.resize(ni,pr#sg);
128131
129132 for (int ii=0; ii < pr#si; ii++) {
130133 IFMACRO(pr#localmacrominoverlap,1)
You can’t perform that action at this time.
0 commit comments