[Go to BBS]
All articles in a thread
SubjectF SAD Update V1.0.10.6.5.3k64.
Article NoF 1098
DateF 2013/01/07(Mon) 12:57:27
ContributorF K. Oide
Dear Users,

Changes on k64 since the end of September were following. Also look at src/inc/changelog:

9/27/2012
- abandoned sad_rlist by introducing sad_list%rbody to represent the real component of sad_list.

10/1/2012
- rewrote tfdot to exclude unnecessary allocation.

10/2/2012
- Fix to return correct character codes for code point 0x80-0xff
- fixed a bug in tfintersection.
- modified tfsprt.f by sad_list.

10/3/2012
- modifiled tfreplacesymbolstk.
- fixed a bug in StringFill.
- replaced tfclonelist by tfduplist in FindRoot.
- modified tfsorti to take the generation of symbol into account

10/4/2012
- fixed an undefined variable iut in tffsmatch.

10/6/2012
- appendto is accelerated by a list longer than the number of elements.
- two numbers lenp and lena defined in sad_list to denote the number of extendable words for PrependTo and AppendTo.
- Functions Append and Prepend become defined functions to have an automatic conversion to AppendTo and PrependTo.

10/7/2012
- accelerated appendto to a part of a list.
- modified tfreplacemember to use tfmatchsymstk.

10/8/2012
- added dummy(11:10) to sad_symdef.
- list%rbody(1:0).
- modified ksad_loc.
- rewrote using more sad_symbols.
- many of functions ***_loc are renamed to loc_***.
- a new module tfform to contain $FORM and PageWidth.

10/9/2012
- ktflistq takes an optional argument ot return sad_list pointer if true.

10/10/2012
- ktaaloc,ktavaloc,ktadaloc,tflistqk,tfnonlistqk are moved to tfstk, taking an optional argument to return the sad_list pointer.

10/11/2012
- Support Unicode character literal
- Split Tcl/Tk interpreter related symbols into TkinterCore.n
- tfmodule is changed: redefsymbol is no longer called.
- ktnaloc returns the ksad_loc of def%sym%loc.
- a new type sad_complex and a function ktfcomplexqx are introduced.
- Improve adobe-symbol to Unicode mapping on TclArg[]

10/13/2012
- tfsymbollist to check a list contains a symbol to make replacesymbol as well as Module faster.
- corrected a bug in tfefundef.

10/14/2012
- added dummy routines to some files with INCLUDE to avoid a stupid phnomenon of missing source lines with gcc on some system.

10/15/2012
- removed flags all and sort from tfreplacesymbolstk.
- The generation number is taken into accout in Sort, Order.
- namtbl_loc is renamed to loc_namtbl

10/17/2012
- tried to solve a confusion beween tfsetpat and tfresetpat.
- changed tfreplacedef to simplify argument substitution.

10/18/2012
- renamed tfsetpat and tfresetpattbl to tfunsetpat and tfunsettbl, respectively.
- corrected Send in Tkinter to avoid command evaluation before sending.
- corrected tfcleardef and tfdefheadq to correctly handle clearing partial definition such as Clear[A[1]].

10/19/2012
- changed the definition of a symbol representing a context. The binary content has been hidden.

10/20/2012
- temap was rewritten using an "array of pointers".
- rewrote some routines of tfstk to avoid ktfaddr.
- redmath is defined in tfstk as a sad_symdef.
- ktfcompose & ktfsymbolz moved to tfstk.
- introduced generic subroutines sad_loc & loc_sad.

10/21/2012
- corrected bugs in expandbeamline and SetElement to cause invalid memory accesses.
- corrected the origin for mapalloc8 in tffscalc.

10/23/2012
- corrected oversuppression of errors in tfeval which made a syntax like "DISP ^^^" invalid.

10/29/2012
- put implicit none in qdthin.

