5#include <boost/regex.hpp>
9 std::string indent(indentwidth,
' ');
10 std::string indent2(indentwidth + 8,
' ');
11 std::cout << indent <<
"shear, " <<
std::endl;
15 << indent2 <<
"angle X: " <<
angleX_m;
18 << indent2 <<
"angle Y: " <<
angleY_m;
26 const unsigned int size = bfuncs.size();
28 for (
unsigned int j = 0; j < size; ++ j) {
29 std::shared_ptr<Base> &obj = bfuncs[j];
30 obj->trafo_m = obj->trafo_m.mult(shear);
32 if (!obj->divisor_m.empty())
50 }
catch (std::runtime_error &
e) {
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
Tps< T > tan(const Tps< T > &x)
Tangent.
PETE_TUTree< FnAbs, typename T::PETE_Expr_t > abs(const PETE_Expr< T > &l)
Inform & endl(Inform &inf)
constexpr double e
The value of.
double parseMathExpression(const std::string &str)
std::string::iterator iterator
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
std::string get(unsigned int i) const
unsigned int getLengthConsumed() const
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
void applyShear(std::vector< std::shared_ptr< Base > > &bfuncs)
virtual void print(int indentwidth)
Vektor< double, 3 > Vector_t