Author Topic: Which kratos type should be used for adding external eigenvalue problem solver?  (Read 286 times)

MikeA

  • Newbie
  • *
  • Posts: 21
Hi,

we are trying to add an external library for solving eigenvalue problems into kratos. A new LinearSolver was created in ExternalSolversApplication to provide a native kratos interface to the library. Our problem is that the LinearSolver does not allow us to pass parameters to solve the eigenvalue problem. In addition to the matrices M and K, we need to pass the interval [lambda_min, lambda_max] and optionally the number of eigenvalues sought. Our question is - how can we create a solver in kratos that lets the user input this additional data?

Thanks

MikeA

  • Newbie
  • *
  • Posts: 21
it looks like the solution is to add a member Parameters::Pointer mpParams; to the class and initialize it through the constructor while still using the LinearSolver as a base.