Commit 811143be authored by BRAMAS Berenger's avatar BRAMAS Berenger

use int because it is not morton index anymore in these functions

parent e289f1c7
......@@ -294,14 +294,14 @@ public:
}
/** Return the address of the cell if it exists (or NULL) */
CompositeCellClass getUpCell(const MortonIndex cellPos){
CompositeCellClass getUpCell(const int cellPos){
FAssertLF(cellMultipoles);
FAssertLF(cellPos < blockHeader->numberOfCellsInBlock);
return CompositeCellClass(&blockCells[cellPos], &cellMultipoles[cellPos], nullptr);
}
/** Return the address of the cell if it exists (or NULL) */
CompositeCellClass getDownCell(const MortonIndex cellPos){
CompositeCellClass getDownCell(const int cellPos){
FAssertLF(cellLocals);
FAssertLF(cellPos < blockHeader->numberOfCellsInBlock);
return CompositeCellClass(&blockCells[cellPos], nullptr, &cellLocals[cellPos]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment