VMTKLINEARTOQUADRATIC(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ¦‹ VMTKLINEARTOQUADRATIC(1) πŸ¦‹

okay bestie, welcome to the glow-up station πŸ’… this is the manual page for vmtklineartoquadratic, a vmtk script, and she is literally here to take your mesh from linear to quadratic. iconic behavior, no cap.


✨ NAME ✨

vmtklineartoquadratic β€” vmtk script vmtklineartoquadratic


🌸 DESCRIPTION 🌸

Automatic piping vmtklineartoquadratic Parsing options vmtklineartoquadratic

so like. vmtklineartoquadratic : convert the elements of a mesh from linear to quadratic. that's the whole vibe. she takes your cute little linear elements and gives them the extra nodes they deserve. main character energy fr fr πŸ’–

πŸ’– Input arguments: πŸ’–

  • -id Id (str,1); default=0 β€” script id. it's the id. of the script. yeah.
  • -handle Self (self,1) β€” handle to self. she's holding her own hand, as she should 🫢
  • -disabled Disabled (bool,1); default=0 β€” disable execution and piping. flip this on and she just… doesn't. respect.
  • -i Mesh (vtkUnstructuredGrid,1) β€” the input mesh. your baby. the thing you're about to upgrade.
  • -ifile MeshInputFileName (str,1) β€” filename for the default Mesh reader. point her at a file instead of handing her the object.
  • -r Surface (vtkPolyData,1) β€” the reference surface to project nodes onto. this is the surface the projected nodes get snapped to, bestie, very important ✨
  • -rfile SurfaceInputFileName (str,1) β€” filename for the default Surface reader.
  • -mode Mode (str,1) in ['volume', 'surface']; default=volume β€” kind of elements to work with. are we doing volume elements or surface elements? you pick.
  • -biquadraticwedge UseBiquadraticWedge (bool,1); default=True β€” if on, convert linear wedges to 18-noded biquadratic quadratic wedges, otherwise use 15-noded quadratic wedges. 18 nodes or 15 nodes, that's the choice 😌
  • -capsurface CapSurface (bool,1); default=False β€” if on, cap the reference surface before projecting. close that baby up first πŸŽ€
  • -entityidsarray CellEntityIdsArrayName (str,1); default=None β€” name of the array where entity ids relative to cells are stored.
  • -jacobianrelaxation JacobianRelaxation (bool,1); default=0 β€” if on, relax projected nodes until Jacobians are all positive. negative Jacobians are giving red flag energy 🚩 so this one chills everyone out until the vibes are positive.
  • -projectedid ProjectedCellEntityId (int,1); default=1 β€” id of the entity that is to be projected onto the reference surface.
  • -quadratureorder QuadratureOrder (int,1); default=10 β€” quadrature order for checking negative Jacobians.
  • -jacobiantolerance NegativeJacobianTolerance (float,1); default=0.0 β€” tolerance for the evaluation of negative Jacobians. how close to zero counts as a problem, basically.
  • -subdivisionmethod SubdivisionMethod (str,1) in ['linear', 'butterfly']; default=linear β€” subdivision method for surface elements. butterfly option is lowkey so cute πŸ¦‹ but linear is the default.
  • -hexahedranodes NumberOfNodesHexahedra (int,1); default=27 β€” Output hexahedral element type by # of nodes: 20 or 27 (see vtkQuadraticHexahedron and vtkTriQuadraticHexahedron classes in VTK documentation). yes she's citing her sources, we love a girl who reads the docs πŸ“š
  • -ofile MeshOutputFileName (str,1) β€” filename for the default Mesh writer. where the glow-up gets saved πŸ’Ύ
ngl bestie, keep your eyes on -mode, -biquadraticwedge and -hexahedranodes β€” those three are the ones deciding what kind of elements you actually walk away with. don't just let them default and then act surprised βœ‹

πŸ‘‘ Output arguments: πŸ‘‘

  • -id Id (str,1); default=0 β€” script id. she said the same thing twice and honestly? consistency.
  • -handle Self (self,1) β€” handle to self. still holding her own hand πŸ’œ
  • -o Mesh (vtkUnstructuredGrid,1) β€” the output mesh. the after picture. the quadratic serve. she ate and left no crumbs πŸ”₯

that's the whole page bestie, every option, every default, every last (str,1) and (bool,1) accounted for. nothing skipped, nothing invented, we are honest in this group chat πŸ’–βœ¨

vmtklineartoquadratic version 1.5, April 2026, iykyk β€” go make some quadratic elements and text me when you're done πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from