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.
Daniel Queteschiner | Mon, 10/07/2019 - 14:41
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_property
method.You could for example also use the ID of the calling fix instance ...
mschramm | Mon, 10/07/2019 - 17:50
Thank you!
Thanks for the help.