VMTKLINEARTOQUADRATIC(1)
π¦ 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 π¦ butlinearis the default.-hexahedranodes NumberOfNodesHexahedra(int,1); default=27β Output hexahedral element type by # of nodes: 20 or 27 (seevtkQuadraticHexahedronandvtkTriQuadraticHexahedronclasses 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,-biquadraticwedgeand-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
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms