PLaSK library
|
#include <solvers/optical/modal/brent.hpp>
Public Member Functions | |
RootBrent (ModalBase &solver, const function_type &val_fun, const Params &pars, const char *name) | |
dcomplex | find (dcomplex start) override |
Search for a single mode starting from the given point: point. | |
Public Member Functions inherited from plask::optical::modal::RootDigger | |
RootDigger (ModalBase &solver, const function_type &val_fun, const Params &pars, const char *name) | |
virtual | ~RootDigger () |
Protected Member Functions | |
double | axisBrent (dcomplex start, double &fx, bool real, int &counter) |
Protected Member Functions inherited from plask::optical::modal::RootDigger | |
template<typename... Args> | |
void | writelog (LogLevel level, const std::string &msg, Args &&... args) const |
dcomplex | valFunction (dcomplex x) const |
Additional Inherited Members | |
Public Types inherited from plask::optical::modal::RootDigger | |
enum | Method { ROOT_MULLER , ROOT_BROYDEN , ROOT_BRENT } |
Root finding method. More... | |
typedef std::function< dcomplex(dcomplex)> | function_type |
Public Attributes inherited from plask::optical::modal::RootDigger | |
Params | params |
Protected Attributes inherited from plask::optical::modal::RootDigger | |
ModalBase & | solver |
function_type | val_function |
DataLog< dcomplex, dcomplex > | log_value |
|
overridevirtual |
Search for a single mode starting from the given point: point.
Implements plask::optical::modal::RootDigger.