Skip to content
Snippets Groups Projects
  1. Jun 17, 2015
    • Andreas Nüßing's avatar
      [bugfix] include the matrixmarket header to handle default argument · 925dbac3
      Andreas Nüßing authored
      The standard states (8.3.6/4) that adding default arguments in later
      function declarations are only valid for non-template functions.
      In matrixmarket.hh, the function template loadMatrixMarket is declared
      and a default argument for the last parameter is provided. In
      owneroverlapcopy.hh, OwnerOverlapCopyCommunication contains a friend
      declaration of loadMatrixMarket without the default parameter. If now
      owneroverlapcopy.hh is included before matrixmarket.hh, the friend
      declaration is the first declaration and the default parameter in
      matrixmarket.hh is invalid.
      By including matrixmarket.hh in owneroverlapcopy.hh, we make sure that
      the declaration which provides the default argument is always the first
      one.
      925dbac3
  2. Jun 11, 2015
    • Markus Blatt's avatar
      Makes vectorcommtest independent of dune-istl data types. · 0974d24e
      Markus Blatt authored
      This test actually does test the parallel functionality
      that is now contained in dune-common for quite some time.
      While it is using BlockVector this is not needed by the test.
      It works with any container supporting operator[].
      
      Therefore this commit gets rid of BlockVector and uses std::vector
      instead. This will allow us to move the test to dune-core subsequently.
      0974d24e
    • Markus Blatt's avatar
      [release] Do not assume a symmetric sparsity pattern in SymmetricDependency. · 05c0a63a
      Markus Blatt authored
      Previously, we assumed that if a_{ij} is stored in the sparse matrix
      then a_{ji} must be stored also and used mat[i][j] to access. If the entry
      was not stored then an exception somewhere in basearray.hh was thrown.
      Unfortunately knowing the cause for this exception is insider knowledge,
      seldomly leaked ;). In addition there is now reason to throw an expection here.
      
      With this commit we the find method on the row to search for the entry a_{ji}.
      If it is not present we simply treat it as being zero.
      05c0a63a
  3. Jun 01, 2015
  4. May 25, 2015
  5. May 14, 2015
  6. May 12, 2015
  7. May 07, 2015
  8. Apr 30, 2015
  9. Apr 28, 2015
  10. Apr 13, 2015
  11. Apr 07, 2015
  12. Mar 24, 2015
    • Emmanouil Kiagias's avatar
      Choose different codepath if METIS 5 is found. · a49ddaa9
      Emmanouil Kiagias authored and Christoph Grüninger's avatar Christoph Grüninger committed
      
      Updated how METIS_PartGraphRecursive is called in METIS version 5.
      In the new parameters NULL value is used where possible. Only one
      new parameter could not be set to NULL, it is the "ncon" (second argument).
      In the manual it says: "ncon: The number of balancing constraints.
      It should be at least 1." so 1 is used as its value.
      
      Also options with the new layout are passed in METIS_PartGraphRecursive
      initialized with the default values(default values also used in the
      current code: options[0]=0). Only one option was added manually:
      the METIS_OPTION_NUMBERING = numflag which is the same numflag parameter
      passed in the old version of METIS_PartGraphRecursive function.
      
      Signed-off-by: default avatarChristoph Grüninger <gruenich@dune-project.org>
      a49ddaa9
  13. Mar 10, 2015
  14. Feb 15, 2015
  15. Jan 23, 2015
  16. Jan 05, 2015
  17. Jan 04, 2015
  18. Dec 22, 2014
  19. Dec 18, 2014
    • Steffen Müthing's avatar
      [BCRSMatrix] Drop over-eager check in row access operator[] · 35b879c3
      Steffen Müthing authored
      When DUNE_ISTL_WITH_CHECKING is enabled, the BCRSMatrix throws an
      exception when trying to access a row that has no columns. This creates
      a problem in PDELab when using nested BCRSMatrices (as some people do
      for operator splitting in PDELab), where an off-diagonal BCRSMatrix
      block might be completely empty (i.e. have a correctly set up structure,
      but every row in the off-diagonal BCRSMatrix is empty. If the PDELab
      assembler then attempts to set a Dirichlet constraint, it has to access
      the row to set all columns in that row to zero, but the check in
      operator[] prevents it from doing so.
      
      So this patch just drops that check.
      35b879c3
  20. Dec 16, 2014
  21. Dec 15, 2014
    • Steffen Müthing's avatar
      [Infrastructure] Be more careful about field_type / real_type · 714cd554
      Steffen Müthing authored
      This patch removes the assumption that the field_type and / or real_type
      can always be implicitly converted to double and can be implicitly
      constructed from an int (in constructs like field_type d = 0;).
      
      This patch is required for compatibility with the FLOP counter in PDELab.
      714cd554
  22. Dec 08, 2014
  23. Nov 29, 2014
  24. Nov 28, 2014
  25. Nov 21, 2014
  26. Oct 30, 2014
  27. Oct 29, 2014
  28. Oct 03, 2014
Loading