LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::LsodaSolution Struct Reference

Result of an integration, mirroring OdeSolution in ode.h. More...

#include <line/util/lsoda.h>

Collaboration diagram for line::LsodaSolution:

Public Member Functions

const std::vector< double > & final_state () const
double final_time () const

Public Attributes

std::vector< double > t
 output times, t[0] = t_eval[0]
std::vector< std::vector< double > > y
 y[i] is the state at t[i]
std::size_t steps = 0
 internal steps taken (nst)
std::size_t f_evals = 0
 right-hand side evaluations (nfe)
std::size_t jacobians = 0
 Jacobian evaluations (nje).
bool success = true
 false when LSODA returned istate < 0
int istate = 2
 the solver's final istate
std::string method = "adams"
 The method in force at the end: "adams" (nonstiff) or "bdf" (stiff).

Detailed Description

Result of an integration, mirroring OdeSolution in ode.h.

Definition at line 126 of file lsoda.h.

Member Function Documentation

◆ final_state()

const std::vector< double > & line::LsodaSolution::final_state ( ) const
inline

◆ final_time()

double line::LsodaSolution::final_time ( ) const
inline

Definition at line 141 of file lsoda.h.

References line::NumericError::NumericError(), and t.

Member Data Documentation

◆ f_evals

std::size_t line::LsodaSolution::f_evals = 0

right-hand side evaluations (nfe)

Definition at line 130 of file lsoda.h.

Referenced by line::lsoda_integrate(), and line::lsoda_integrate_stepwise().

◆ istate

int line::LsodaSolution::istate = 2

the solver's final istate

Definition at line 133 of file lsoda.h.

Referenced by line::lsoda_integrate(), and line::lsoda_integrate_stepwise().

◆ jacobians

std::size_t line::LsodaSolution::jacobians = 0

Jacobian evaluations (nje).

Definition at line 131 of file lsoda.h.

Referenced by line::lsoda_integrate(), and line::lsoda_integrate_stepwise().

◆ method

std::string line::LsodaSolution::method = "adams"

The method in force at the end: "adams" (nonstiff) or "bdf" (stiff).

Definition at line 135 of file lsoda.h.

Referenced by line::fluid::fluid_integrate_grid(), and line::lsoda_integrate().

◆ steps

std::size_t line::LsodaSolution::steps = 0

internal steps taken (nst)

Definition at line 129 of file lsoda.h.

Referenced by line::lsoda_integrate(), and line::lsoda_integrate_stepwise().

◆ success

bool line::LsodaSolution::success = true

◆ t

◆ y


The documentation for this struct was generated from the following file: