Skip to content
Snippets Groups Projects
  1. Dec 05, 2014
  2. Dec 02, 2014
  3. Nov 13, 2014
  4. Aug 20, 2014
  5. Jul 22, 2014
  6. Jul 21, 2014
    • Oliver Sander's avatar
      Fix problem with data type narrowing from 'unsigned char' to 'char' · 37113d4e
      Oliver Sander authored
      The explicit list of 8 bit numbers in the files tool0, tool1, etc
      were stored in arrays of char. However, they contain values larger than 127,
      which is illegal in C++11 -- the type must be unsigned char.
      On the other hand, the char arrays are handed to X, which really does
      expect signed char.
      The patch fixes the problem by changing the types to unsigned char,
      and explicitly casting the arguments of the X calls.
      37113d4e
  7. Jun 23, 2014
  8. Jun 13, 2014
  9. Jun 12, 2014
  10. Jun 10, 2014
    • Oliver Sander's avatar
      [cleanup] Remove code that parse options for the Chaco load-balancer · 82cdbd63
      Oliver Sander authored
      The Chaco load balancing code has been remove years ago, but the code that
      parses argument strings for Chaco arguments was still there.  This patch
      cleans up the code, removing all obsolete load balancer options.
      82cdbd63
    • Oliver Sander's avatar
      Set the SideVector VCOUNT fields after load balancing · 7c656a8c
      Oliver Sander authored
      For each SideVector, the VCOUNT field stores how many elements reference
      the SideVector (2 or 1).  The VCOUNT field is apparently not touched
      during load balancing at all.  Therefore, if it was set properly before
      load balancing it is most likely screwed up afterwards, as elements have
      gained/lost neighbor elements.  This leads to strange segfaults much
      later.  Most notable was Dune FlySpray issue 810:
      
      https://dune-project.org/flyspray/index.php?do=details&task_id=810
      
      which was hacked around in the UGGrid Dune-UG interface class as early
      as 2010, in dune-grid commit 5e870eb04580e3279277ffdad917edf7c4dbae18
      
      This patch here now fixes the issue 'properly', within UG itself.
      It doesn't really do anything else than the UGGrid hack: after load balancing
      has been completed, rewrite all VCOUNT fields.  After some investigation
      I did not see any better way to obtain proper VCOUNT fields.  At least
      the code is in the best spot for this now.  Namely it is part of the
      method ConstructConsistentGridLevel.
      7c656a8c
    • Oliver Sander's avatar
      Hardwire the NEW_GRIDCONS_STYLE flag · bd0dd90d
      Oliver Sander authored
      It has been set ever since 1998.  I don't think we'll ever go back
      to the old style.
      bd0dd90d
    • Oliver Sander's avatar
      [cleanup] Remove the fields lb2 and lb3 from the 'element' structs · 61c1ff98
      Oliver Sander authored
      They were used by the Chaco mesh partitioner, but the Chaco code has
      been removed from the UG git tree a long time ago for license reasons.
      The lb2 and lb3 fields didn't have any purpose after that, but
      apparently this fact went unnoticed.  Now they have been removed,
      which should save 8 Bytes per element.
      61c1ff98
    • Oliver Sander's avatar
      [cleanup] Remove obsolete macros SIZEOF_REF and NULL_REF · 5038db3b
      Oliver Sander authored
      Those were only used in the fortran backend, which has been removed.
      5038db3b
  11. May 20, 2014
  12. May 17, 2014
  13. May 13, 2014
  14. May 12, 2014
Loading