Personal tools
You are here: Home / cm / Wiki / Compacting id numbers
Navigation
Log in


Forgot your password?
 

Compacting id numbers

The cmiss backend (cm) uses a memory management model where it allocates all the memory it is going to need at once based on the node and element id numbers (is that right? yep - node and element numbers are simply indices into the various arrays rather than actual identitifiers).

This means that if you have a mesh with only 2 nodes numbered 10001,10002 then cm will allocate enough memory for 10002 nodes even though your problem has only 2 nodes. Therefore to minimise the memory required by the backend it is necessary to renumber nodes and elements so that the id numbers are in a contiguous block starting at 1.

This can be done with the front end command gfx change_identifier.