Skip to content
Snippets Groups Projects
  1. Mar 17, 2016
    • Markus Blatt's avatar
      [bugfix] Fixes access to non-existing parallel info in FastAMG::recalculateHierachy · d8c61b8e
      Markus Blatt authored
      recalculateHierarchy() assumed that there is information avaiable
      that is only there in parallel runs. This failed miserably.
      
      This commit fixes this be implementing dummy versions for
      redistributing matrices in  a sequential run and does not
      query any parallel stuff any more
      
      This closes #11.
      d8c61b8e
    • Markus Blatt's avatar
      Merge branch 'feature/fix-fastamg-dirichlet-processing' into 'master' · 969fa8a4
      Markus Blatt authored
      [amg][bugfix] Fix dirichlet processing in FastAMG
      
      The comment and surroundig code indicate that FastAMG should
      solve during pre() for dirichlet entries. This is determined
      by checking if a row does contain a diagonal entry while
      all other entries are zero.
      
      The check for this was buggy because hasDiagonal was always false.
      This merge commits sets it to true if a diagonal entry is found and nonzero.
      
      See merge request !32
      969fa8a4
  2. Mar 15, 2016
    • Oliver Sander's avatar
      Specialize FieldTraits for MultiTypeBlockVector · ca9342c0
      Oliver Sander authored
      This allows other code to access field_type and real_type for a MultiTypeBlockVector
      using the FieldTraits class.  Caveat: in principle, individual entries of a
      MultiTypeBlockVector could use different field_types.  The implementation always
      returns the first one.
      ca9342c0
  3. Mar 14, 2016
  4. Mar 11, 2016
  5. Mar 09, 2016
  6. Mar 08, 2016
    • Carsten Gräser's avatar
      [amg][bugfix] Fix dirichlet processing in FastAMG · da8bed73
      Carsten Gräser authored
      The comment and surroundig code indicate that FastAMG should
      solve during pre() for dirichlet entries. This is determined
      by checking if a row does contain a diagonal entry while
      all other entries are zero.
      
      The check for this was buggy because hasDiagonal was always false.
      Now it's set to true if a diagonal entry is found and nonzero.
      da8bed73
  7. Mar 07, 2016
  8. Mar 04, 2016
    • Oliver Sander's avatar
      Remove the 'block' array · dfcfb6d5
      Oliver Sander authored
      This array was a left-over from the VariableBlockVector class.  In short,
      it stores the length of each matrix row.  Of course that is redundant,
      because all rows in a dense matrix have the same length.
      
      This patch makes the class allocate less memory, and use the known row
      size to compute the offsets into the data array.  In principle, the code
      becomes faster by this, but I am not convinced that the effect will be
      measurable.
      
      Still, even without measurable speedup: this patch is an improvement,
      because it makes the code simpler.
      dfcfb6d5
  9. Feb 29, 2016
  10. Feb 28, 2016
  11. Feb 27, 2016
  12. Feb 26, 2016
  13. Feb 25, 2016
    • Steffen Müthing's avatar
      Merge branch 'matrix-loadbalance-to-more' into 'master' · 1b544df3
      Steffen Müthing authored
      Matrix loadbalance to more
      
      There was a problem when having the global matrix and using load balance
      to distribute it. This is fixed by the MR.
      
      These changes should be cherrypicked to the release, too.
      
      See merge request !28
      1b544df3
    • Markus Blatt's avatar
      [bugfix] Cater for the case that we load balance to more processes. · 2841f4ba
      Markus Blatt authored
      One of the use cases for load balancing a matrix is reading it globally
      on one process and then calling the load balancer to distribute it among
      the processes. Unfortunately this did not work due to a bug that prevented
      the correct remapping of the domain numbers from the load balancers. This
      lead to negative rank numbers.
      
      With this commit we use yet unassigned process numbers for domains that
      are not yet mapped (due to having no dofs before the load balancing).
      2841f4ba
    • Markus Blatt's avatar
    • Christoph Grüninger's avatar
      Merge branch 'feature/fix-tests-on-make-all' into 'master' · 63839914
      Christoph Grüninger authored
      [cmake][bugfix] Correct handling of the EXCLUDE_FROM_ALL property:
      
      The signature of `dune_add_test`, that takes the `TARGET` from the user
      produced excluded targets if added in a directory that has the directory
      property `EXCLUDE_FROM_ALL` set. The correct solution IMO is to not use
      that property on test subdirectories anymore (it is a relic from the old
      testing magic), because we rely on `dune_add_test` to handle exclusion.
      
      See dune-common#21 for details.
      
      See merge request !27
      63839914
  14. Feb 22, 2016
    • Dominic Kempf's avatar
      [cmake][bugfix] Correct handling of the EXCLUDE_FROM_ALL property: · 1528986b
      Dominic Kempf authored
      The signature of `dune_add_test`, that takes the `TARGET` from the user
      produced excluded targets if added in a directory that has the directory
      property `EXCLUDE_FROM_ALL` set. The correct solution IMO is to not use
      that property on test subdirectories anymore (it is a relic from the old
      testing magic), because we rely on `dune_add_test` to handle exclusion.
      
      See core/dune-common#21 for details.
      1528986b
  15. Feb 21, 2016
  16. Feb 20, 2016
  17. Feb 19, 2016
  18. Feb 18, 2016
    • Oliver Sander's avatar
      Test FieldVector for compliance with the dune-istl vector interface · 74a5cc4f
      Oliver Sander authored
      The FieldVector class resides in dune-common, and is tested there.  However, we also
      want to check it against the tests specifying the dune-istl vector interface in vectortest.hh,
      therefore we add a second test for FieldVector to the dune-istl module.
      74a5cc4f
    • Oliver Sander's avatar
      Properly export value_type, iterator, and const_iterator · 0c9077e2
      Oliver Sander authored
      Previously, they were inherited from the base class, resulting in the wrong types.
      0c9077e2
    • Oliver Sander's avatar
      Introduce file vectortest.hh, with tests for the dune-istl vector interface · 9333080c
      Oliver Sander authored
      So far, each dune-istl vector class had its own unit test.  They all tested, among
      other things, for compliance with the dune-istl vector interface.  This lead, or had
      the risk to lead, to subtle differences between the individual tests.  Also, since
      there is no formal specification of the interface, it was somewhat unclear what the
      interface actually requires.
      
      This patch tries to improve the situation by providing a generic set of tests that
      should be passed by anything claiming to be a dune-istl vector.  This will save work,
      because it allows to centralize tests that are now distributed across the different
      unit tests for the different dune-istl vectors.  Also, it is my hope that these
      centralized tests can serve as some form of formalized specification of the dune-istl
      vector interface.
      9333080c
Loading