void *src = (void*)(field+linear); memcpy(buf,(const void*)src,count*sizeof(T));
template< class T> void QDPFactoryGet(char *buf, size_t linear, size_t count, void *arg){  /* Translate arg */  T *field = (T *)arg;#if 0  /* We expect the data belongs to our node */  multi1d<int> coord(Nd);  coord = crd;  if (Layout::nodeNumber(coord) != Layout::nodeNumber())  {    buf = '\0';    return;  }#endif  void *src = (void*)&(field->elem(linear));#if 0  size_t size = sizeof(field->elem(Layout::linearSiteIndex(coord))); #endif  // cout << "Size = " << size << endl;  memcpy(buf,(const void *)src,count);}