Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Polymorphic sparse scheme to solve following use case (#46) #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 10, 2020

  1. Polymorphic sparse scheme to solve following use case:

    * Let us consider a Finite-Element or Finite-Volume code for which we
      have to solve a linear system using different libraries (Hypre, Petsc,
      Trilinos, Mumps, PastiX, ...). We would like to avoid conversions
      between different formats of sparse matrix. As the linear solver
      drives the choice of the sparse matrix format, we would like that the
      matrix the FE code has to fill has directly the format the linear
      solver requires. The choice of the solver is done at runtime, so it
      means that the underlying sparse scheme of the matrix should be
      instanciated at runtime. It implies that the sparse array or sparse
      tensor is a wrapper around a polymorphic sparse scheme. This latter is
      a bridge over an abstract scheme that uses type erasure to handle the
      different format implementation.
    tkloczko committed Aug 10, 2020
    Configuration menu
    Copy the full SHA
    f179993 View commit details
    Browse the repository at this point in the history