Skip to content

Commit a20b587

Browse files
Document post26 deriv command requirements
1 parent 765ce3a commit a20b587

File tree

2 files changed

+43
-41
lines changed

2 files changed

+43
-41
lines changed

apdl-template.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;;; apdl-template.el --- APDL code templates for the APDL-Mode -*- lexical-binding: t; -*-
2-
;; Time-stamp: <2021-09-23>
2+
;; Time-stamp: <2021-11-14>
33

44
;; Copyright (C) 2006 - 2021 H. Dieter Wilhelm GPL V3
55

@@ -2774,7 +2774,7 @@ live|layer|sec|stra|sfe|bfe|path|etab"\n
27742774
"nv = 1 is always time!" \n
27752775
"esol,2,1,,u,z,'displ z'" \n
27762776
"nsol,2,1,u,z" \n
2777-
"deriv,3,2,1,,vz !time derivative of uz" \n
2777+
"deriv,3,2,1,,vz !time derivative of uz, needs always an monotonic increasing denominator IX" \n
27782778
"extrem,2 !list (only real parts!) extrema" \n
27792779
"*get,Max,vari,2,extrem,vmax! get max extreme value" \n
27802780
"*get,Min,vari,2,extrem,vmin! get min extreme value" \n

doc/A-M_APDL_reference.org

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#+DATE: Time-stamp: <2021-08-30>
1+
#+DATE: Time-stamp: <2021-11-14>
22
#+bind: org-html-preamble-format (("en" "%d"))
33
# #+TITLE: APDL-Mode Highlighting and APDL Reference
44
# #####################################################################
@@ -218,44 +218,46 @@ eblock,10,,,94
218218

219219
* APDL Reference
220220
** Idiosyncrasies
221-
- You can only store character variables of 8 characters, strings of
222-
32 characters and for a maximum of 248 characters you need to
223-
create a string array!
224-
- No proper function definitions <- write `command' files (suffix:
225-
.mac), or call a macro (arbitrary suffix) with `*use', something
226-
close is to fill a "table" arry, interpolating values and possible
227-
real indexing A(0.3).
228-
- you can get table array values with real index values but must use
229-
integers for assigning them the values, the same goes for *vplot:
230-
it needs the arry indices in integers and is, moreover, only
231-
capable to plot the columns and not their line values!
232-
- *vplot does only plot the columns of arrays, it is not possible to
233-
specify rows
234-
- No direct array values to file export in GUI mode <- write command
235-
file for *vwrite, or use a (lookup) table for this purpose
236-
- *vwread does not work with C format specifiers in contrast to *vwrite
237-
- Still (v15) no *round* function in sight, but someting like
238-
nint(max*1e3)/1e3 might do for you
239-
- One cannot directly get the variable value, either one must assign
240-
the variable to another one, or use the `*stat' command
241-
- Operators > and <: 1 < 2 = 1; 2 < 1 = 1; 2 > 1 = 2 :TODO check
242-
- Inconsistent command naming: /{x,y}range but /axlab,{x,y},
243-
- Inconsistent optional command arguments: "csys,wp" or "csys,4" but
244-
it must be ltrans,4 (not possible: ltrans,wp)
245-
- Inconsistent comma usage: /com and c*** are working with and
246-
without a subsequent comma (/com without a comma is eating one
247-
character)
248-
- The /contour command does not work on device /show,PNG
249-
- Deletion of arry parameters without warning is only possible with
250-
an undocumented option: *del,Array,,nopr
251-
- *cfwrite does parameter substitution without %%: *cfwrite, X_points
252-
= NoN,*cfwrite, the same as X_points = %NoN%????
253-
- No direct operations on arrays, like A=A*3, takes a detour with
254-
*voper or *toper
255-
- Load symbol vectors /pbc,all,,1 in /prep7 are uniform in
256-
contrast to the more ralistic ones in /solu
257-
- The solver recognises only complete block structure, sending it
258-
line by line is not working
221+
- deriv (post26 command) needs an monotonic increasing denominator
222+
(documented only since 2022)
223+
- You can only store character variables of 8 characters, strings of
224+
32 characters and for a maximum of 248 characters you need to
225+
create a string array!
226+
- No proper function definitions <- write `command' files (suffix:
227+
.mac), or call a macro (arbitrary suffix) with `*use', something
228+
close is to fill a "table" arry, interpolating values and possible
229+
real indexing A(0.3).
230+
- you can get table array values with real index values but must use
231+
integers for assigning them the values, the same goes for *vplot:
232+
it needs the arry indices in integers and is, moreover, only
233+
capable to plot the columns and not their line values!
234+
- *vplot does only plot the columns of arrays, it is not possible to
235+
specify rows
236+
- No direct array values to file export in GUI mode <- write command
237+
file for *vwrite, or use a (lookup) table for this purpose
238+
- *vwread does not work with C format specifiers in contrast to *vwrite
239+
- Still (v15) no *round* function in sight, but someting like
240+
nint(max*1e3)/1e3 might do for you
241+
- One cannot directly get the variable value, either one must assign
242+
the variable to another one, or use the `*stat' command
243+
- Operators > and <: 1 < 2 = 1; 2 < 1 = 1; 2 > 1 = 2 :TODO check
244+
- Inconsistent command naming: /{x,y}range but /axlab,{x,y},
245+
- Inconsistent optional command arguments: "csys,wp" or "csys,4" but
246+
it must be ltrans,4 (not possible: ltrans,wp)
247+
- Inconsistent comma usage: /com and c*** are working with and
248+
without a subsequent comma (/com without a comma is eating one
249+
character)
250+
- The /contour command does not work on device /show,PNG
251+
- Deletion of arry parameters without warning is only possible with
252+
an undocumented option: *del,Array,,nopr
253+
- *cfwrite does parameter substitution without %%: *cfwrite, X_points
254+
= NoN,*cfwrite, the same as X_points = %NoN%????
255+
- No direct operations on arrays, like A=A*3, takes a detour with
256+
*voper or *toper
257+
- Load symbol vectors /pbc,all,,1 in /prep7 are uniform in
258+
contrast to the more ralistic ones in /solu
259+
- The solver recognises only complete block structure, sending it
260+
line by line is not working
259261

260262
** File types
261263
the whole zoo is documented in the operations guide

0 commit comments

Comments
 (0)