OPALX (Object Oriented Parallel Accelerator Library for Exascale)
MINIorX
OPALX
OpalProbe.h
Go to the documentation of this file.
1
//
2
// Class OpalProbe
3
// The Probe element.
4
//
5
// Copyright (c) 200x - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
6
// All rights reserved
7
//
8
// This file is part of OPAL.
9
//
10
// OPAL is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17
//
18
#ifndef OPAL_OpalProbe_HH
19
#define OPAL_OpalProbe_HH
20
21
#include "
Elements/OpalElement.h
"
22
23
class
OpalProbe
:
public
OpalElement
{
24
public
:
26
enum
{
27
XSTART
=
COMMON
,
// Start of x coordinate
28
XEND
,
// End of x coordinate
29
YSTART
,
// Start of y coordinate
30
YEND
,
// End of y coordinate
31
WIDTH
,
// Width of the probe
32
STEP
,
// Step size of the probe
33
SIZE
34
};
36
OpalProbe
();
37
38
virtual
~OpalProbe
();
39
41
virtual
OpalProbe
*
clone
(
const
std::string& name);
42
44
virtual
void
update
();
45
46
private
:
47
// Not implemented.
48
OpalProbe
(
const
OpalProbe
&);
49
void
operator=
(
const
OpalProbe
&);
50
51
// Clone constructor.
52
OpalProbe
(
const
std::string& name,
OpalProbe
* parent);
53
};
54
55
#endif
// OPAL_OpalProbe_HH
OpalElement.h
OpalElement
Definition:
OpalElement.h:28
OpalElement::COMMON
@ COMMON
Definition:
OpalElement.h:56
OpalProbe
Definition:
OpalProbe.h:23
OpalProbe::OpalProbe
OpalProbe(const OpalProbe &)
OpalProbe::operator=
void operator=(const OpalProbe &)
OpalProbe::OpalProbe
OpalProbe()
Exemplar constructor.
Definition:
OpalProbe.cpp:25
OpalProbe::~OpalProbe
virtual ~OpalProbe()
Definition:
OpalProbe.cpp:42
OpalProbe::clone
virtual OpalProbe * clone(const std::string &name)
Make clone.
Definition:
OpalProbe.cpp:45
OpalProbe::update
virtual void update()
Update the embedded CLASSIC probe.
Definition:
OpalProbe.cpp:49
OpalProbe::WIDTH
@ WIDTH
Definition:
OpalProbe.h:31
OpalProbe::YSTART
@ YSTART
Definition:
OpalProbe.h:29
OpalProbe::XEND
@ XEND
Definition:
OpalProbe.h:28
OpalProbe::YEND
@ YEND
Definition:
OpalProbe.h:30
OpalProbe::SIZE
@ SIZE
Definition:
OpalProbe.h:33
OpalProbe::XSTART
@ XSTART
Definition:
OpalProbe.h:27
OpalProbe::STEP
@ STEP
Definition:
OpalProbe.h:32
src
Elements
OpalProbe.h
Generated on Fri Jan 23 2026 14:40:00 for OPALX (Object Oriented Parallel Accelerator Library for Exascale) by
1.9.3