1. 11 Jan, 2020 1 commit
  2. 07 Jan, 2020 1 commit
  3. 20 Dec, 2019 4 commits
    • Christoph Grüninger's avatar
      [!146] Bump to version 2.8 · ef315063
      Christoph Grüninger authored
      Merge branch 'feature/bump-to-2.8' into 'master'
      
      See merge request [!146]
      
        [!146]: Nonestaging/dune-uggrid/merge_requests/146
      ef315063
    • Christoph Grüninger's avatar
      Bump to version 2.8 · de93042a
      Christoph Grüninger authored
      de93042a
    • Oliver Sander's avatar
      [!145] Remove obsolete write access to amg grid levels · 6bc33ed7
      Oliver Sander authored
      Merge branch 'remove-obsolete-amglevel-access' into 'master'
      
      ref:staging/dune-uggrid The UG3 multigrid data structure used to have an array
      'amggrids' with grid levels for AMG. That array is long gone, but it was still
      overwritten with nullptrs in the multigrid setup code. A serious memory bug,
      and I am amazed that nobody ever observed any effects.
      
      See merge request [!145]
      
        [!145]: gitlab.dune-project.org/staging/dune-uggrid/merge_requests/145
      6bc33ed7
    • Oliver Sander's avatar
      Remove obsolete write access to amg grid levels · 54e2287d
      Oliver Sander authored
      The UG3 multigrid data structure used to have an array 'amggrids'
      with grid levels for AMG.  That array is long gone, but it was
      still overwritten with nullptrs in the multigrid setup code.
      A serious memory bug, and I am amazed that nobody ever observed
      any effects.
      54e2287d
  4. 14 Dec, 2019 1 commit
    • Oliver Sander's avatar
      [!143] Feaure/dont use ug symlinks · 1766c59e
      Oliver Sander authored
      Merge branch 'feaure/dont-use-ug-symlinks' into 'master'
      
      ref:staging/dune-uggrid The hack to have every sub-directory in the include
      path does no longer work for me. Time to get it fixed by making the include
      paths relative to dune-uggrid root directory.
      
      -   include paths relative to dune-uggrid root directory
      -   move header files below dune/uggrid/.
      -   drop folder ug/ and compatibility with UG 3.13.
      
      Supersedes [!137] Fixes [#13]
      
      See merge request [!143]
      
        [!137]: gitlab.dune-project.org/NoneNone/merge_requests/137
        [#13]: gitlab.dune-project.org/NoneNone/issues/13
        [!143]: gitlab.dune-project.org/staging/dune-uggrid/merge_requests/143
      
      
      Closes #13
      1766c59e
  5. 13 Dec, 2019 2 commits
  6. 04 Dec, 2019 20 commits
  7. 28 Nov, 2019 3 commits
  8. 19 Nov, 2019 8 commits
    • Oliver Sander's avatar
      [!127] Fix warnings unused function · edf4d675
      Oliver Sander authored
      Merge branch 'fix_warnings_unused_function' into 'master'
      
      ref:staging/dune-uggrid Added preprocessor if-conditions and commented out
      some unused functions to avoid compiler warnings made by CI test
      "gcc-7-14-sequential".
      
      See merge request [!127]
      
        [!127]: gitlab.dune-project.org/staging/dune-uggrid/merge_requests/127
      edf4d675
    • Henrik Stolzmann's avatar
      Fixed warning: "unused-function" "CheckNodeContext" · 0efc9725
      Henrik Stolzmann authored
      Deleted the function "CheckNodeContext" because it was not used in.
      ````
      static INT CheckNodeContext (ELEMENT *theElement, NODE ** NodeContext)
      {
        INT i, mark,nor,noc;
      
        mark = MARK(theElement);
        for (i=CORNERS_OF_ELEM(theElement); i<CORNERS_OF_ELEM(theElement)+EDGES_OF_ELEM(th       eElement); i++)
        {
          if (NODE_OF_RULE(theElement,mark,i-CORNERS_OF_ELEM(theElement))) nor = 1;
          else nor = 0;
          if(NodeContext[i]!=NULL) noc = 1;
          else noc = 0;
          if(nor!=noc)
            if (GetNodeContext(theElement,NodeContext)) REP_ERR_RETURN(1);
        }
        for (; i<CORNERS_OF_ELEM(theElement)+EDGES_OF_ELEM(theElement)+SIDES_OF_ELEM(theEl       ement); i++)
          if (NodeContext[i]!=NULL)
            if (GetNodeContext(theElement,NodeContext)) REP_ERR_RETURN(1);
      
        return (0);
      }
      ````
      0efc9725
    • Henrik Stolzmann's avatar
      Fixed warning: "unused-function" caused by "CheckLocalElementKeys" · 87031df0
      Henrik Stolzmann authored
      Deleted the definition of "CheckLocalElementKeys" for the case
      ````
      !(MGIO_DEBUG>0)
      ````
      because all uses in this file are contained in a preprocessor if condtion ensuring
      that
      ````
      MGIO>0
      ````
      87031df0
    • Henrik Stolzmann's avatar
      Deleted function "PrintEdgeInfo" as agreed. · 20d0629d
      Henrik Stolzmann authored
      The function was not needed.
      20d0629d
    • Henrik Stolzmann's avatar
      Fixed warning: "unused-function" caused by "Write_RefRules" · 4e66145e
      Henrik Stolzmann authored
      Added a preprocessor if condition around the definition of
      "Write_RefRules" because it is used in such an environment.
      ````
      static INT Write_RefRules (MULTIGRID *theMG, INT *RefRuleOffset, INT MarkKey)
      {
        ...
      }
      ````
      
      Furthermore there is a comment adressing the only use of "Write_RefRules".
      
      ````
      /* TODO (HRR 971209): drop old call of Write_RefRules */
        #if EXTRACT_RULES
      if (NEW_Write_RefRules(theMG,rr_rule_offsets,MarkKey,&rr_rules)) REP_ERR_RETURN(1)       ;
            #else
      if (Write_RefRules(theMG,rr_rule_offsets,MarkKey)) REP_ERR_RETURN(1);
            #endif
      ````
      But i am not sure whether "Write_RefRules" is still needed.
      4e66145e
    • Henrik Stolzmann's avatar
      Fixed warning: "unused-function" "FillSonPaths" · 83559ffd
      Henrik Stolzmann authored
      Added a preprocessor if conditon around the definition of "FillSonPaths"
      because the only use in this file is contained in such an if condition.
      ````
       #ifdef __THREEDIM__
      static void FillSonPaths (MGIO_RR_RULE *rule)
      {
      
       ...
      
      }
       #endif
      ````
      
      ````
              #ifdef __THREEDIM__
        /* 2D: not even in rm */
        /* son path */
        FillSonPaths(mr);
              #endif
      ````
      83559ffd
    • Henrik Stolzmann's avatar
      Fixed warning: "unused-function" for "RuleCompare" · cf8fcc15
      Henrik Stolzmann authored
      I added a preprocessor if-condition to the definition of "RuleCompare"
      because the only use in "gm/er.cc" is contained in such an environment in line 698
      
      ````
       #ifdef __DEBUG_ER__
      static INT RuleCompare (int id, const URULE *ur, const ERULE *er)
      {
        ...
      }
       #endif
      ````
      
      ````
              #ifdef __DEBUG_ER__
        ...
        RuleCompare(ID(elem),ur,er);
        ...
              #endif
      ````
      cf8fcc15
    • Henrik Stolzmann's avatar
      Fixed a compiler warning: "unused function" · d36a00ab
      Henrik Stolzmann authored
      I added a preprocessor environment to contain the definiton of the
      function: "CheckElementContextConsistency"
      
      ````
       #ifdef Debug
      static void CheckElementContextConsistency( arguments )
      {
      
       ...
      
      }
       #endif
      ````
      because the following use of the function is also contained in such an
      environment.
      d36a00ab