OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <Shear.h>
Public Member Functions | |
virtual | ~Shear () |
virtual void | print (int indentwidth) |
void | applyShear (std::vector< std::shared_ptr< Base > > &bfuncs) |
virtual void | apply (std::vector< std::shared_ptr< Base > > &bfuncs) |
![]() | |
virtual | ~Function () |
virtual void | apply (std::vector< std::shared_ptr< Base >> &bfuncs)=0 |
Static Public Member Functions | |
static bool | parse_detail (iterator &it, const iterator &end, Function *&fun) |
![]() | |
static bool | parse (iterator &it, const iterator &end, Function *&fun) |
Public Attributes | |
Function * | func_m |
double | angleX_m |
double | angleY_m |
Additional Inherited Members | |
![]() | |
static const std::string | UDouble = "([0-9]+\\.?[0-9]*([Ee][+-]?[0-9]+)?)" |
static const std::string | Double = "(-?[0-9]+\\.?[0-9]*([Ee][+-]?[0-9]+)?)" |
static const std::string | UInt = "([0-9]+)" |
static const std::string | FCall = "([a-z_]*)\\((.*)" |
|
inlinevirtual |
|
virtual |
Definition at line 37 of file Shear.cpp.
References mslang::Function::apply(), applyShear(), and func_m.
void mslang::Shear::applyShear | ( | std::vector< std::shared_ptr< Base > > & | bfuncs | ) |
Definition at line 42 of file Shear.cpp.
References angleX_m, angleY_m, Physics::e, end(), endl(), func_m, mslang::ArgumentExtractor::get(), mslang::ArgumentExtractor::getLengthConsumed(), mslang::Function::parse(), and mslang::parseMathExpression().
Referenced by mslang::Function::parse().
|
virtual |
Implements mslang::Function.
Definition at line 8 of file Shear.cpp.
References abs(), angleX_m, angleY_m, endl(), func_m, and mslang::Function::print().
double mslang::Shear::angleX_m |
Definition at line 9 of file Shear.h.
Referenced by applyShear(), parse_detail(), and print().
double mslang::Shear::angleY_m |
Definition at line 10 of file Shear.h.
Referenced by applyShear(), parse_detail(), and print().
Function* mslang::Shear::func_m |