6 #include <boost/regex.hpp>
11 std::string indent(indentwidth,
' ');
12 std::string indent2(indentwidth + 8,
' ');
13 std::cout << indent <<
"translate, " <<
std::endl;
16 << indent2 <<
"dx: " <<
shiftx_m <<
", \n"
24 const unsigned int size = bfuncs.size();
25 for (
unsigned int j = 0; j < size; ++ j) {
26 std::shared_ptr<Base> &obj = bfuncs[j];
27 obj->trafo_m = obj->trafo_m.mult(shift);
29 if (obj->divisor_m.size() > 0)
47 }
catch (std::runtime_error &
e) {
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
Inform & endl(Inform &inf)
constexpr double e
The value of.
double parseMathExpression(const std::string &str)
std::string::iterator iterator
std::string get(unsigned int i) const
unsigned int getLengthConsumed() const
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
void applyTranslation(std::vector< std::shared_ptr< Base > > &bfuncs)
virtual void print(int indentwidth)
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
virtual void apply(std::vector< std::shared_ptr< Base >> &bfuncs)=0
static bool parse(iterator &it, const iterator &end, Function *&fun)
virtual void print(int indent)=0
Vektor< double, 3 > Vector_t