File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -393,6 +393,7 @@ void HypreIJIface::ilu_precond_configure (const std::string& prefix)
393393
394394
395395 HypreOptParse hpp (prefix, m_precond);
396+ #if defined(HYPRE_RELEASE_NUMBER) && (HYPRE_RELEASE_NUMBER >= 22100)
396397 // Process ILU smoother parameters
397398 // ParILUK
398399 hpp (" ilu_type" , HYPRE_ILUSetType);
@@ -406,13 +407,16 @@ void HypreIJIface::ilu_precond_configure (const std::string& prefix)
406407 // ILUT
407408 hpp (" ilu_max_nnz_per_row" , HYPRE_ILUSetMaxNnzPerRow);
408409 hpp (" ilu_drop_threshold" , HYPRE_ILUSetDropThreshold);
410+ #if defined(HYPRE_RELEASE_NUMBER) && (HYPRE_RELEASE_NUMBER >= 22900)
409411 hpp (" ilu_iterative_algorithm_type" , HYPRE_ILUSetIterativeSetupType);
410412 hpp (" ilu_iterative_setup_type" , HYPRE_ILUSetIterativeSetupOption);
411413 hpp (" ilu_iterative_max_iter" , HYPRE_ILUSetIterativeSetupMaxIter);
412414 hpp (" ilu_iterative_tolerance" , HYPRE_ILUSetIterativeSetupTolerance);
413415 hpp (" ilu_tri_solve" , HYPRE_ILUSetTriSolve);
414416 hpp (" ilu_lower_jacobi_iters" , HYPRE_ILUSetLowerJacobiIters);
415417 hpp (" ilu_upper_jacobi_iters" , HYPRE_ILUSetUpperJacobiIters);
418+ #endif
419+ #endif
416420}
417421
418422void HypreIJIface::boomeramg_solver_configure (const std::string& prefix)
You can’t perform that action at this time.
0 commit comments