-
- Downloads
Add ItemId mechanism
Now ItemValue are indexed by ItemId. This means that for instance, one can only access to NodeValue using a node number: using another item type number will fail to compile, as well as using an integral type (int, size_t,...). This is a zero cost developing helper. It remains to clean some data structures to ease even more coding.
Showing
- src/main.cpp 1 addition, 1 deletionsrc/main.cpp
- src/mesh/Connectivity.cpp 5 additions, 5 deletionssrc/mesh/Connectivity.cpp
- src/mesh/ConnectivityComputer.cpp 1 addition, 1 deletionsrc/mesh/ConnectivityComputer.cpp
- src/mesh/GmshReader.cpp 3 additions, 3 deletionssrc/mesh/GmshReader.cpp
- src/mesh/ItemId.hpp 78 additions, 0 deletionssrc/mesh/ItemId.hpp
- src/mesh/ItemValue.hpp 15 additions, 3 deletionssrc/mesh/ItemValue.hpp
- src/mesh/MeshData.hpp 24 additions, 22 deletionssrc/mesh/MeshData.hpp
- src/mesh/MeshNodeBoundary.hpp 6 additions, 6 deletionssrc/mesh/MeshNodeBoundary.hpp
- src/mesh/SubItemValuePerItem.hpp 27 additions, 5 deletionssrc/mesh/SubItemValuePerItem.hpp
- src/output/VTKWriter.hpp 3 additions, 3 deletionssrc/output/VTKWriter.hpp
- src/scheme/AcousticSolver.hpp 17 additions, 18 deletionssrc/scheme/AcousticSolver.hpp
- src/scheme/BlockPerfectGas.hpp 10 additions, 10 deletionssrc/scheme/BlockPerfectGas.hpp
- src/scheme/FiniteVolumesEulerUnknowns.hpp 7 additions, 7 deletionssrc/scheme/FiniteVolumesEulerUnknowns.hpp
- src/utils/Array.hpp 2 additions, 1 deletionsrc/utils/Array.hpp
- src/utils/ArrayUtils.hpp 4 additions, 2 deletionssrc/utils/ArrayUtils.hpp
Loading
Please register or sign in to comment