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