Author Topic: Is it good to add a data value container member in constitutive law class?  (Read 175 times)

Udaya Kumar Sajja

  • Newbie
  • *
  • Posts: 1
How about having a placeholder for a data value container in constitutive law and define a default behavior for GetValue() and SetValue() functions rather than leaving them virtual? Doesn't it help avoid duplication of code and repetitive calculation while defining the constitutive laws on custom applications side? This probably could save on computational time with some memory overhead.

Miguel Angel Celigueta

  • Administrator
  • Newbie
  • *****
  • Posts: 38
Hi Udaya,
Could you post this question as an Issue on GitHub? I think very few people keep looking at the Forum.
https://github.com/KratosMultiphysics/Kratos/issues
Thanks,
Miguel