10/30/2012
- corrected an error in tsole in storing orbit data.
- setting to a form like a[1,2] = 3, when a contains a list, is made valid again.
- use nlat instead of a strange constant length (6000) for TouschekTable[[4]].

10/31/2012
- make DZI a valid matcing variable.
- corrected a wrong length of beam line (idx1) to allocate in tfbeamline.
- put implicit none in tsetg.

11/1/2012
- added extrapolation to TouschekLifetime below the minimum calculated acceptance, assuming a quadratic dependence on the aperture.
- corrrected a bug in temape giving a list without ktflist.
- corrected a bug in tfsetplot alloccating too big list for cod.
- corrected a bug in temap introduced during the change for temape above.

11/2/2012
- rewrote routines using more sad_lists.
- corrected bugs in tlspect.
- tsetg is included in tfgeo.f.

11/3/2012
- moved tfmatrixmaybeq to tfstk.

11/4/2012
- re-defined tfreplacedefarg to define class methods which use instance symbols as argument pattern symbols.

11/7/2012
- Rule in D$ to replace -0 with 0.
- The unit of character in the output of DAPERT is set to 10 turns/char if nturn is less than 61.
- corrected an old bug on calculating Bz/Brho in TRPT which scaled by the momentum ratio to the entrance twice.

11/8/2012
- Added BeamstrahlungUpsilon, BeamstrahlungNGamma, BeamstrahlungDeltaGamma in emit.n
- Tweaked tcod for better convergence with RADCOD. Also absorb cod(5) in trf0.

11/10/2012
- corrected a bug in expansion of elements if the name matches different types, such as 's* dx 0'.
- The concept 'touched variables' may be just inducing confusion ...
- rewrote tffsadjust to avoid ktaloc.
- A new flag ORBITCAL to suppress orbit calculation in CALC.

11/11/2012
- corrected a bug in tfrestrict to confuse a real and non-real arrays.
- corrected a bug in tfreplacepart to leave seqences unsolved in the result.
- utilized sad_descriptor in symdef%value.

11/14/2012
- tfrebuildl looks anly cloned lists.

11/15/2012
- moved ktfcopy to tfstk.
- utilized sad_descriptor in sad_pat, sad_deftble.
- defined dtastk, dtastk2 for sad_descriptor stack.

11/16/2012
- more sad_descriptors in many routines.

11/17/2012
- rewrote tfsameq using objects.

11/19/2012
- more sad_descritors in itfdepth.f, itfaloc.f, etc.
- kxsycopy is moved to tfstk as dxsycopy.
- introduced tfconnect, moved tfconnectk and tfconnectk1 to tfstk.

11/21/2012
- renamed ktfsymbolqd to ktfsymbolqdef.
- more sad_descriptors in routines.

11/22/2012
- more sad_descriptors in tfdot.sad, tfstk.

11/23/2012
- more sad_descriptors.

11/25/2012
- more sad_descriptors.
- moved ktaalocsp and ktfnumlistqnk to tfstk.
- corrected bugs in tfsetpart, tffindroot, Conjugate.

11/26/2012
- more sad_descriptors.
- removed an obsolete arg kh and related routines from tfdeval.
- defined a member 'istr' in sad_string to represent ichar(str).
- improved tfsingularvalues to eliminate allocation.
- corrected the use of tfgetdefargp to handle list-head in appendto.

11/28/2012
- more sad_descriptors.
- new procedures sym_symstr, loc_symstr, descr_sad in tfstk.
- fixed a bug in tocontext.

11/30/2012
- removed ktfsymstr.
- a new module findr and a new type symv to contain variables for Fit.
- introduced tfmatrixq and $Matrix for matrix operation.

12/1/2012
- corrected mishandling of ordless in tfdset.

12/2/2012
- Defined a new function RealListQ.
- started to define $Matrix in Matrix.n (incomplete).
- modified tfdelete to use symdef as the first argument.
- fixed a bug in StringPosition.

12/3/2012
- Corrected a bug in Power on lists.

