trilinos / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
1.19k stars 564 forks source link

Ifpack2: Symbolic/Numeric splitting in Database Schwarz #12679

Open cgcgcg opened 7 months ago

cgcgcg commented 7 months ago

Bug Report

The Ifpack2 preconditioners normally allow for a split into symbolic and numeric computations during setup. I am trying to add a test that verifies (PR #12678). This seems to bug out for "DATABASE SCHWARZ":

  Test solver "DATABASE SCHWARZ" from Ifpack2 package
   solver.is_null () = false == false : passed
   Set matrix
   Compute symbolic factorization
   Compute numeric factorization

 p=0: *** Caught standard std::exception of type 'std::logic_error' :

  /home/caglusa/Trilinos/packages/ifpack2/src/Ifpack2_DatabaseSchwarz_def.hpp:556:

  Throw number = 3

  Throw test that evaluated to true: index_count[i] == 0.0

  Ifpack2::DatabaseSchwarz::compute: DOF 0 has no corresponding patch! All DOFs must be able to locate in a patch to use this method! Have you considered adjusting the patch size? Currently it is 9.`

Is there a reason why the preconditioner should not be able to pass the test?

github-actions[bot] commented 7 months ago

Automatic mention of the @trilinos/ifpack2 team

github-actions[bot] commented 7 months ago

Automatic mention of the @trilinos/ifpack2 team