/usr/include/trilinos/Zoltan_MigrationFunctions.h is in libtrilinos-dev 10.4.0.dfsg-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | //-------------------------------------------------------------------------
// Copyright Notice
//
// Copyright (c) 2000, Sandia Corporation, Albuquerque, NM.
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
// Filename : $Zoltan_MigrationFunctions.h$
//
// Purpose : Static methods which are directly registered with
// Zoltan. They us the static container to access
// the dynamic object methods.
//
// Special Notes :
//
// Creator : Robert J. Hoekstra, Parallel Computational Sciences
//
// Creation Date : 08/04/2000
//
// Revision Information:
// ---------------------
//
// Revision Number: $Revision$
//
// Revision Date : $Date$
//
// Current Owner : $Author$
//-------------------------------------------------------------------------
#ifndef ZOLTAN_MIGRATIONFUNCTIONS_H_
#define ZOLTAN_MIGRATIONFUNCTIONS_H_
#include <EpetraExt_ConfigDefs.h>
#include <zoltan.h>
namespace Zoltan {
class MigrationFunctions
{
public:
static int Object_Size ( void * data,
int num_gid_entries,
int num_lid_entries,
ZOLTAN_ID_PTR global_id,
ZOLTAN_ID_PTR local_id,
int * ierr );
static void Pre_Migrate ( void * data,
int num_gid_entries,
int num_lid_entries,
int num_import,
ZOLTAN_ID_PTR import_global_ids,
ZOLTAN_ID_PTR import_local_ids,
int * import_procs,
int num_export,
ZOLTAN_ID_PTR export_global_ids,
ZOLTAN_ID_PTR export_local_ids,
int * export_procs,
int * ierr );
static void Mid_Migrate ( void * data,
int num_gid_entries,
int num_lid_entries,
int num_import,
ZOLTAN_ID_PTR import_global_ids,
ZOLTAN_ID_PTR import_local_ids,
int * import_procs,
int num_export,
ZOLTAN_ID_PTR export_global_ids,
ZOLTAN_ID_PTR export_local_ids,
int * export_procs,
int * ierr );
static void Post_Migrate ( void * data,
int num_gid_entries,
int num_lid_entries,
int num_import,
ZOLTAN_ID_PTR import_global_ids,
ZOLTAN_ID_PTR import_local_ids,
int * import_procs,
int num_export,
ZOLTAN_ID_PTR export_global_ids,
ZOLTAN_ID_PTR export_local_ids,
int * export_procs,
int * ierr );
static void Pack_Object ( void * data,
int num_gid_entries,
int num_lid_entries,
ZOLTAN_ID_PTR global_id,
ZOLTAN_ID_PTR local_id,
int destination_processor,
int size,
char * buffer,
int * ierr );
static void Unpack_Object ( void * data,
int num_gid_entries,
ZOLTAN_ID_PTR global_id,
int size,
char * buffer,
int * ierr );
};
} //namespace Zoltan
#endif
|