Forums
Hello.
I would like to use the young's modulus that is imported by the user when describing a particle.
What would be the easiest way to access this value?
From looking at fix_check_timestep, I know I want to use
Y = static_cast(modify->find_fix_property("youngsModulus","property/global","peratomtype",max_type,0,style));
but I do not know what style is in this sense.
debug parameter
style(i.e. the fix style name) is not really important here. It is just used in case of an error to notify the user which class was calling thefind_fix_propertymethod.You could for example also use the ID of the calling fix instance ...
In reply to debug parameter by Daniel Queteschiner
Thank you!
Thanks for the help.