OPAL (Object Oriented Parallel Accelerator Library)
2022.1
OPAL
src
ippl
src
SubField
SubField.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 "
SubField/SubField.h
"
28
#include "
SubField/SubFieldTraits.h
"
29
#include "
Field/Field.h
"
30
31
32
34
// assignment of a scalar
35
template
<
class
T,
unsigned
int
Dim,
class
M,
class
C,
class
S>
36
void
SubField<T,Dim,M,C,S>::operator=
(
T
t) {
37
38
assign
(*
this
, t);
39
}
40
41
43
// assignment of another subfield
44
template
<
class
T,
unsigned
int
Dim,
class
M,
class
C,
class
S>
45
SubField<T,Dim,M,C,S>
&
46
SubField<T,Dim,M,C,S>::operator=
(
const
SubField<T,Dim,M,C,S>
&s) {
47
48
assign
(*
this
, s);
49
return
*
this
;
50
}
51
52
/***************************************************************************
53
* $RCSfile: SubField.cpp,v $ $Author: adelmann $
54
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:33 $
55
* IPPL_VERSION_ID: $Id: SubField.cpp,v 1.1.1.1 2003/01/23 07:40:33 adelmann Exp $
56
***************************************************************************/
assign
void assign(const BareField< T, Dim > &a, RHS b, OP op, ExprTag< true >)
Field.h
SubField.h
SubFieldTraits.h
Attrib::Legacy::Distribution::T
@ T
Definition:
Distribution.h:171
SubField
Definition:
SubField.h:32
SubField::operator=
void operator=(T)
Definition:
SubField.hpp:36
Generated on Thu Oct 20 2022 17:40:08 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.3