Nature Language: allocateHaloexchangeData:Allocate memory for the main data arrays in the haloexchange.
  
CPP: int allocateHaloexchangeData(int sizeofBuffer){\n    leftSendBuf = (int *)malloc(sizeofBuffer * sizeof(int));\n    leftRecvBuf = (int *)malloc(sizeofBuffer * sizeof(int));\n    rightSendBuf = (int *)malloc(sizeofBuffer * sizeof(int));\n    rightRecvBuf = (int *)malloc(sizeofBuffer * sizeof(int));\n    finalLeftBuf = (int *)malloc(sizeofBuffer * sizeof(int));\n    finalRightBuf = (int *)malloc(sizeofBuffer * sizeof(int));\n\n    return 0;\n}",
  
Fortran: SUBROUTINE allocateData(bufferSize)\ninteger, intent(in) :: bufferSize\n\nallocate(leftSendBuf(bufferSize), leftRecvBuf(bufferSize))\nallocate(rightSendBuf(bufferSize), rightRecvBuf(bufferSize))\nallocate(finalLeftBuf(bufferSize), finalRightBuf(bufferSize))\n\nEND SUBROUTINE allocateData
  