Thank you all for the explanations. Maybe I should rewrite my question. What I want to do is to have a local index sets and global index sets only for the grid leaf. for the local index set. I think using the the function leafIndexSet() is OK. But how to get a global index set(consecutive of course). Any suggestions to do that? Hua