OPAL (Object Oriented Parallel Accelerator Library) 2022.1
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
6namespace mslang {
7 struct Rotation: public Function {
9 double angle_m;
10
11 virtual ~Rotation() {
12 delete func_m;
13 }
14
15 virtual void print(int indentwidth);
16 void applyRotation(std::vector<std::shared_ptr<Base> > &bfuncs);
17 virtual void apply(std::vector<std::shared_ptr<Base> > &bfuncs);
18 static bool parse_detail(iterator &it, const iterator &end, Function* &fun);
19 };
20}
21
22#endif
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
std::string::iterator iterator
Definition: MSLang.h:16
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
Definition: Rotation.cpp:38
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition: Rotation.cpp:33
virtual ~Rotation()
Definition: Rotation.h:11
void applyRotation(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition: Rotation.cpp:17
virtual void print(int indentwidth)
Definition: Rotation.cpp:8
double angle_m
Definition: Rotation.h:9
Function * func_m
Definition: Rotation.h:8