PPL Logo

libs/ck-libs/netfem/netfem_data.C File Reference

Go to the source code of this file.

Functions

void * pack (NetFEM_update &u, int *len)
 Return a malloc'd buffer containing our data in (*len) bytes.
void unpack (NetFEM_update &u, const void *buf, int bufLen)


Function Documentation

void* pack ( NetFEM_update u,
int len 
)

Return a malloc'd buffer containing our data in (*len) bytes.

The buffer must be free'd when done.

Definition at line 12 of file netfem_data.C.

References malloc(), p, NetFEM_update::pup(), and PUP_toNetwork4_sizer::size().

Referenced by Moc_Diffusion(), and PUPbytes().

void unpack ( NetFEM_update u,
const void *  buf,
int  bufLen 
)

Definition at line 24 of file netfem_data.C.

References p, and NetFEM_update::pup().

Referenced by CkCopyMsg(), Moc_Diffusion(), PUPbytes(), and searchResults::unpack().


Generated on Sat May 26 08:08:09 2012 for Charm++ by  doxygen 1.5.5