user-defined memory
Hi,
I am wondering if there is a way to store a real value in a user-defined memory location without using C_UDMI or F_UDMI. This value is just one number and not a field value. In order to get it I have to loop through cells, but I only want to do this once on the initialization, and not each iteration. This should be available as it uses an insignificant amount of resources. Thanks, Mark |
Re: user-defined memory
I believe that if you wish to store real value for every cell or face within a cell or face loop you will need to use a C_UDMI or F_UDMI. If you wish to use it for only one iteration then you could use the N_INIT (I think) command. If you are only using it during initalisation, then incoroprate it into a DEFINE_INIT subroutine. Then it will only be called during initialization.
|
Re: user-defined memory
Yes, I could use the DEFINE_INIT command to calculate my value (perform a lengthy cell loop), but how can I pass this value along to a routine that is to execute every iteration?
Thanks Mark |
All times are GMT -4. The time now is 15:33. |