software-design

Memory layout for mesh data in scientific computing

Hello, I am developing a Finite Element System. As usual, the simulation consists of set of mesh nodes, each with a set of properties (floating-points), like for example several material properties, coordinates or physical quantities that evolve within time. You can either employ two extreme approaches: Property-wise: Maintain a sing...