tweaks to code and doc page

This commit is contained in:
Steve Plimpton
2025-05-01 12:57:27 -06:00
parent 76d0ead245
commit a2a2c541b5
2 changed files with 16 additions and 16 deletions

View File

@ -177,7 +177,7 @@ simulation.
When an input script line is encountered that defines a variable of When an input script line is encountered that defines a variable of
style *equal* or *vector* or *atom* or *python* that contains a style *equal* or *vector* or *atom* or *python* that contains a
formula or links to Python code, the formula or Python code is NOT formula or links to Python code, the formula or Python code is NOT
immediately evaluated. Instead, it is evaulated aech time the immediately evaluated. Instead, it is evaluated each time the
variable is **used**. If you simply want to evaluate a formula in variable is **used**. If you simply want to evaluate a formula in
place you can use a so-called immediate variable. as described in place you can use a so-called immediate variable. as described in
the preceding note. Or see the section below about "Immediate the preceding note. Or see the section below about "Immediate
@ -568,7 +568,7 @@ references, fix references, and references to other variables.
+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Feature functions | is_available(category,feature), is_active(category,feature), is_defined(category,id) | | Feature functions | is_available(category,feature), is_active(category,feature), is_defined(category,id) |
+------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Python function wrappers | py_varname(x,y,z,...) | | Python func wrappers | py_varname(x,y,z,...) |
+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Atom values | id[i], mass[i], type[i], mol[i], x[i], y[i], z[i], vx[i], vy[i], vz[i], fx[i], fy[i], fz[i], q[i] | | Atom values | id[i], mass[i], type[i], mol[i], x[i], y[i], z[i], vx[i], vy[i], vz[i], fx[i], fy[i], fz[i], q[i] |
+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+