Click or drag to resize

DEWSETRun Method

***PURPOSE Set error weight vector. ***TYPE DOUBLE PRECISION (SEWSET-S, DEWSET-D) ***AUTHOR Hindmarsh, Alan C., (LLNL) ***DESCRIPTION This subroutine sets the error weight vector EWT according to EWT(i) = RTOL(i)*ABS(YCUR(i)) + ATOL(i), i = 1,...,N, with the subscript on RTOL and/or ATOL possibly replaced by 1 above, depending on the value of ITOL. ***SEE ALSO DLSODE ***ROUTINES CALLED (NONE) ***REVISION HISTORY (YYMMDD) 791129 DATE WRITTEN 890501 Modified prologue to SLATEC/LDOC format. (FNF) 890503 Minor cosmetic changes. (FNF) 930809 Renamed to allow single/double precision versions. (ACH) ***END PROLOGUE DEWSET **End ***FIRST EXECUTABLE STATEMENT DEWSET

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,
	int ITOL,
	double[] RTOL,
	int offset_rtol,
	double[] ATOL,
	int offset_atol,
	double[] YCUR,
	int offset_ycur,
	ref double[] EWT,
	int offset_ewt
)
Request Example View Source

Parameters

N  Int32
 
ITOL  Int32
 
RTOL  Double
 
offset_rtol  Int32
 
ATOL  Double
 
offset_atol  Int32
 
YCUR  Double
 
offset_ycur  Int32
 
EWT  Double
 
offset_ewt  Int32
 
See Also