star-mesh

Define and load a binary data format for meshes
git clone git://git.meso-star.fr/star-mesh.git
Log | Files | Refs | README | LICENSE

smsh-desc.1 (1996B)


      1 .\" Copyright (C) 2020-2023, 2025 |Méso|Star> (contact@meso-star.com)
      2 .\"
      3 .\" This program is free software: you can redistribute it and/or modify
      4 .\" it under the terms of the GNU General Public License as published by
      5 .\" the Free Software Foundation, either version 3 of the License, or
      6 .\" (at your option) any later version.
      7 .\"
      8 .\" This program is distributed in the hope that it will be useful,
      9 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
     10 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     11 .\" GNU General Public License for more details.
     12 .\"
     13 .\" You should have received a copy of the GNU General Public License
     14 .\" along with this program. If not, see <http://www.gnu.org/licenses/>.
     15 .Dd May 9, 2025
     16 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
     17 .Dt SMSH-DESC 1
     18 .Os
     19 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
     20 .Sh NAME
     21 .Nm smsh-desc
     22 .Nd
     23 .Xr smsh 5
     24 file descriptor
     25 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
     26 .Sh SYNOPSIS
     27 .Nm
     28 .Op Fl cdnpt
     29 .Ar mesh
     30 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
     31 .Sh DESCRIPTION
     32 Print the pagesize on which the
     33 .Xr smsh 5
     34 mesh data is aligned, as well as the number and dimension of nodes and
     35 cells.
     36 .Pp
     37 The descritpion is printed on stdout with a message of the form:
     38 .Bd -literal -offset Ds
     39 "%zu %zu %zu %u %u %s", pagesz, #nodes, #cells, Dnode, Dcell, mesh
     40 .Ed
     41 .Pp
     42 When any option is specified,
     43 .Nm
     44 reports only the information requested by the specified options.
     45 .Pp
     46 The options are as follows:
     47 .Bl -tag -width Ds
     48 .It Fl c
     49 print cells count.
     50 .It Fl d
     51 print node dimension.
     52 .It Fl n
     53 print node count.
     54 .It Fl p
     55 print data alignment.
     56 .It Fl t
     57 print cell dimension.
     58 .El
     59 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
     60 .Sh EXIT STATUS
     61 .Ex -std
     62 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
     63 .Sh SEE ALSO
     64 .Xr smsh 5