Kratos Multiphysics Forums

General => Proposals and Complaints => Topic started by: Udaya Kumar Sajja on April 13, 2018, 04:33:00 PM

Title: Is it good to add a data value container member in constitutive law class?
Post by: Udaya Kumar Sajja on April 13, 2018, 04:33:00 PM
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.
Title: Re: Is it good to add a data value container member in constitutive law class?
Post by: Miguel Angel Celigueta on April 13, 2018, 06:48:09 PM
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