adamantine-sim / adamantine

Software to simulate heat transfer for additive manufacturing
https://adamantine-sim.github.io/adamantine/
Other
34 stars 10 forks source link

Move computation of temperature powers out of MaterialProperty #178

Closed Rombur closed 1 year ago

Rombur commented 1 year ago

When using adiabatic boundary condition, the majority of the time is spent computing the powers of the temperature in order to evaluate material properties. Instead of computing the powers every time we need to get a material property, we compute them once and give them to MaterialProperty. While this improves performance a lot, computing the powers of the temperature is still the most expensive part of performing one time step.

Related to #172 CI