Skip to content

Commit

Permalink
Fix last bug, -use_jblock results are now equivalent to the monolithi…
Browse files Browse the repository at this point in the history
…c case
  • Loading branch information
jedbrown committed Jun 6, 2011
1 parent 29388cd commit e05dcbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fs/tests/vht.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ static dErr VHTGetMatrices(VHT vht,dBool use_jblock,Mat *J,Mat *B)
} else { /* A single top-level 3x3 split */
err = MatCreateNest(vht->comm,3,splitis,3,splitis,((Mat[]){Juu,Jup,Jue, Jpu,Jpp,Jpe, Jeu,Jep,Jee}),J);dCHK(err);
err = MatCreateNest(vht->comm,3,splitis,3,splitis,((Mat[]){Buu,NULL,NULL, NULL,Bpp,NULL, NULL,NULL,Bee}),B);dCHK(err);
err = MatNestSetSubMat(*J,1,1,Bpp);dCHK(err); // This is inconsistent, but I'm using it to make multiplicative fieldsplit do something reasonable
//err = MatNestSetSubMat(*J,1,1,Bpp);dCHK(err); // This is inconsistent, activate for certain multiplicative fieldsplit experiments
}
err = MatSetOptionsPrefix(*J,"J_");dCHK(err);
err = MatSetFromOptions(*J);dCHK(err);
Expand Down Expand Up @@ -1684,7 +1684,7 @@ static dErr MatMultAdd_VHT_eX(Mat A,Vec X,Vec Y,Vec Z,VHTMultMode mmode)
}
while (dRulesetIteratorHasPatch(iter)) {
const dScalar *jw;
dScalar (*x)[3],(*dx)[9],(*u)[2],(*du)[9],(*p)[1],(*dp)[3],(*e)[1],(*de)[3],(*e_)[1],(*de_)[3];
dScalar (*x)[3],(*dx)[9],(*u)[3],(*du)[9],(*p)[1],(*dp)[3],(*e)[1],(*de)[3],(*e_)[1],(*de_)[3];
dInt Q;
struct VHTStash *stash;
err = dRulesetIteratorGetStash(iter,NULL,&stash);dCHK(err);
Expand Down

0 comments on commit e05dcbe

Please sign in to comment.