Skip to content
Snippets Groups Projects
  1. Aug 31, 2017
  2. Aug 30, 2017
  3. Aug 24, 2017
  4. Aug 23, 2017
  5. Aug 15, 2017
  6. Aug 14, 2017
    • Ansgar Burchardt's avatar
      remove `fordune` variable · 69546199
      Ansgar Burchardt authored
      dune-uggrid is always built for DUNE.
      69546199
    • Ansgar Burchardt's avatar
      avoid warning about out-of-bound access when building 2D library · f5c6563b
      Ansgar Burchardt authored
      The code for volumes of tetrahedrons, pyramids and prisms should
      always use 3D coordinates as it is really independent of the grid
      dimension.
      
      This addresses a number of warnings from clang-4.0 similar to:
      
          dune-uggrid/gm/evm.cc:426:21: warning:
          array index 2 is past the end of the array (which contains 2 elements)
          [-Warray-bounds]
      f5c6563b
    • Ansgar Burchardt's avatar
      remove sometimes unused variable `old` · 683247b0
      Ansgar Burchardt authored
      The argument of `PRIO2INDEX` is only used in the parallel version of
      UG; building the sequential version would raise a warning about `old`
      being unused.
      
      This change eliminates the `old` variables.
      
      This addresses the following warning from gcc-7:
      
          dune-uggrid/gm/ugio.cc:1736:33: warning:
          variable ‘old’ set but not used [-Wunused-but-set-variable]
      683247b0
    • Ansgar Burchardt's avatar
      address compiler warnings about unused functions and variables · 754c6276
      Ansgar Burchardt authored
      This change addresses several warnings from gcc-7 about unused
      functions and variables:
      
          dune-uggrid/gm/algebra.cc:297:12: warning:
          ‘UG::INT DisposeIMatrices(UG::D3::GRID*, UG::D3::MATRIX*)’ declared ‘static’ but never defined [-Wunused-function]
      
          dune-uggrid/gm/algebra.cc:5056:13: warning:
          ‘void GetBVNumber(UG::D3::BLOCKVECTOR*, UG::INT*)’ defined but not used [-Wunused-function]
      
          dune-uggrid/gm/algebra.cc:5045:13: warning:
          ‘void GetBVNumberInGrid(UG::D3::GRID*, UG::INT*)’ defined but not used [-Wunused-function]
      
          dune-uggrid/gm/algebra.cc:5033:12: warning:
          ‘UG::INT CheckBVList(UG::D3::GRID*)’ defined but not used [-Wunused-function]
      
          dune-uggrid/gm/algebra.cc:5013:12: warning:
          ‘UG::INT CheckVectorList(UG::D3::GRID*)’ defined but not used [-Wunused-function]
      
          dune-uggrid/gm/algebra.cc:4981:12: warning:
          ‘UG::INT CheckConsistence(UG::D3::GRID*, char*)’ defined but not used [-Wunused-function]
      
          dune-uggrid/gm/algebra.cc:310:13: warning:
          ‘void CheckMatrixList(UG::D3::VECTOR*)’ defined but not used [-Wunused-function]
      
          dune-uggrid/gm/ugio.cc:2803:19: warning:
          variable ‘id’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/gm/ugm.cc:2540:9: warning:
          unused variable ‘q’ [-Wunused-variable]
      
          dune-uggrid/gm/ugm.cc:2707:22: warning:
          variable ‘NFather’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/gm/ugm.cc:4172:9: warning:
          variable ‘fineGrid’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/gm/ugm.cc:4424:8: warning:
          variable ‘theBVP’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/gm/ugm.cc:4425:13: warning:
          variable ‘theBVPDesc’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/gm/ugm.cc:5793:7: warning:
          unused variable ‘retval’ [-Wunused-variable]
      
          dune-uggrid/gm/ugm.cc:7347:8: warning:
          variable ‘theBVP’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/gm/ugm.cc:7214:13: warning:
          ‘void CalculateCenterOfMassOfSide(const ELEMENT*, int, UG::DOUBLE*, UG::DOUBLE*)’ defined but not used [-Wunused-function]
      
          dune-uggrid/gm/refine.cc:1367:9: warning:
          variable ‘NbSidePattern’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/gm/gmcheck.cc:1183:24: warning:
          variable ‘bserror’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/gm/er.cc:1777:15: warning:
          variable ‘nfound’ set but not used [-Wunused-but-set-variable]
      
          dune-uggrid/np/udm/udm.cc:3929:13: warning:
          variable ‘off’ set but not used [-Wunused-but-set-variable]
      754c6276
    • Ansgar Burchardt's avatar
      Merge branch 'bugfix/dim-indep-objects-should-only-be-in-one-library' into 'master' · 6ff6e1ed
      Ansgar Burchardt authored
      all dim-indep objects should be only in one library
      
      See merge request !66
      6ff6e1ed
    • Ansgar Burchardt's avatar
      all dim-indep objects should be only in one library · aaee18ca
      Ansgar Burchardt authored
      Variables from dim-indep objects would exist multiple times.  Which
      copy gets used depends on linker details.
      
      When I used dune-corepy on an old Ubuntu 14.04 installation, different
      copies of variables would be used in different places in the same
      program, causing the program to misbehave.
      
      This change moves all dim-indep objects into a single library which
      should avoid such problems.
      aaee18ca
  7. Aug 07, 2017
Loading