git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@16053 f3b2605a-c512-4ea7-a41b...
[lammps.git] / doc / src / compute_smd_triangle_mesh_vertices.txt
blob5b0f0afc4c84a93f0b1f31307da9d7a89197abbe
1 "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
3 :link(lws,http://lammps.sandia.gov)
4 :link(ld,Manual.html)
5 :link(lc,Section_commands.html#comm)
7 :line
9 compute smd/triangle/mesh/vertices :h3
11 [Syntax:]
13 compute ID group-ID smd/triangle/mesh/vertices :pre
15 ID, group-ID are documented in "compute"_compute.html command
16 smd/triangle/mesh/vertices = style name of this compute command :ul
18 [Examples:]
20 compute 1 all smd/triangle/mesh/vertices :pre
22 [Description:]
24 Define a computation that returns the coordinates of the vertices
25 corresponding to the triangle-elements of a mesh created by the "fix
26 smd/wall_surface"_fix_smd_wall_surface.html.
28 See "this PDF guide"_PDF/SMD_LAMMPS_userguide.pdf to using Smooth
29 Mach Dynamics in LAMMPS.
31 [Output info:]
33 This compute returns a per-particle vector of vectors, which can be
34 accessed by any command that uses per-particle values from a compute as
35 input. See "How-to discussions, section 6.15"_Section_howto.html#howto_15
36 for an overview of LAMMPS output options.
38 The per-particle vector has nine entries, (x1/y1/z1), (x2/y2/z2), and
39 (x3/y3/z3) corresponding to the first, second, and third vertex of
40 each triangle.
42 It is only meaningful to use this compute for a group of particles
43 which is created via the "fix smd/wall_surface"_fix_smd_wall_surface.html command.
45 The output of this compute can be used with the dump2vtk_tris tool to
46 generate a VTK representation of the smd/wall_surface mesh for
47 visualization purposes.
49 The values will be given in "units"_units.html of distance.
51 [Restrictions:]
53 This compute is part of the USER-SMD package.  It is only enabled if
54 LAMMPS was built with that package.  See the "Making
55 LAMMPS"_Section_start.html#start_3 section for more info.
57 [Related commands:]
59 "fix smd/move/tri/surf"_fix_smd_move_triangulated_surface.html,
60 "fix smd/wall_surface"_fix_smd_wall_surface.html
62 [Default:] none