PLaSK library
|
#include <solvers/optical/modal/rootdigger.hpp>
Classes | |
struct | Params |
Public Types | |
enum | Method { ROOT_MULLER , ROOT_BROYDEN , ROOT_BRENT } |
Root finding method. More... | |
typedef std::function< dcomplex(dcomplex)> | function_type |
Public Member Functions | |
RootDigger (ModalBase &solver, const function_type &val_fun, const Params &pars, const char *name) | |
virtual | ~RootDigger () |
virtual dcomplex | find (dcomplex start)=0 |
Search for a single zero starting from the given point. | |
Public Attributes | |
Params | params |
Protected Member Functions | |
template<typename... Args> | |
void | writelog (LogLevel level, const std::string &msg, Args &&... args) const |
dcomplex | valFunction (dcomplex x) const |
Protected Attributes | |
ModalBase & | solver |
function_type | val_function |
DataLog< dcomplex, dcomplex > | log_value |
Definition at line 24 of file rootdigger.hpp.
typedef std::function<dcomplex(dcomplex)> plask::optical::modal::RootDigger::function_type |
Definition at line 26 of file rootdigger.hpp.
Root finding method.
Enumerator | |
---|---|
ROOT_MULLER | |
ROOT_BROYDEN | |
ROOT_BRENT |
Definition at line 29 of file rootdigger.hpp.
plask::optical::modal::RootDigger::RootDigger | ( | ModalBase & | solver, |
const function_type & | val_fun, | ||
const Params & | pars, | ||
const char * | name | ||
) |
Definition at line 19 of file rootdigger.cpp.
|
inlinevirtual |
Definition at line 90 of file rootdigger.hpp.
|
pure virtual |
Search for a single zero starting from the given point.
start | initial point to start search from |
Implemented in plask::optical::modal::RootBrent, plask::optical::modal::RootBroyden, and plask::optical::modal::RootMuller.
|
inlineprotected |
Definition at line 73 of file rootdigger.hpp.
|
protected |
Definition at line 23 of file rootdigger-impl.hpp.
|
protected |
Definition at line 71 of file rootdigger.hpp.
Params plask::optical::modal::RootDigger::params |
Definition at line 85 of file rootdigger.hpp.
|
protected |
Definition at line 65 of file rootdigger.hpp.
|
protected |
Definition at line 68 of file rootdigger.hpp.