<div dir="ltr"><div>Dear Petsc developers and users, <br></div><div><br></div><div>I am  trying to explore adaptive mesh refinement (tetradedra) with Petsc. It seems case 12 ($PETSC DIR/src/snes/tutorials/ex12.c, from paper, <a href="https://urldefense.us/v3/__https://arxiv.org/pdf/2201.02806__;!!G_uCfscf7eWS!ZEwaHkvYc_IrjycFr8LiNi-nZcFqu0ZpsydAAomxptQ6C0xkBs3qhn5ba31Z4vipKf4mTrqDm8A5S65DDD_xFg$">https://arxiv.org/pdf/2201.02806</a>) is a good example.</div><div>However when I tried, <br></div><div>./ex12 -run_type full -dm_plex_dim 3 -dm_distribute -dm_plex_box_faces 10,10,10 -bc_type dirichlet -petscspace_degree 1 -variable_coefficient ball -snes_converged<br>_reason ::ascii_info_detail -ksp_type cg -pc_type sor -snes_adapt_sequence 3 -adaptor_target_num 1000 -dm_plex_metric_h_max  0.5  -dm_adaptor mmg <br>      L_2 Error: 1.55486<br>      Nonlinear solve converged due to CONVERGED_FNORM_RELATIVE iterations 2<br></div><div><br></div><div>it shows the following error, <br></div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Argument out of range<br>[0]PETSC ERROR: Global metric normalization factor must be in (0, inf). Is the input metric positive-definite?</div><div><br></div><div>Do  you have any suggestions here?</div><div><br></div><div>Thanks,</div><div><br></div><div>Xiaodong <br></div></div>