[vtk-developers] vtkCommunicator missing 64-bit methods?

Berk Geveci berk.geveci at kitware.com
Fri Mar 30 07:50:34 EDT 2007


I am not sure I understand whether you will completely remove
vtkIdType signatures or replace them when VTK_USE_64BIT_IDS is turned
on. Can you show the part of .h you are planning to change?

-berk

On 3/30/07, Thompson, David C <dcthomp at sandia.gov> wrote:
>
>
>
> Hey everybody,
>
>  I recently noticed that vtkCommunicator (and its two
>  descendants vtkMPICommunicator and vtkSocketCommunicator)
>  were missing Send() and Receive() methods for 64-bit
>  integer arrays. I would like to add these methods to the
>  3 classes for both vtkTypeInt64 and vtkTypeUInt64. I have
>  a working implementation for vtkTypeUInt64, but the signed
>  integer version is a little trickier because if
>  VTK_USE_64BIT_IDS is turned on, these methods are defined:
>
>  virtual int Send( vtkIdType* data, int length, int remoteHandle, int tag );
>  virtual int Receive( vtkIdType* data, int length, int remoteHandle, int tag
> );
>
>  If I replace the above with
>
>  virtual int Send( vtkTypeInt64* data, int length, int remoteHandle, int tag
> );
>  virtual int Receive( vtkTypeInt64* data, int length, int remoteHandle, int
> tag );
>
>  whenever 64-bit integer types exist, will that cause
>  problems (i.e., are there compilers which can't resolve
>  that a 64-bit vtkIdType and vtkTypeInt64 are identical)?
>
>      Comments? Objections?
>      David
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>


-- 
 Berk Geveci
 Kitware Inc.
 28 Corporate Drive
 Clifton Park, NY, 12065



More information about the vtk-developers mailing list