September 1, 2023 at 6:25 pm
Subscriber
Update:
I tried it on older versions of Ansys, such as 18 and 19, with the same outcome.
I also used THREAD_STORAGE(t, SV_...))) to test whether the memory has already been allocated as follows:
if (THREAD_STORAGE(t,SV_U_M2) == NULL)
{
Error("error THREAD_STORAGE SV_U_M2");
}
and it produced the error. So, it means that memory is not allocated for this macro.
A question, Am I the only one that gets this problem? Would somebody please confirm that any _M2 macros work?