Skip to content
Snippets Groups Projects
  1. Aug 05, 2013
  2. Jul 13, 2013
  3. Jul 11, 2013
    • Oliver Sander's avatar
      Replace 'double' in return value of the norm methods · 87cb0c99
      Oliver Sander authored
      Replace it with	typename FieldTraits<field_type>::real_type
      
      This fixes two problems:
      - norms don't return complex number types when instantiated
        for complex coefficients
      - You can now instantiate BlockVector for field_types that do not
        auto-convert to 'double'
      87cb0c99
    • Markus Blatt's avatar
      [Bugfix][SuperLU] Use a pointer and not a reference for pointing in apply(T*,T*). · 3672ad5b
      Markus Blatt authored
      A reference is an lvalue. Assigning to it later changes the state
      of the rhe referencee (and not the reference). Therefore the code
      actually stored references to the right hand and left hand side.
      In the case where we did not want to reuse vectors we created two
      dense SuperMatrices to used in this apply call and then assigned
      them to the references. In fact we actually overwrote the right
      and left hand side by doing this.
      
      This patch uses pointers to accompish the intended behaviour, i.e.
      point to the correct dense matrices, the ones stored in SuperLU
      or the ones stored in SuperLU::apply.
      3672ad5b
    • Arne Morten Kvarving's avatar
      [Bugfix][SuperLU] Use a pointer and not a reference for pointing. · aa274599
      Arne Morten Kvarving authored and Markus Blatt's avatar Markus Blatt committed
      A reference is an lvalue. Assigning to it later changes the state
      of the rhe referencee (and not the reference). Therefore the code
      actually stored references to the right hand and left hand side.
      In the case where we did not want to reuse vectors we created two
      dense SuperMatrices to used in this apply call and then assigned
      them to the references. In fact we actually overwrote the right
      and left hand side by doing this.
      
      This patch uses pointers to accompish the intended behaviour, i.e.
      point to the correct dense matrices, the ones stored in SuperLU
      or the ones stored in SuperLU::apply.
      aa274599
    • Oliver Sander's avatar
      Add package new to single-inclusion macro · ab8d2def
      Oliver Sander authored
      Otherwise I get name clashes: DUNE_SOLVER_HH is used in dune-istl
      and dune-solvers.
      ab8d2def
  4. Jul 09, 2013
  5. Jul 08, 2013
  6. Jul 07, 2013
  7. Jul 05, 2013
  8. Jul 04, 2013
    • Christian Engwer's avatar
      [BlockVector] · 0f850d8b
      Christian Engwer authored
      modify constructor with capacity to catch at least some of the
      wrong invocations (see doxygen comment).
      0f850d8b
  9. Jul 03, 2013
  10. Jun 19, 2013
  11. Jun 18, 2013
  12. Jun 13, 2013
  13. Jun 12, 2013
  14. Jun 10, 2013
    • Markus Blatt's avatar
      Prevents calling MPI_Comm_free after MPI_Finalize. · 51445464
      Markus Blatt authored
      With OpenMPI there appeared cases where MPI_Comm_free
      was called after MPI_Finalize. This was caused by the
      destructor of OwnerOverlapCopyCommunication being called
      after MPI_Finalize.
      This patch moves the destruction out of the main method.
      If MPI 2 functionality is available we also check whether
      MPI_Finalize was called before freeing the communicator and
      only call free if not.
      51445464
    • Markus Blatt's avatar
      Allows copying AMG and using them independently. · eef32851
      Markus Blatt authored
      This patch introduces shared_ptrs at various places,
      namely for the matrix hierarchies and coarse solvers.
      This allows copying an AMG and using the same matrix
      hierarchies in both preconditioners. Thus one could
      solve the same system for various right hand sides,
      where each solve happens in a different thread.
      eef32851
Loading