12/4/2012
- Moved tfnumberqk to tfstk as tfnumberqd.
- Rewrote tfecmplxl.
- fixed a bug in tfflagordef.

12/6/2012
- fixed a bug in tfearray to forget setting irtc=0.
- corrected some confusions between ktflistq and tflistq.
- fixed a bug in tfprint1 to ignore the case irtc=-1.
- fixed a bug to have used tfnonrealq instead of tfrealq in tfevalfit1.

12/8/2012
- fixed a bug in StringJoin to have fogot to set kx, when all args are symbol.
- fixed a bug in tfappend to wrongly set listx%attr.
- fixed an obsolete reference of vstk(ivstoffset+..) in tfDateTAI.

12/9/2012
- fixed a bug to ignore RepeatedNull in itfseqm.
- moved ktpfaloc to tfstk as kxpfaloc.
- moved ktpaloc, ktpalocb, ktpcopyss to tfstk as kxpaloc, kxpalocb, kxpcopyss.
- added an option Derivative -> Periodic in Spline for a periodic solution.

12/10/2012
- replaced the peiodic spline with a better algorithsm.
- modified PlotInterpolate for a better decision on the subdivision, and taking the number of points of SplineData into account.

12/11/2012
- modified tqr to avoid returning NaN.
- corrected a bug in tturne since before k64 to have wrongly referred non-matrix as a matrix, when cod becomes NaN and a fractional marker exists, with CODPLOT & Matrix->True.
- removed tfgetmatrix, replaced by tfl2m.
- corrected an inconsistent handling of Message, by putting Unevaluated$.

12/13/2012
- removing tmov from some routines.
- introduced sad_descriptor functions kxaaloc, kxadaloc, kxadalocnull, kxavaloc, kxmakelist, kxcompose.

12/14/2012
- introduced sad_descriptor functions kxcomposev, kxcalocv, kxsalocb, kxsymbolz

12/15/2012
- modified tfhead to exclude init.
- introduced sad_descriptor function kxsymbolz to return the assigned value of a symbol.
- abandoned ktlookup.
- defined functions rfromd, dfromr, dfromk.
- defined sad_descriptors dxnull,dxnulll,dxnulls

12/16/2012
- defined more sad_descriptor functions kxnaloc, kxnaloc1, kxscopy.
- moved tfassignrules to module findr.

12/19/2012
- tried to use fortran's ALLOCATE for memory allocation.
- modified tfcanonivalconv to avoid seg fault due to optimization. Similar issues may happen in other routines...

12/20/2012
- added new functions mapallocshared and mapallocfixed (also ktfallocshared and tfreeshared) to mmap with MAP_FIXED flag to map/unmmap a memory area allocated by ktaloc.for shared memory. They may work for the time being, but the essential solution should be to remove italoc from the MAIN level.

12/23/2012
- more sad_descriptors.

12/31/2012
- modified tfcbkinit to have an offset for allocation.
- modified netSemaphore.c not to use hostent_addr.
- modified italoc to try to find allocation below 2^31.

1/1/2013
- removed -h in lndir in sad.tcltk.mk. I wonder why hard links were necessary.
- tweaked talocinit to relax issue with reverse allocation, which is seen in linux.

1/2/2013
- more tweaks in talocinit for more robustness.

1/4/2013
- corrected tfstrinliststk to hanlde arguments of message properly.
- corrected General::`b_ in MessageName to prevent an infinite loop.
- more sad_descriptors.
- moved ktfstringbuftostring to strbuf as kxstringbuftostring.
- corrected a bug in tfeintf returning zeros in the real part of the result.
- corrected a bug in tsvdma referring unnecessary irtc.
- corrected a bug in tfdifference with 2 args.

1/5/2013
- corrected bugs in SurvivedParticles and tfaddseed.

1/6/2013
- moved ktfcopylist, ktfargsym, ktfcomposer to tfstk as kxcopylist, axargsym, kxcomposer.
- more sad_descriptors.