Closed Rombur closed 6 months ago
Use if constexpr (use_table) in compute_material_property. This gives us a noticeable speed up. I didn't template all of MaterialProperty on use_table because the other functions don't show up in the profiling and this keeps the code easier.
if constexpr (use_table)
compute_material_property
MaterialProperty
use_table
Retest this please
The CI is struggling today :-/
Use
if constexpr (use_table)
incompute_material_property
. This gives us a noticeable speed up. I didn't template all ofMaterialProperty
onuse_table
because the other functions don't show up in the profiling and this keeps the code easier.