Click or drag to resize

DVHINRun Method


Namespace: DotNumerics.ODE.DVode
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Run(
	int N,
	double T0,
	double[] Y0,
	int offset_y0,
	double[] YDOT,
	int offset_ydot,
	IFEX F,
	double[] RPAR,
	int offset_rpar,
	int[] IPAR,
	int offset_ipar,
	double TOUT,
	double UROUND,
	double[] EWT,
	int offset_ewt,
	int ITOL,
	double[] ATOL,
	int offset_atol,
	ref double[] Y,
	int offset_y,
	ref double[] TEMP,
	int offset_temp,
	ref double H0,
	ref int NITER,
	ref int IER
)
Request Example View Source

Parameters

N  Int32
= Size of ODE system, input.
T0  Double
= Initial value of independent variable, input.
Y0  Double
= Vector of initial conditions, input.
offset_y0  Int32
 
YDOT  Double
= Vector of initial first derivatives, input.
offset_ydot  Int32
 
F  IFEX
= Name of subroutine for right-hand side f(t,y), input.
RPAR  Double
 
offset_rpar  Int32
 
IPAR  Int32
 
offset_ipar  Int32
 
TOUT  Double
= First output value of independent variable
UROUND  Double
= Machine unit roundoff
EWT  Double
 
offset_ewt  Int32
 
ITOL  Int32
 
ATOL  Double
 
offset_atol  Int32
 
Y  Double
 
offset_y  Int32
 
TEMP  Double
 
offset_temp  Int32
 
H0  Double
= Step size to be attempted, output.
NITER  Int32
= Number of iterations (and of f evaluations) to compute H0, output.
IER  Int32
= The error flag, returned with the value IER = 0 if no trouble occurred, or IER = -1 if TOUT and T0 are considered too close to proceed.
See Also