Skip to content

Commit

Permalink
As Mumps_SolveSystem() only available in parallel, use MumpsLocal_Sol…
Browse files Browse the repository at this point in the history
…veSystem() for

local solution.
  • Loading branch information
Juha Ruokolainen committed Sep 28, 2024
1 parent 6c43a05 commit 546ab2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fem/src/VankaCreate.F90
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ SUBROUTINE CircuitPrec(u,v,ipar)

IF(ANY(ABS(A % CircuitMatrix % Values)>0)) THEN
#if !defined (HAVE_UMFPACK) && defined (HAVE_MUMPS)
CALL Mumps_SolveSystem( sv, A % CircuitMatrix, u(i:j), v(i:j) )
CALL MumpsLocal_SolveSystem( sv, A % CircuitMatrix, u(i:j), v(i:j) )
#else
CALL Umfpack_SolveSystem( sv, A % CircuitMatrix, u(i:j), v(i:j) )
#endif
Expand Down Expand Up @@ -767,7 +767,7 @@ SUBROUTINE CircuitPrecComplex(u,v,ipar)
END DO

#if !defined (HAVE_UMFPACK) && defined (HAVE_MUMPS)
CALL Mumps_SolveSystem( sv, A % CircuitMatrix, ru, rv )
CALL MumpsLocal_SolveSystem( sv, A % CircuitMatrix, ru, rv )
#else
CALL Umfpack_SolveSystem( sv, A % CircuitMatrix, ru, rv )
#endif
Expand Down

0 comments on commit 546ab2e

Please sign in to comment.