OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ippl
src
DataSource
MakeDataSource.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 MAKE_DATA_SOURCE_H
12
#define MAKE_DATA_SOURCE_H
13
14
/***********************************************************************
15
*
16
* make_DataSourceObject is essentially a factory function
17
* for producing different specific types of DataSourceObjects.
18
* It asks the IpplInfo object which type of data source to
19
* use, and then makes the appropriate DataSourceObject subclass.
20
*
21
***********************************************************************/
22
23
// forward declarations
24
template
<
class
T,
unsigned
Dim,
class
M,
class
C>
class
Field
;
25
template
<
class
T>
class
ParticleAttrib
;
26
template
<
class
PLayout>
class
IpplParticleBase
;
27
class
DataSourceObject
;
28
class
DataConnect
;
29
30
31
// a version of make_DataSourceObject for Field's.
32
// arguments: name, connection type, transfer metohd, Field
33
template
<
class
T,
unsigned
Dim,
class
M,
class
C>
34
DataSourceObject
*
35
make_DataSourceObject
(
const
char
*,
DataConnect
*,
int
,
Field<T,Dim,M,C>
&);
36
37
38
// a version of make_DataSourceObject for ParticleAttrib's.
39
// arguments: name, connection type, transfer method, ParticleAttrib
40
template
<
class
T>
41
DataSourceObject
*
42
make_DataSourceObject
(
const
char
*,
DataConnect
*,
int
,
ParticleAttrib<T>
&);
43
44
45
// a version of make_DataSourceObject for ParticleAttrib's.
46
// arguments: name, connection type, transfer method, IpplParticleBase
47
template
<
class
PLayout>
48
DataSourceObject
*
49
make_DataSourceObject
(
const
char
*,
DataConnect
*,
int
,
IpplParticleBase<PLayout>
&);
50
51
#include "
DataSource/MakeDataSource.hpp
"
52
53
#endif // MAKE_DATA_SOURCE_H
54
55
/***************************************************************************
56
* $RCSfile: MakeDataSource.h,v $ $Author: adelmann $
57
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:25 $
58
* IPPL_VERSION_ID: $Id: MakeDataSource.h,v 1.1.1.1 2003/01/23 07:40:25 adelmann Exp $
59
***************************************************************************/
make_DataSourceObject
DataSourceObject * make_DataSourceObject(const char *, DataConnect *, int, Field< T, Dim, M, C > &)
Definition:
MakeDataSource.hpp:53
IpplParticleBase
Definition:
MakeDataSource.h:26
DataConnect
Definition:
DataConnect.h:32
ParticleAttrib
Definition:
MakeDataSource.h:25
DataSourceObject
Definition:
DataSourceObject.h:53
Field
Definition:
FieldDataSource.h:38
MakeDataSource.hpp
Generated on Tue Jul 2 2024 15:05:13 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5