PLaSK library
Loading...
Searching...
No Matches
plask::optical::modal::RootBroyden Class Reference

#include <solvers/optical/modal/broyden.hpp>

Inheritance diagram for plask::optical::modal::RootBroyden:
[legend]
Collaboration diagram for plask::optical::modal::RootBroyden:
[legend]

Public Member Functions

 RootBroyden (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 ()
 

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 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
 
- Protected Attributes inherited from plask::optical::modal::RootDigger
ModalBasesolver
 
function_type val_function
 
DataLog< dcomplex, dcomplex > log_value
 

Detailed Description

Definition at line 22 of file broyden.hpp.

Constructor & Destructor Documentation

◆ RootBroyden()

plask::optical::modal::RootBroyden::RootBroyden ( ModalBase solver,
const function_type val_fun,
const Params pars,
const char name 
)
inline

Definition at line 46 of file broyden.hpp.

Member Function Documentation

◆ find()

dcomplex plask::optical::modal::RootBroyden::find ( dcomplex  start)
overridevirtual

Search for a single mode starting from the given point: point.

Implements plask::optical::modal::RootDigger.

Definition at line 22 of file broyden.cpp.


The documentation for this class was generated from the following files: