OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Rotation.h
Go to the documentation of this file.
1#ifndef MSLANG_ROTATION_H
2#define MSLANG_ROTATION_H
3
4#include "Utilities/MSLang.h"
5
6#include <memory>
7#include <vector>
8
9namespace mslang {
10 struct Rotation: public Function {
12 double angle_m;
13
14 virtual ~Rotation() {
15 delete func_m;
16 }
17
18 virtual void print(int indentwidth);
19 void applyRotation(std::vector<std::shared_ptr<Base> > &bfuncs);
20 virtual void apply(std::vector<std::shared_ptr<Base> > &bfuncs);
21 static bool parse_detail(iterator &it, const iterator &end, Function* &fun);
22 };
23}
24
25#endif
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
std::string::iterator iterator
Definition MSLang.h:13
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
Definition Rotation.cpp:44
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition Rotation.cpp:39
virtual ~Rotation()
Definition Rotation.h:14
void applyRotation(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition Rotation.cpp:23
virtual void print(int indentwidth)
Definition Rotation.cpp:14
Function * func_m
Definition Rotation.h:11