void *dest = (void*)(field+linear); memcpy(dest,(const void*)buf,count*sizeof(T));
template<class T> void QDPFactoryPut(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 *dest = (void*)&(field->elem(linear));#if 0  int size = sizeof(field->elem(Layout::linearSiteIndex(coord)));#endif  memcpy(dest,buf,count);}