Skip to content
Snippets Groups Projects
Select Git revision
  • feature/kinetic-schemes
  • feature/reconstruction
  • feature/local-dt-fsi
  • feature/composite-scheme-sources
  • feature/composite-scheme-other-fluxes
  • feature/serraille
  • feature/variational-hydro
  • develop default protected
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • master protected
  • feature/escobar-smoother
  • feature/hypoelasticity-clean
  • feature/hypoelasticity
  • v0.5.0 protected
  • v0.4.1 protected
  • v0.4.0 protected
  • v0.3.0 protected
  • v0.2.0 protected
  • v0.1.0 protected
  • Kidder
  • v0.0.4 protected
  • v0.0.3 protected
  • v0.0.2 protected
  • v0 protected
  • v0.0.1 protected
32 results

SubItemValuePerItem.hpp

Blame
    • Stéphane Del Pino's avatar
      e5173a94
      Improve elements access checking · e5173a94
      Stéphane Del Pino authored
      Now one checks that A(i,j) is accessed with i being the correct
      ItemId and j being an integral type. This avoids access such as
      - A(i,j) with i being an integral type
      - A(i,j) with j being an ItemId
      
      Also add bounds checking for the second index `j` (previously the only
      bound checking was if (i,j) was in the scope of the data set, checked
      by Kokkos). One also check that `i` is a correct ItemId value, it was
      not checked in all cases.
      e5173a94
      History
      Improve elements access checking
      Stéphane Del Pino authored
      Now one checks that A(i,j) is accessed with i being the correct
      ItemId and j being an integral type. This avoids access such as
      - A(i,j) with i being an integral type
      - A(i,j) with j being an ItemId
      
      Also add bounds checking for the second index `j` (previously the only
      bound checking was if (i,j) was in the scope of the data set, checked
      by Kokkos). One also check that `i` is a correct ItemId value, it was
      not checked in all cases.