~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to doc/dump_image.txt

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
color = atom attribute that determines color of each atom :l
22
22
diameter = atom attribute that determines size of each atom :l
23
23
zero or more keyword/value pairs may be appended :l
24
 
keyword = {adiam} or {atom} or {bond} or {size} or {view} or {center} or {up} or {zoom} or {persp} or {box} or {axes} or {shiny} or {ssao} :l
 
24
keyword = {adiam} or {atom} or {bond} or {size} or {view} or {center} or {up} or {zoom} or {persp} or {box} or {axes} or {subbox} or {shiny} or {ssao} :l
25
25
  {adiam} value = number = numeric value for atom diameter (distance units)
26
26
  {atom} = yes/no = do or do not draw atoms
27
27
  {bond} values = color width = color and width of bonds
55
55
    yes/no = do or do not draw xyz axes lines next to simulation box
56
56
    length = length of axes lines as fraction of respective box lengths
57
57
    diam = diameter of axes lines as fraction of shortest box length
 
58
  {subbox} values = yes/no diam = draw outline of processor sub-domains
 
59
    yes/no = do or do not draw sub-domain lines
 
60
    diam = diameter of sub-domain lines as fraction of shortest box length
58
61
  {shiny} value = sfactor = shinyness of spheres and cylinders
59
62
    sfactor = shinyness of spheres and cylinders from 0.0 to 1.0
60
63
  {ssao} value = yes/no seed dfactor = SSAO depth shading
356
359
 
357
360
:line
358
361
 
359
 
The {box} keyword determines how the simulation box boundaries are
360
 
rendered as thin cylinders in the image.  If {no} is set, then the box
361
 
boundaries are not drawn and the {diam} setting is ignored.  If {yes}
362
 
is set, the 12 edges of the box are drawn, with a diameter that is a
363
 
fraction of the shortest box length in x,y,z (for 3d) or x,y (for 2d).
364
 
The color of the box boundaries can be set with the "dump_modify
365
 
boxcolor"_dump_modify.html command.
366
 
 
367
 
The {axes} keyword determines how the coordinate axes are rendered as
368
 
thin cylinders in the image.  If {no} is set, then the axes are not
369
 
drawn and the {length} and {diam} settings are ignored.  If {yes} is
370
 
set, 3 thin cylinders are drawn to represent the x,y,z axes in colors
371
 
red,green,blue.  The origin of these cylinders will be offset from the
372
 
lower left corner of the box by 10%.  The {length} setting determines
373
 
how long the cylinders will be as a fraction of the respective box
374
 
lengths.  The {diam} setting determines their thickness as a fraction
375
 
of the shortest box length in x,y,z (for 3d) or x,y (for 2d).
 
362
The {box} keyword determines if and how the simulation box boundaries
 
363
are rendered as thin cylinders in the image.  If {no} is set, then the
 
364
box boundaries are not drawn and the {diam} setting is ignored.  If
 
365
{yes} is set, the 12 edges of the box are drawn, with a diameter that
 
366
is a fraction of the shortest box length in x,y,z (for 3d) or x,y (for
 
367
2d).  The color of the box boundaries can be set with the "dump_modify
 
368
boxcolor"_dump_modify.html command.
 
369
 
 
370
The {axes} keyword determines if and how the coordinate axes are
 
371
rendered as thin cylinders in the image.  If {no} is set, then the
 
372
axes are not drawn and the {length} and {diam} settings are ignored.
 
373
If {yes} is set, 3 thin cylinders are drawn to represent the x,y,z
 
374
axes in colors red,green,blue.  The origin of these cylinders will be
 
375
offset from the lower left corner of the box by 10%.  The {length}
 
376
setting determines how long the cylinders will be as a fraction of the
 
377
respective box lengths.  The {diam} setting determines their thickness
 
378
as a fraction of the shortest box length in x,y,z (for 3d) or x,y (for
 
379
2d).
 
380
 
 
381
The {subbox} keyword determines if and how processor sub-domain
 
382
boundaries are rendered as thin cylinders in the image.  If {no} is
 
383
set (default), then the sub-domain boundaries are not drawn and the
 
384
{diam} setting is ignored.  If {yes} is set, the 12 edges of each
 
385
processor sub-domain are drawn, with a diameter that is a fraction of
 
386
the shortest box length in x,y,z (for 3d) or x,y (for 2d).  The color
 
387
of the sub-domain boundaries can be set with the "dump_modify
 
388
boxcolor"_dump_modify.html command.
376
389
 
377
390
:line
378
391
 
490
503
LAMMPS has limited control over its execution and no knowledge about
491
504
errors and warnings printed by it. Those warnings and error messages
492
505
will be printed to the screen only. Due to the way image data is
493
 
communicated to FFmpeg, it will often print the message + pipe::
494
 
Input/output error :pre + which can be safely ignored. Other warnings
 
506
communicated to FFmpeg, it will often print the message 
 
507
 
 
508
pipe:: Input/output error :pre 
 
509
 
 
510
which can be safely ignored. Other warnings
495
511
and errors have to be addressed according to the FFmpeg documentation.
496
512
One known issue is that certain movie file formats (e.g. MPEG level 1
497
513
and 2 format streams) have video bandwith limits that can be crossed
530
546
persp = 0.0
531
547
box = yes 0.02
532
548
axes = no 0.0 0.0
 
549
subbox no 0.0
533
550
shiny = 1.0
534
551
ssao = no :ul