solve_ksp#

module opensg.compute_utils

opensg.compute_utils.solve_ksp(A, F, V)#

Krylov Subspace Solver for Aw = F

Parameters:
  • A (array) – stiffness matrix

  • F (array) – Load or force vector

  • V (function space) – _description_

Returns:

array – solution vector (displacement field)