Hello,

I would like to make the following hypre call 
HYPRE_AMSSetBetaPoissonMatrix(ams, NULL);

So it does look like ams_beta_is_zero has to be true
https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/blob/main/src/ksp/pc/impls/hypre/hypre.c?ref_type=heads*L325__;Iw!!G_uCfscf7eWS!bi4rdSrrVzBRHrD32vObvn-LFoZba_XXh9z72ayyPQYw-X-nyeVCVp60RVCQVwTZHjxW-LZch_l-DhhxHn9BXpWjJIqS1m2SRZrJ$
 

So would I end up calling PCHYPRESetPoissonMatrix_HYPRE with isalpha being 
false.
https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/blob/main/src/ksp/pc/impls/hypre/hypre.c?ref_type=heads*L1640__;Iw!!G_uCfscf7eWS!bi4rdSrrVzBRHrD32vObvn-LFoZba_XXh9z72ayyPQYw-X-nyeVCVp60RVCQVwTZHjxW-LZch_l-DhhxHn9BXpWjJIqS1lTIq-Ra$
 

But I get the following error from Libmesh: is it because of version 
incompatibility between PETSc and Hypre?

vector_fe_ex3.C:141:3: error: 'PCHYPRESetPoissonMatrix_HYPRE' was not declared 
in this scope; did you mean 'PCHYPRESetBetaPoissonMatrix'?
  141 |   PCHYPRESetPoissonMatrix_HYPRE(pc, A, false);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

I look forward to your response.

Kind regards,
Karthik

--
Karthik Chockalingam, Ph.D.
Senior Research Software Engineer
High Performance Systems Engineering Group
Hartree Centre | Science and Technology Facilities Council
karthikeyan.chockalin...@stfc.ac.uk<mailto:karthikeyan.chockalin...@stfc.ac.uk>

 [signature_3970890138]

  • [petsc-users] Error: ... Karthikeyan Chockalingam - STFC UKRI via petsc-users

Reply via email to