OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
OpalSplineTimeDependence.h
Go to the documentation of this file.
1//
2// Copyright (c) 2026, Paul Scherrer Institute, Villigen PSI, Switzerland
3// All rights reserved
4//
5// This file is part of OPAL.
6//
7// OPAL is free software: you can redistribute it and/or modify
8// it under the terms of the GNU General Public License as published by
9// the Free Software Foundation, either version 3 of the License, or
10// (at your option) any later version.
11//
12// You should have received a copy of the GNU General License
13// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
14//
15
16#ifndef OPAL_OPALSPLINETIMEDEPENDENCE_HH
17#define OPAL_OPALSPLINETIMEDEPENDENCE_HH
18
20
26public:
28 enum {
32 SIZE // size of the enum
33 };
34
37
39 ~OpalSplineTimeDependence() override = default;
40
42 OpalSplineTimeDependence* clone(const std::string& name) override;
43
47 void update() override;
48
50 void print(std::ostream&) const override;
51
52 // Not implemented.
54 void operator=(const OpalSplineTimeDependence&) = delete;
55
56private:
57 // Clone constructor.
58 OpalSplineTimeDependence(const std::string& name, OpalSplineTimeDependence* parent);
59
60 static const std::string doc_string;
61};
62
63#endif // OPAL_OPALSPLINETIMEDEPENDENCE_HH
static const std::string doc_string
OpalSplineTimeDependence * clone(const std::string &name) override
OpalSplineTimeDependence(const OpalSplineTimeDependence &)=delete
void print(std::ostream &) const override
~OpalSplineTimeDependence() override=default
void operator=(const OpalSplineTimeDependence &)=delete