OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ippl
src
FieldLayout
FieldLayoutUser.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/***************************************************************************
3
*
4
* The IPPL Framework
5
*
6
*
7
* Visit http://people.web.psi.ch/adelmann/ for more details
8
*
9
***************************************************************************/
10
11
#ifndef FIELD_LAYOUT_USER_H
12
#define FIELD_LAYOUT_USER_H
13
14
/***********************************************************************
15
*
16
* FieldLayoutUser is a base class for all classes which need to use
17
* a FieldLayout - it is derived from User, which provides a virtual
18
* function 'notifyUserOfDelete' which is called when the FieldLayout
19
* is deleted, and the virtual function 'Repartition' which is called
20
* when a Field needs to be redistributed between processors.
21
*
22
***********************************************************************/
23
24
// include files
25
#include "
Utility/User.h
"
26
#include "
Utility/UserList.h
"
27
28
29
// class definition
30
class
FieldLayoutUser
:
public
User
{
31
32
public
:
33
// constructor - the base class selects a unique ID value
34
FieldLayoutUser
();
35
36
// destructor, nothing to do here
37
virtual
~FieldLayoutUser
();
38
39
//
40
// virtual functions for FieldLayoutUser's
41
//
42
43
// Repartition onto a new layout
44
virtual
void
Repartition
(
UserList
*) = 0;
45
};
46
47
#endif // FIELD_LAYOUT_USER_H
48
49
/***************************************************************************
50
* $RCSfile: FieldLayoutUser.h,v $ $Author: adelmann $
51
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:27 $
52
* IPPL_VERSION_ID: $Id: FieldLayoutUser.h,v 1.1.1.1 2003/01/23 07:40:27 adelmann Exp $
53
***************************************************************************/
User.h
UserList
Definition:
UserList.h:37
FieldLayoutUser::Repartition
virtual void Repartition(UserList *)=0
UserList.h
FieldLayoutUser
Definition:
FieldLayoutUser.h:30
User
Definition:
User.h:31
FieldLayoutUser::FieldLayoutUser
FieldLayoutUser()
Definition:
FieldLayoutUser.cpp:32
FieldLayoutUser::~FieldLayoutUser
virtual ~FieldLayoutUser()
Definition:
FieldLayoutUser.cpp:37
Generated on Sat Jan 4 2020 14:47:36 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5