21#ifndef VOTCA_XTP_GRAPHRANDOMWALK_H
22#define VOTCA_XTP_GRAPHRANDOMWALK_H
31#include <Eigen/SparseCore>
133 throw std::runtime_error(
134 "GraphRandomWalk: hitting times need a ToF graph with sinks, not a "
135 "bulk graph without sinks");
Result TwoCarriers(Observable observable, Solver solver=Solver::Auto) const
GraphRandomWalk(const ToFGraph &graph)
void setSettings(const Settings &settings)
static Solver SolverFromString(const std::string &name)
Result SingleCarrier(Solver solver=Solver::Auto) const
static Observable ObservableFromString(const std::string &name)
Transient FindTransient() const
Hopping graph for time-of-flight (ToF) transport.
Provides a means for comparing floating point numbers.
std::vector< std::vector< Index > > sources
Index iterations
iterative solvers: total iterations
Eigen::VectorXd occupation_time
double tau_harmonic
harmonic mean over the injection states (eq. 3.4 of the paper)
double tolerance
relative residual of the iterative solvers
Index direct_limit
auto: direct solvers up to this many unknowns, iterative above
Index max_states
two carriers: refuse larger pair spaces (memory)
std::vector< Index > index_of
std::vector< Index > site_of
Eigen::VectorXd half_log_weight