ZoneCopy.cpp File Reference

#include <cstring>
#include <ZoneCopy.hpp>

Include dependency graph for ZoneCopy.cpp:

Go to the source code of this file.

Defines

#define CONST_ZONE_COPY(T)
#define ZONE_COPY(T)

Functions

 CONST_ZONE_COPY (real_t)
 ZONE_COPY (real_t)
 CONST_ZONE_COPY (int)
 ZONE_COPY (int)


Define Documentation

#define CONST_ZONE_COPY (  ) 

Value:

inline void ZoneCopy(T* const destination,      \
                     const T* const source,     \
                     size_t size)               \
{                                               \
  std::memcpy(static_cast<void*>(destination),  \
              static_cast<const void*>(source), \
              size*sizeof(T));                  \
}

Definition at line 24 of file ZoneCopy.cpp.

#define ZONE_COPY (  ) 

Value:

inline void ZoneCopy(T* const destination,      \
                     T* const source,           \
                     size_t size)               \
{                                               \
  std::memcpy(static_cast<void*>(destination),  \
              static_cast<void*>(source),       \
              size*sizeof(T));                  \
}

Definition at line 34 of file ZoneCopy.cpp.


Function Documentation

CONST_ZONE_COPY ( int   ) 

CONST_ZONE_COPY ( real_t   ) 

ZONE_COPY ( int   ) 

ZONE_COPY ( real_t   ) 


Generated on Wed Nov 19 00:03:59 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6