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

Reply via email to