Skip to content

HydroThermal and ComponentTransport: Use shape matrix cache

Since the shape function is constant per mesh element type, it is sufficient to store the shape function once per element type in a cache. Such a cache was/is already implemented and is used for HT and ComponentTransport processes in this MR.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added? - existing tests passes
  3. Any new feature or behaviour change was documented? - behaviour didn't change

Memory measurements HT process

The memory consumption was measured using a unit cube domain with 10^6 hexahedra.

Hydro-thermal current master with shape matrix cache
peak memory consumption [GB] 11.7 11.1
IP data memory consumption [GB] 2.3 1.8

Memory measurements ComponentTransport process

The memory consumption was measured using the project file open_boundary_component-transport_cube.prj with adjustments to unit cube domain with 10^6 hexahedra.

ComponentTransport current master with shape matrix cache
peak memory consumption [GB] 11.9 11.4
IP data memory consumption [GB] 2.3 1.8
Edited by Tom Fischer

Merge request reports