PLaSK library
Loading...
Searching...
No Matches
rootdigger.cpp
Go to the documentation of this file.
1/*
2 * This file is part of PLaSK (https://plask.app) by Photonics Group at TUL
3 * Copyright (c) 2022 Lodz University of Technology
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14#include "rootdigger.hpp"
15#include "solverbase.hpp"
16
17namespace plask { namespace optical { namespace modal {
18
19RootDigger::RootDigger(ModalBase& solver, const function_type& val_fun, const Params& pars, const char* name) :
20 solver(solver),
21 val_function(val_fun),
22 params(pars),
23 log_value(solver.getId(), "modal", name, "det")
24{}
25
26}}} // namespace plask::optical::modal