From c24cd9dce7085b9143aab5672bf70c869a716dcc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 14 May 2022 20:31:21 +0000 Subject: pst-ode (14may22) git-svn-id: svn://tug.org/texlive/trunk@63295 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-ode/ChangeLog | 9 +++++++ Master/texmf-dist/doc/generic/pst-ode/README.txt | 27 ++++++++++++++++----- .../texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf | Bin 131897 -> 132631 bytes .../texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex | 6 ++--- Master/texmf-dist/dvips/pst-ode/pst-ode.pro | 7 +++--- Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex | 15 ++++++------ 6 files changed, 45 insertions(+), 19 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/generic/pst-ode/ChangeLog b/Master/texmf-dist/doc/generic/pst-ode/ChangeLog index 4a98bce72f6..be28505bfd8 100644 --- a/Master/texmf-dist/doc/generic/pst-ode/ChangeLog +++ b/Master/texmf-dist/doc/generic/pst-ode/ChangeLog @@ -1,3 +1,12 @@ +2022-05-14 + * version 0.17 + * fix: URL of lppl.txt in various files + +2022-05-13 + * version 0.16 + * fix: scoping issue with x, y, t in formatoutput and ODESET procedures, + analysed and fixed by Marcel Krüger (https://gitlab.com/zauguin) + 2021-03-12 * version 0.15 * new: option `algebraicN` (infix notation for number of output points) diff --git a/Master/texmf-dist/doc/generic/pst-ode/README.txt b/Master/texmf-dist/doc/generic/pst-ode/README.txt index 93dfb961048..925eea6bd04 100644 --- a/Master/texmf-dist/doc/generic/pst-ode/README.txt +++ b/Master/texmf-dist/doc/generic/pst-ode/README.txt @@ -1,15 +1,30 @@ -========================== +=================================== pst-ode PSTricks package -========================== + + https://gitlab.com/agrahn/pst-ode +=================================== Alexander Grahn, (c) 2012--today +`pst-ode' defines \pstODEsolve for solving initial value problems for sets of +Ordinary Differential Equations (ODE) using the Runge-Kutta-Fehlberg (RKF45) +method with automatic step size adjustment. + +\pstODEsolve[]{}{}{t_0}{t_e}{N}{x⃗_0}{f⃗(t,x⃗)} + +The state vectors x⃗ found at N equally spaced output points between t_0 and +t_e are stored in the PostScript object , formatted according to the +second argument , as a long list of values. +lists the quantities to be stored in . The user can select from the +elements of x⃗ and the integration parameter t. -`pst-ode' defines \pstODEsolve for solving initial value problems for sets -of Ordinary Differential Equations (ODE) using the Runge-Kutta-Fehlberg -(RKF45) method with automatic step size adjustment. +The initial condition vector x⃗_0 and the right-hand side f⃗(t,x⃗) of +the ODE system can be input in algebraic notation, if desired. RPN (Postfix) +notation of PostScript can as well be used. + can be directly used as the argument of \listplot{} +(package `pst-plot') or \listplotThreeD{} (package `pst-3dplot'). This material is subject to the LaTeX Project Public License. See - http://mirror.ctan.org/help/Catalogue/licenses.lppl.html + http://www.latex-project.org/lppl.txt for the details of that license. diff --git a/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf b/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf index 3244717e84a..85a26b7a3a4 100644 Binary files a/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf and b/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf differ diff --git a/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex b/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex index 6c67293611d..a5c57a07f45 100644 --- a/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex @@ -167,7 +167,7 @@ With \Lkeyword{algebraicIC}, the initial condition vector $\mathbf{x}_0$ can be With \Lkeyword{algebraic}, the right-hand side of differential equations $\mathbf{f}(t,\mathbf{x})$ can be given in infix notation. Algebraic infix expressions are to be separated by `\Lkeyword{|}'. Default is \PS{} notation.\\ \noindent\OptArg*{algebraicAll}\\ -Option \Lkeyword{algebraicAll} is equivalent to setting all of \Lkeyword{algebraicOutputFormat}, \Lkeyword{algebraicT}, \Lkeyword{algebraicIC}, \Lkeyword{algebraic}.\\ +Option \Lkeyword{algebraicAll} is equivalent to setting all of \Lkeyword{algebraicOutputFormat}, \Lkeyword{algebraicT}, \Lkeyword{algebraicN}, \Lkeyword{algebraicIC}, \Lkeyword{algebraic}.\\ \noindent\OptArg*{silent}\\ Option \Lkeyword{silent} suppresses the terminal output of stepping information.\\ @@ -335,7 +335,7 @@ I'd like to thank Manuel Luque for the inspiring examples on his site \url{http: \section{License} This package can be redistributed and/or modified under the terms -of the \LaTeX Project Public License Distributed from CTAN archives: -\url{http://mirrors.ctan.org/macros/latex/base/lppl.txt} +of the \LaTeX\ Project Public License\\ +\url{http://www.latex-project.org/lppl.txt} \end{document} diff --git a/Master/texmf-dist/dvips/pst-ode/pst-ode.pro b/Master/texmf-dist/dvips/pst-ode/pst-ode.pro index 6967071032a..7358e8cb4fb 100644 --- a/Master/texmf-dist/dvips/pst-ode/pst-ode.pro +++ b/Master/texmf-dist/dvips/pst-ode/pst-ode.pro @@ -1,13 +1,14 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % PostScript prologue for pst-ode.tex. -% Version 0.15, 2021/03/12 +% Version 0.17, 2022/05/14 % % Alexander Grahn (C) 2012--today % % This program can be redistributed and/or modified under the terms -% of the LaTeX Project Public License Distributed from CTAN archives: -% http://mirrors.ctan.org/macros/latex/base/lppl.txt +% of the LaTeX Project Public License +% +% http://www.latex-project.org/lppl.txt % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /tx@odeDict 1 dict def diff --git a/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex b/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex index d57ff94273d..7cb0e895733 100644 --- a/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex +++ b/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex @@ -4,15 +4,16 @@ %% Alexander Grahn, (C) 2012--today %% %% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN archives: -%% http://mirrors.ctan.org/macros/latex/base/lppl.txt +%% of the LaTeX Project Public License +%% +%% http://www.latex-project.org/lppl.txt %% %% `pst-ode' defines \pstODEsolve for integrating systems of first order %% ODEs using the Runge-Kutta-Fehlberg (RKF45) method with automatic %% step size adjustment %% -\def\fileversion{0.15} -\def\filedate{2021/03/12} +\def\fileversion{0.17} +\def\filedate{2022/05/14} \csname PSTODELoaded\endcsname \let\PSTODELoaded\endinput @@ -159,7 +160,7 @@ \ifPst@algebraic /ode@rpn tx@Dict begin (\expandafter\ode@zapspace\ode@arg\@nil) AlgParser end cvx bind def /ODESET {%system of ODEs - /x exch def /y x def tx@Dict begin ode@rpn end ode@dict xlength end array astore + ode@dict /x exch def /y x def end tx@Dict begin ode@dict ode@rpn end end ode@dict xlength end array astore } bind def \else /ODESET { @@ -171,8 +172,8 @@ \ifPstODE@algebraicOutputFormat /ode@fmtrpn tx@Dict begin (\expandafter\ode@zapspace\ode@fmt\@nil) AlgParser end cvx bind def /formatoutput {% - ode@laststate /x exch def /y x def /t ode@dict tcur end def - tx@Dict begin ode@fmtrpn end + ode@dict ode@laststate /x exch def /y x def /t tcur def end + tx@Dict begin ode@dict ode@fmtrpn end end } bind def \else /formatoutput {[#2] assembleresult} def \fi% %perform ode integration -- cgit v1.2.3