Skip to content

Commit

Permalink
Small fix to elimination & block stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
raback committed Jan 12, 2025
1 parent 8d7ba2c commit 79c35d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fem/src/SolverUtils.F90
Original file line number Diff line number Diff line change
Expand Up @@ -15929,14 +15929,18 @@ END SUBROUTINE BlockSolveExt
CALL EliminateLinearRestriction( A, bb, A % ConstraintMatrix, Acoll, Solver, .TRUE. )
CALL List_ToCRSMatrix(Acoll)

Acoll % Comm = A % Comm
Acoll % AddMatrix => A % AddMatrix
CALL ParallelInitMatrix(Solver, Acoll)

CALL BlockSolveExt( Acoll, x, Acoll % rhs, Solver )

CALL Info(Caller,'Freeing collection matrix after solution',Level=10)
NULLIFY( Acoll % AddMatrix )

CALL FreeMatrix(Acoll)
ParEnv => A % ParMatrix % ParEnv

Acoll => NULL()
END BLOCK
ELSE
Expand Down

0 comments on commit 79c35d8

Please sign in to comment.