OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
src
src
Classic
Fields
NullField.cpp
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// $RCSfile: NullField.cpp,v $
3
// ------------------------------------------------------------------------
4
// $Revision: 1.1.1.1 $
5
// ------------------------------------------------------------------------
6
// Copyright: see Copyright.readme
7
// ------------------------------------------------------------------------
8
//
9
// Class: NullField
10
// A class for zero electromagnetic fields.
11
// ------------------------------------------------------------------------
12
// Class category: Fields
13
// ------------------------------------------------------------------------
14
//
15
// $Date: 2000/03/27 09:32:36 $
16
// $Author: fci $
17
//
18
// ------------------------------------------------------------------------
19
20
#include "
Fields/NullField.h
"
21
22
23
// Class NullField
24
// ------------------------------------------------------------------------
25
26
NullField::NullField
()
27
{}
28
29
30
NullField::NullField
(
const
NullField
& rhs):
31
EMField
(rhs)
32
{}
33
34
35
NullField::~NullField
()
36
{}
37
38
39
const
NullField
&
NullField::operator=
(
const
NullField
&)
40
{
return
*
this
; }
41
42
43
void
NullField::scale
(
double
)
44
{}
NullField.h
EMField
Abstract base class for electromagnetic fields.
Definition:
EMField.h:188
NullField
A zero electromagnetic field.
Definition:
NullField.h:30
NullField::scale
virtual void scale(double scalar)
Scale the field.
Definition:
NullField.cpp:43
NullField::operator=
const NullField & operator=(const NullField &right)
Definition:
NullField.cpp:39
NullField::NullField
NullField()
Definition:
NullField.cpp:26
NullField::~NullField
virtual ~NullField()
Definition:
NullField.cpp:35
Generated on Wed Aug 25 2021 16:41:03 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.1