OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ippl
src
DataSource
ScalarDataSource.hpp
Go to the documentation of this file.
1
// -*- C++ -*-
2
/***************************************************************************
3
*
4
* The IPPL Framework
5
*
6
* This program was prepared by PSI.
7
* All rights in the program are reserved by PSI.
8
* Neither PSI nor the author(s)
9
* makes any warranty, express or implied, or assumes any liability or
10
* responsibility for the use of this software
11
*
12
* Visit www.amas.web.psi for more details
13
*
14
***************************************************************************/
15
16
// -*- C++ -*-
17
/***************************************************************************
18
*
19
* The IPPL Framework
20
*
21
*
22
* Visit http://people.web.psi.ch/adelmann/ for more details
23
*
24
***************************************************************************/
25
26
// include files
27
#include "
DataSource/ScalarDataSource.h
"
28
#include "
DataSource/MakeDataSource.h
"
29
#include "
DataSource/DataConnect.h
"
30
31
33
// a virtual function which is called by this base class to get a
34
// specific instance of DataSourceObject based on the type of data
35
// and the connection method (the argument to the call).
36
template
<
class
T>
37
DataSourceObject
*
ScalarDataSource<T>::createDataSourceObject
(
const
char
*nm,
DataConnect
*dc,
int
tm) {
38
return
make_DataSourceObject
(nm, dc, tm, *
this
);
39
}
40
41
42
43
44
/***************************************************************************
45
* $RCSfile: ScalarDataSource.cpp,v $ $Author: adelmann $
46
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:25 $
47
* IPPL_VERSION_ID: $Id: ScalarDataSource.cpp,v 1.1.1.1 2003/01/23 07:40:25 adelmann Exp $
48
***************************************************************************/
DataConnect.h
ScalarDataSource::createDataSourceObject
DataSourceObject * createDataSourceObject(const char *, DataConnect *, int)
Definition:
ScalarDataSource.hpp:37
make_DataSourceObject
DataSourceObject * make_DataSourceObject(const char *, DataConnect *, int, Field< T, Dim, M, C > &)
Definition:
MakeDataSource.hpp:45
DataSourceObject
Definition:
DataSourceObject.h:53
ScalarDataSource.h
DataConnect
Definition:
DataConnect.h:32
MakeDataSource.h
Generated on Sat Jan 4 2020 14:47:34 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5