[petsc-users] What's the correct syntax for PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true"); ?
Klaus Burkart
k_burkart at yahoo.com
Thu Feb 28 12:55:31 CST 2019
Hello,
I try to use the Hypre boomeramg preconditioner but I keep getting type conversion errors like this one for PetscOptionsSetValue(...):
Fehler: »const char*« kann nicht nach »PetscOptions« {aka »_n_PetscOptions*«} umgewandelt werden
PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true");
This is my setup:
PCSetType(pc,PCHYPRE);
PCHYPRESetType(pc,"boomeramg");
PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true");
What's the correct syntax for PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true"); ?
Klaus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190228/717b1811/attachment.html>
More information about the petsc-users
mailing list