Skip to content
Snippets Groups Projects
This project is mirrored from https://:*****@gitlab.opengeosys.org/ogs/ogs.git. Pull mirroring updated .
  1. Aug 14, 2024
    • Dmitri Naumov's avatar
      [PL] Revert ranges to for-range loop · 53321f24
      Dmitri Naumov authored
      Unfortunately with gcc-13.2.1 with optimizations there is a warning, which I was not able to correct.
      
          ...
          inlined from ‘std::vector<std::tuple<long int, std::reference_wrapper<ProcessLib::LocalAssemblerInterface> > > {anonymous}::collectActiveLocalAssemblers(const BaseLib::PolymorphicRandomAccessContainerView<ProcessLib::LocalAssemblerInterface>&, const std::vector<long unsigned int>&)’ at /var/lib/gitlab-runner/builds/F1XUyv4cx/1/ogs/ogs/ProcessLib/Assembly/ParallelVectorMatrixAssembler.cpp:132:62:
      /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:175:9: warning: iteration 576460752303423487 invokes undefined behavior [-Waggressive-loop-optimizations]
        175 |         while (__n--)
            |         ^~~~~
      /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:175:9: note: within this loop
      
      Other compilers gcc-14, clang-17 and 18, msvc had no problems with the
      former code.
      53321f24
    • Dmitri Naumov's avatar
      [PL] Add staggered scheme assembly to parallel asm · 1ef74151
      Dmitri Naumov authored
      This is mostly copy from the VectorMatrixAssembler.
      1ef74151
    • Dmitri Naumov's avatar
      [PL] Storing indices locally is measurably faster · 0a83ab32
      Dmitri Naumov authored
      A little bit :) 0.5% maybe. Measured on TRM/Mockup ctest.
      0a83ab32
    • Dmitri Naumov's avatar
      [PL] Extract common assembly loop in parallel asm · 1f17d3b3
      Dmitri Naumov authored
      This costs some memory (now element ids and local assembler references are stored)
      but simplifies the code. If local assemblers would return an element id,
      the code could be simplified further.
      1f17d3b3
    • Dmitri Naumov's avatar
      Add boolean conversion to ThreadException · cb5cf798
      Dmitri Naumov authored
      This slightly simplifies code avoiding extra boolean variable.
      cb5cf798
    • Dmitri Naumov's avatar
      [PL] pvma; remove single process restriction · 5cf9379c
      Dmitri Naumov authored
      This is not sufficient for the staggered scheme yet.
      5cf9379c
    • Dmitri Naumov's avatar
      [PL] Separate matrix output for M,K,b and J,b · 92f9d06e
      Dmitri Naumov authored
      Same as 3e9a70cd but for global matrices.
      
      A little code duplication in favor not to deal with pointers.
      92f9d06e
  2. Jul 17, 2024
  3. Apr 15, 2024
  4. Jan 02, 2024
  5. Aug 04, 2023
  6. May 10, 2023
  7. Apr 30, 2023
  8. Apr 26, 2023
Loading