Skip to content
Snippets Groups Projects
  • Andreas Dedner's avatar
    52a4230d
    new debug structure introduced: · 52a4230d
    Andreas Dedner authored
    - instead of #ifndef NDEBUG
      now use #ifdef ALUGRIDDEBUG
    - istead of assert( cond );
      now use alugrid_assert ( cond );
      (from dune/alugrid/common/alugrid_assert.hh)
    So instead of having to define NDEBUG to avoid debug code being executed
    (improves performance by 60%) one always avoids debug code as long as
    ALUGRIDDEBUG has not been define.
    52a4230d
    History
    new debug structure introduced:
    Andreas Dedner authored
    - instead of #ifndef NDEBUG
      now use #ifdef ALUGRIDDEBUG
    - istead of assert( cond );
      now use alugrid_assert ( cond );
      (from dune/alugrid/common/alugrid_assert.hh)
    So instead of having to define NDEBUG to avoid debug code being executed
    (improves performance by 60%) one always avoids debug code as long as
    ALUGRIDDEBUG has not been define.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.