Skip to content

Commit

Permalink
Make Jacobian assembly default to SPARSE in example
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Jan 6, 2011
1 parent 94b220f commit 5e50b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fs/tests/ex1.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ int main(int argc,char *argv[])
viewer = PETSC_VIEWER_STDOUT_WORLD;
err = PetscOptionsBegin(comm,NULL,"Test options","ex1");dCHK(err); {
gopt.constBDeg = 4; gopt.nominalRDeg = 0; gopt.showsoln = dFALSE; gopt.cycles = 1; gopt.proj_version = 1;
gopt.jac_qmethod = dQUADRATURE_METHOD_FAST; gopt.q1scale = 1.0;
gopt.jac_qmethod = dQUADRATURE_METHOD_SPARSE; gopt.q1scale = 1.0;
gopt.frequency[0] = 1; gopt.frequency[1] = 1; gopt.frequency[2] = 1;
exactChoice = 0; showconn = dFALSE; showmesh = dFALSE;
err = PetscOptionsInt("-const_bdeg","Use constant isotropic degree on all elements",NULL,gopt.constBDeg,&gopt.constBDeg,NULL);dCHK(err);
Expand Down

0 comments on commit 5e50b7c

Please sign in to comment.