OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
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
24template<class T, unsigned Dim, class M, class C> class Field;
25template<class T> class ParticleAttrib;
26template<class PLayout> class IpplParticleBase;
28class DataConnect;
29
30
31// a version of make_DataSourceObject for Field's.
32// arguments: name, connection type, transfer metohd, Field
33template<class T, unsigned Dim, class M, class C>
36
37
38// a version of make_DataSourceObject for ParticleAttrib's.
39// arguments: name, connection type, transfer method, ParticleAttrib
40template<class T>
43
44
45// a version of make_DataSourceObject for ParticleAttrib's.
46// arguments: name, connection type, transfer method, IpplParticleBase
47template<class PLayout>
50
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 ***************************************************************************/
DataSourceObject * make_DataSourceObject(const char *, DataConnect *, int, Field< T, Dim, M, C > &)
Definition: Field.h:33