/usr/include/trilinos/Zoltan_MigrationContainer.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 | //-------------------------------------------------------------------------
// Copyright Notice
//
// Copyright (c) 2000, Sandia Corporation, Albuquerque, NM.
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
// Filename : $Zoltan_MigrationContainer.h$
//
// Purpose : Static Container object to allow Static (C-style)
// functions to access methods of dynamic objects.
//
// Special Notes :
//
// Creator : Robert J. Hoekstra
//
// Creation Date : 08/04/2000
//
// Revision Information:
// ---------------------
//
// Revision Number: $$
//
// Revision Date : $$
//
// Current Owner : $$
//-------------------------------------------------------------------------
#ifndef ZOLTAN_MIGRATIONCONTAINER_H_
#define ZOLTAN_MIGRATIONCONTAINER_H_
#include <EpetraExt_ConfigDefs.h>
#include <map>
namespace Zoltan {
class MigrationObject;
class MigrationContainer
{
public:
static void setMigrationID( const int & id );
static const int & getMigrationID();
static bool registerMigrationObject( const int & id,
MigrationObject * obj_ptr );
static MigrationObject * getMigrationObject( const int & id );
private:
static int CurrentObject;
static std::map< int, MigrationObject * > StaticMap;
};
} //namespace Zoltan
#endif
|