The functions associated with a MapMesh object are the following.
*vis_MapMeshBegin - create an instance of a MapMesh object vis_MapMeshEnd - destroy an instance of a MapMesh object vis_MapMeshError - return MapMesh object error flag
vis_MapMeshDef - define number of points and patches Inq - inquire number of points and patches vis_MapMeshGenerate - generate finite element mesh vis_MapMeshGetInteger - retrieve status values vis_MapMeshSetCoordSys - define basic coordinate system. vis_MapMeshSetPatch - define a patch point connectivity vis_MapMeshSetPatchAssoc - set a patch association vis_MapMeshSetPatchParami - set a patch parameter vis_MapMeshSetPoint - define a point vis_MapMeshSetPointAssoc - set a point parameter vis_MapMeshSetParami - set mesh generation parameters GetParami - get mesh generation parameters
*vis_MapMeshBegin - create an instance of a MapMesh object
vis_MapMesh *vis_MapMeshBegin ()
None
Destroy an instance of a MapMesh object using
void vis_MapMeshEnd (vis_MapMesh *mapmesh)
Return the current value of a MapMesh object error flag using
Vint vis_MapMeshError (vis_MapMesh *mapmesh)
vis_MapMeshDef - define number of points and patches
void vis_MapMeshDef (vis_MapMesh *mapmesh, Vint numpnts, Vint numpats)
mapmesh Pointer to MapMesh object. numpnts Number of points numpats Number of paths
None
Inquire of defined numpnts and numpats as output arguments using
void vis_MapMeshInq (vis_MapMesh *mapmesh, Vint *numpnts, Vint *numpats)
vis_MapMeshGenerate - generate finite element mesh
void vis_MapMeshGenerate (vis_MapMesh *mapmesh, vis_Connect *connect)
mapmesh Pointer to MapMesh object. connect Pointer to Connect object to receive generated mesh
None
vis_MapMeshGetInteger - retrieve status information
void vis_MapMeshGetInteger (vis_MapMesh *mapmesh, Vint type, Vint iparam[])
mapmesh Pointer to MapMesh object. type Type of parameter to be queried =VIS_MESH_PROGRESS Currently generated parameters
iparam Values(s) retrieved
The query type VIS_MESH_PROGRESS returns information about the current state of the meshing process. This function is most useful when called from the monitor function. The following four integer values are returned.
iparam[0] Meshing phase Phase 1 - Node generation Phase 2 - Element generation Phase 3 - Cleanup iparam[1] Current number of nodes iparam[2] Current number of elements iparam[3] Estimate percent completion
vis_MapMeshSetCoordSys - define basic coordinate system.
void vis_MapMeshSetCoordSys (vis_MapMesh *mapmesh, vis_CoordSys *coordsys)
mapmesh Pointer to MapMesh object. coordsys Pointer to CoordSys object defining basic coordinate system
None
vis_MapMeshSetPatch - define parent patch
void vis_MapMeshSetPatch (vis_MapMesh *mapmesh, Vint id, Vint shape, Vint maxi, Vint maxj, Vint maxk, Vint pix[])
mapmesh Pointer to MapMesh object. id Patch id shape Patch shape parameter =VIS_SHAPELINE Line =VIS_SHAPEQUAD Quadrilateral =VIS_SHAPEHEX Hexahedron maxi The number of points along the i direction. If maxi = 0 then the linear element form of the specified shape is assumed. maxj The number of points along the j direction. If maxj = 0 and 2 <= maxi <= 4, then a Serendipity finite element is assumed. If 2 <= maxj and 2 <= maxi, then a Lagrange finite element is assumed. For triangle, tetrahedron and wedge shapes, set either maxj = 0 or maxj = maxi. maxk The number of points along the k direction. For tetrahedron shapes, set either maxk = 0 or maxk = maxi For hexahedron and wedge shapes, set either maxk = 2 or maxk = maxi pix Point connectivity of patch.
None
vis_MapMeshSetPatchAssoc - set parent patch associations
void vis_MapMeshSetPatchAssoc (vis_MapMesh *mapmesh, Vint type, Vint id, Vint enttype, Vint no, Vint assoc)
mapmesh Pointer to MapMesh object. type Type of association id Patch id enttype Entity type to which association is applied =SYS_EDGE Patch edge for node association =SYS_FACE Patch face for node association =SYS_ELEM Patch for element association no Patch edge or face number assoc Association
None
vis_MapMeshSetPatchParami - set a patch parameter
void vis_MapMeshSetPatchParami (vis_MapMesh *mapmesh, Vint id, Vint ptype, Vint iparam)
mapmesh Pointer to MapMesh object. id Patch id ptype Type of patch parameter to set =VIS_MESH_SHAPE Shape of generated elements =MAPMESH_NUMELEMI Number of elements in I direction =MAPMESH_NUMELEMJ Number of elements in J direction =MAPMESH_NUMELEMK Number of elements in K direction iparam Specifies the integer value that ptype will be set to. =VIS_SHAPELINE Line =VIS_SHAPETRI Triangle =VIS_SHAPEQUAD Quadrilateral =VIS_SHAPETET Tetrahedron =VIS_SHAPEPYR Pyramid =VIS_SHAPEWED Wedge =VIS_SHAPEHEX Hexahedron
None
The parameter VIS_MESH_SHAPE specifies the shape of generated elements. By default VIS_MESH_SHAPE is set to VIS_SHAPELINE.
The parameters MAPMESH_NUMELEMI, MAPMESH_NUMELEMJ and MAPMESH_NUMELEMK specify the number of elements to generate in the I, J and K directions. By default MAPMESH_NUMELEMI, MAPMESH_NUMELEMJ and MAPMESH_NUMELEMK are set to 1.
vis_MapMeshSetPoint - define a point
void vis_MapMeshSetPoint (vis_MapMesh *mapmesh, Vint id, Vfloat x[3])
mapmesh Pointer to MapMesh object. id Point id x Point coordinate location
None
vis_MapMeshSetPointAssoc - set a point association
void vis_MapMeshSetPointAssoc (vis_MapMesh *mapmesh, Vint type, Vint id, Vint aid)
mapmesh Pointer to MapMesh object. type Type of association id Point id aid Association
None
vis_MapMeshSetParami - set mesh generation parameters
void vis_MapMeshSetParami (vis_MapMesh *mapmesh, Vint ptype, Vint iparam)
mapmesh Pointer to MapMesh object. ptype Type of mesh parameter to set =VIS_MESH_LAGRANGE Nodal pattern of generated elements =VIS_MESH_MAXI Order of generated elements iparam Specifies the integer value that ptype will be set to. =VIS_OFF Turn parameter off =VIS_ON Turn parameter on
None
The parameter VIS_MESH_LAGRANGE toggles the generation of finite elements with a Lagrange or Serendipity nodal pattern. By default VIS_MESH_LAGRANGE is set to VIS_OFF.
The parameter VIS_MESH_MAXI sets the order of the generated finite elements by specifying the number of nodes to generate along an edge. Mapped mesh generation supports linear, parabolic and cubic elements. Mapped mesh generation will only generate elements of equal order in all directions. By default VIS_MESH_MAXI is set to 2.
Inquire of defined integer parameters as output arguments using
void vis_MapMeshSetParami (vis_MapMesh *mapmesh, Vint ptype, Vint *iparam)
The functions associated with a ExtMesh object are the following.
*vis_ExtMeshBegin - create an instance of a ExtMesh object vis_ExtMeshEnd - destroy an instance of a ExtMesh object vis_ExtMeshError - return ExtMesh object error flag
vis_ExtMeshAbort - abort mesh generation vis_ExtMeshDef - define number of section nodes, elements Inq - inquire number of section nodes, elements vis_ExtMeshGenerate - generate finite element mesh vis_ExtMeshGetInteger - retrieve status values vis_ExtMeshSetOriginTriad - define basic coordinate system. vis_ExtMeshSetElem - set a cross section element vis_ExtMeshSetElemAssoc - set a cross section element association vis_ExtMeshSetFunction - set a monitoring function vis_ExtMeshSetNode - set a cross section node vis_ExtMeshSetNodeAssoc - set a cross section node association vis_ExtMeshSetNodeNormal - set a cross section node normal vis_ExtMeshSetNormalPath - set layer parameter for normal extrusion vis_ExtMeshSetParami - set mesh generation parameters GetParami - get mesh generation parameters vis_ExtMeshSetParamd - set mesh generation parameters GetParamd - get mesh generation parameters vis_ExtMeshSetPath - define a path point connectivity vis_ExtMeshSetPathParami - define a path parameters vis_ExtMeshSetPoint - define a path point vis_ExtMeshSetPointAssoc - set a point association vis_ExtMeshWrite - write mesh description to file vis_ExtMeshRead - read mesh description from file
Normal extrusion may be done in multiple layers. Use vis_ExtMeshSetNormalPath to specify, for each layer, thickness fraction, number of elements through the thickness, and whether a layer of interface elements is to be added.
The user is able to define integer associations at nodes, elements, element edges, and points which will be assigned to the nodes, edges, faces, and elements of the generated entities. These associations are useful for identifying nodes and elements for the application of boundary conditions. Note that the nodes entered using vis_ExtMeshSetNode appear unchanged in the final mesh. The function vis_ExtMeshSetNodeAssoc is used to set associations at lines of nodes extruded from specified cross section nodes, The function vis_ExtMeshSetPointAssoc is used to set associations at nodes generated on nodal planes coincident to a specified point. The node associations are assigned before the point associations at any generated node. The function vis_ExtMeshSetElemAssoc is used to set edge or element associations at nodes, edges, and faces on the generated entities. Additional associations may be set using the function vis_ExtMeshSetParami. If the parameters EXTMESH_FACEMARK or EXTMESH_EDGEMARK are set, then if EXTMESH_NORMAL is not enabled, the faces or edges on the original and final cross-sections will have the association defined by the parameters have values of 1 and 2, respectively. If EXTMESH_NORMAL is enabled then the associations defined by the parameters will have values of 1, 2, 3, etc. until one plus the number of paths defined with vis_ExtMeshSetNormalPath.
As an option the cross section mesh may be extruded along normals specified at the cross section nodes. Use the function vis_ExtMeshSetParami to enable normal extrusion. If normal extrusion is enabled, then extrusion defined by a path is disabled. An important option for use with extrusion along node vectors is a local check to avoid creating inverted elements in areas of high convex curvature. Use the parameter EXTMESH_LOCALRECEDE to enable this option. If the node vectors create inverted elements, the extrusion distance is receded until proper elements result. The distances extruded along neighboring vectors are also receded to create a smoother mesh. The growth rate used to smooth the local recession is set using the function vis_ExtMeshSetParamd with the parameter EXTMESH_RECEDEGROWTHRATE.
The number of layers of elements to be extruded along each path segment is specified using vis_ExtMeshSetPathParami. If extrusion along nodal normals is selected, the number of layers is defined by the parameter EXTMESH_NORMAL_NUMLAYERS.
An option also exists when extruding an all quad mesh to generate an all tetrahedral mesh rather than an all hexahedral mesh. Set this option using vis_ExtMeshSetParami with the parameter EXTMESH_GENTET.
The parameter VIS_MESH_GROWTHRATE can be used to specify a growth rate from one layer to the next. If a path is employed, the growth rate only applies to the first path.
Finally the function vis_ExtMeshGenerate generates the nodes and finite elements and enters them into a Connect object. The generation process can be monitored or aborted by using vis_ExtMeshSetFunction to install a monitoring function. If the monitoring function calls vis_ExtMeshAbort the mesh generation is aborted.
The function vis_ExtMeshWrite is provided to write a complete description of the defined meshing parameters to a file. The primary use of this file is to encapsulate cases in which the ExtMesh module fails in some respect. This output file can then be made available to Visual Kinematics for failure diagnosis of ExtMesh meshing algorithms.
The following code fragment illustrates the basic framework of using the ExtMesh module to generate linear wedge finite elements extruded along a straight line from a cross section defined by a set of linear triangular elements.
/* declare objects */ vis_ExtMesh *extmesh; vis_Connect *connect; /* input cross section elements */ Vint numnode, numelem; Vdouble xnode[][3] = { ... }; Vint ixelem[][3] = { ... }; Vint numpnts, numpats; Vdouble xpath[2][3] = { ... }; Vint ixpath[2] = { 1,2 }; Vint ierr; numpnts = 2; numpats = 1; /* create extmesh object */ extmesh = vis_ExtMeshBegin (); vis_ExtMeshDef (extmesh,numnode); /* define cross section nodes and triangle elements */ for (i = 0; i < numnode; i++) { vis_ExtMeshSetNode (extmesh,i+1,xnode[i]); } for (i = 0; i < numelem; i++) { vis_ExtMeshSetElem (extmesh,i+1,VIS_SHAPETRI,maxi,maxj,ixelem[i]); } /* define path points and connectivity */ for (i = 0; i < numpnts; i++) { vis_ExtMeshSetPoint (extmesh,i+1,xpath[i]); } vis_ExtMeshSetPath (extmesh,2,ixpath); /* specify 3 layers of elements */ vis_ExtMeshSetPathParami (extmesh,1,VIS_MESH_NUMELEMENTS,3); /* create empty connect object to hold generated mesh */ connect = vis_ConnectBegin (); vis_ConnectDef (connect,0,0); /* generate mesh */ vis_ExtMeshGenerate (extmesh,connect); /* process any errors */ ierr = vis_ExtMeshError (extmesh); if(ierr) { ... } /* access generated nodes and elements from Connect */ ... /* delete objects */ vis_ConnectEnd (connect); vis_ExtMeshEnd (extmesh);Table of Contents
*vis_ExtMeshBegin - create an instance of a ExtMesh object
vis_ExtMesh *vis_ExtMeshBegin ()
None
Destroy an instance of a ExtMesh object using
void vis_ExtMeshEnd (vis_ExtMesh *extmesh)
Return the current value of a ExtMesh object error flag using
Vint vis_ExtMeshError (vis_ExtMesh *extmesh)
vis_ExtMeshAbort - abort the mesh generation
void vis_ExtMeshAbort (vis_ExtMesh *extmesh)
extmesh Pointer to ExtMesh object.
None
None
vis_ExtMeshDef - define number of section nodes, elements
void vis_ExtMeshDef (vis_ExtMesh *extmesh, Vint numnode, Vint numelem)
extmesh Pointer to ExtMesh object. numnode Number of nodes on cross section mesh numelem Number of elements on cross section mesh
None
Define point coordinates using vis_ExtMeshSetPoint and path connectivities which reference the input points using vis_ExtMeshSetPath.
Inquire of defined numnode, numelem as output arguments using
void vis_ExtMeshInq (vis_ExtMesh *extmesh, Vint *numnode, Vint *numelem)
vis_ExtMeshGetInteger - retrieve status information
void vis_ExtMeshGetInteger (vis_ExtMesh *extmesh, Vint type, Vint iparam[])
extmesh Pointer to ExtMesh object. type Type of parameter to be queried =VIS_MESH_PROGRESS Currently generated parameters =EXTMESH_NUMINTERSECT Number of intersecting elements =EXTMESH_INTERSECT Intersecting elements
iparam Values(s) retrieved
The query type EXTMESH_NUMINTERSECT returns the number of input elements which intersect. The query EXTMESH_INTERSECT will return the list of intersecting elements.
The query type VIS_MESH_PROGRESS returns information about the current state of the meshing process. This function is most useful when called from the monitor function. The following four integer values are returned.
iparam[0] Meshing phase Phase 1 - Pre-processing boundary data Phase 2 - Generating interior points iparam[1] Current number of nodes iparam[2] Current number of elements iparam[3] Estimate percent completion
vis_ExtMeshGenerate - generate finite element mesh
void vis_ExtMeshGenerate (vis_ExtMesh *extmesh, vis_Connect *connect)
extmesh Pointer to ExtMesh object. connect Pointer to Connect object to receive generated mesh
None
vis_ExtMeshSetOriginTriad - define a basic coordinate system.
void vis_ExtMeshSetOriginTriad (vis_ExtMesh *extmesh, Vint type, Vdouble x[3], Vdouble tm[3][3])
extmesh Pointer to ExtMesh object. type Coordinate system type. =SYS_CARTESIAN Cartesian system =SYS_CYLINDRICAL Cylindrical system =SYS_CYLINDRICAL_ALT Cylindrical alternate system =SYS_SPHERICAL Spherical system =SYS_SPHERICAL_ALT Spherical alternate system x Origin of coordinate system in global coordinates. tm Direction cosine matrix of system local axis.
None
Node coordinates input using vis_ExtMeshSetNode are always in the global coordinate system. All nodes generated by vis_ExtMeshGenerate are also in the global coordinates system.
vis_ExtMeshSetNode - define a node
void vis_ExtMeshSetNode (vis_ExtMesh *extmesh, Vint id, Vdouble x[3])
extmesh Pointer to ExtMesh object. id Node id x Node coordinate location
None
vis_ExtMeshSetNodeNormal - define a node normal
void vis_ExtMeshSetNodeNormal (vis_ExtMesh *extmesh, Vint id, Vdouble v[3])
extmesh Pointer to ExtMesh object. id Node id v Node normal
None
vis_ExtMeshSetNormalPath - set layer parameter for normal extrusion
void vis_ExtMeshSetNormalPath (vis_ExtMesh *extmesh, Vint numlayers, Vdouble fraction, Vint interflag)
extmesh Pointer to ExtMesh object. numlayers Number of extruded layers for given fraction fraction Fraction of total thickness to be extruded interflag Toggle for generating a layer of interface elements
None
vis_ExtMeshSetNodeAssoc - set a node association
void vis_ExtMeshSetNodeAssoc (vis_ExtMesh *extmesh, Vint type, Vint id, Vint aid)
extmesh Pointer to ExtMesh object. type Type of association id Node id aid Node association
None
vis_ExtMeshSetElem - define an element connectivity
void vis_ExtMeshSetElem (vis_ExtMesh *extmesh, Vint id, Vint shape, Vint maxi, Vint maxj, Vint ix[])
extmesh Pointer to ExtMesh object. id Element id shape Element shape =VIS_SHAPEPOINT Point =VIS_SHAPELINE Line =VIS_SHAPETRI Triangle =VIS_SHAPEQUAD Quadrilateral maxi The number of points along the i direction. If maxi = 0 then the linear element form of the specified shape is assumed. maxj The number of points along the j direction. If maxj = 0 and 2 <= maxi <= 3, then a Serendipity finite element is assumed. If 2 <= maxj and 2 <= maxi, then a Lagrange finite element is assumed. For triangle set either maxj = 0 or maxj = maxi. ix Element connectivity
None
vis_ExtMeshSetElemAssoc - define an element association
void vis_ExtMeshSetElemAssoc (vis_ExtMesh *extmesh, Vint type, Vint id, Vint enttype, Vint no, Vint aid)
extmesh Pointer to ExtMesh object. type Type of element association enttype Type of element entity =SYS_EDGE Element edge =SYS_ELEM Element id Element id no Element edge number aid Element association value
None
SYS_EDGE associations are assigned to all faces extruded from an edge. SYS_ELEM associations are assigned to all elements extruded from an element.
vis_ExtMeshSetFunction - set a function pointer
void vis_ExtMeshSetFunction (vis_ExtMesh *extmesh, Vint functype, void (*function)(vis_ExtMesh*,Vobject*), Vobject *object)
extmesh Pointer to ExtMesh object. functype The function type identifier =SYS_FUNCTION_MONITOR Monitoring function function Pointer to the function to be called object Pointer to a user object to be passed to the monitoring function
None
The methods vis_ExtMeshAbort and vis_ExtMeshGetInteger can be called from within the monitoring function if necessary. The first aborts the mesh generation, while the second provides information on its status.
vis_ExtMeshSetParami - set mesh generation parameters
void vis_ExtMeshSetParami (vis_ExtMesh *extmesh, Vint ptype, Vint iparam)
extmesh Pointer to ExtMesh object. ptype Type of mesh parameter to set =EXTMESH_EDGEMARK Extrusion plane edge associations =EXTMESH_ELEMMARK Normal path element associations =EXTMESH_FACEMARK Extrusion plane face associations =EXTMESH_GENTET Create all tet elements =EXTMESH_GLOBALRECEDE Toggle front intersection check =EXTMESH_LOCALRECEDE Toggle local element inversion check =EXTMESH_NORMAL Enable extrusion along node normals =EXTMESH_REVERSE Toggle element connectivity sense =EXTMESH_SMOOTHMIDSIDE Toggle normal vector interpolation at midside nodes iparam Specifies the integer value that ptype will be set to.
None
The parameter EXTMESH_NORMAL enables the extrusion of the cross section mesh along node normals specified by vis_ExtMeshSetNodeNormal. If this parameter is set to SYS_ON extrusion through a path is disabled. The magnitude of these normal vectors indicate the distance each node is extruded. By default EXTMESH_NORMAL is set to SYS_OFF.
The parameter EXTMESH_ELEMMARK specifies the association type that will be used to tag all elements belonging to a normal path. The association values on those elements will be 1 on the first path, 2 on the second path, and so on. These associations can be retrieved from the resulting Connect module with vis_ConnectElemAssoc. By default these associations are not set.
The parameter EXTMESH_FACEMARK specifies the association type that will be used to tag the faces on the first and last extrusion planes. The association values on those faces will be 1 and 2 on the first and last extrusion planes, respectively. These associations can be retrieved from the resulting Connect module with vis_ConnectAllElemEntAssoc with entity type set to SYS_FACE. By default these associations are not set.
The parameter EXTMESH_EDGEMARK specifies the association type that will be used to tag the edges on the first and last extrusion planes. The association values on those edges will be 1 and 2 on the first and last extrusion planes, respectively. These associations can be retrieved from the resulting Connect module with vis_ConnectAllElemEntAssoc with entity type set to SYS_EDGE. By default these associations are not set.
The parameter EXTMESH_GLOBALRECEDE toggles the global checking of front intersection and enabling the recession of the extrusion distance. By default EXTMESH_GLOBALRECEDE is set to SYS_OFF.
The parameter EXTMESH_LOCALRECEDE toggles the local checking of element inversion and enabling the recession of the extrusion distance. By default EXTMESH_LOCALRECEDE is set to SYS_OFF.
The parameter EXTMESH_GENTET toggles the generation of tetrahedron elements for pentahedron elements when extruding all triangle surfaces. By default EXTMESH_GENTET is set to SYS_OFF.
The parameter EXTMESH_REVERSE toggles the sense of the element connectivity generated during extrusion. This option is useful when generating boundary layer extrusions into the interior of a geometry defined by a surface mesh whose connectivty sense points to the exterior of the geometry. By default EXTMESH_REVERSE is set to SYS_OFF.
The parameter EXTMESH_SMOOTHMISIDE toggles the interpolation of the normal vector at the midside nodes. By default EXTMESH_SMOOTHMIDSIDE is set to SYS_ON.
Inquire of defined integer parameters as output arguments using
void vis_ExtMeshSetParami (vis_ExtMesh *extmesh, Vint ptype, Vint *iparam)
vis_ExtMeshSetParamd - set mesh generation parameters
void vis_ExtMeshSetParamd (vis_ExtMesh *extmesh, Vint ptype, Vdouble dparam)
extmesh Pointer to ExtMesh object. ptype Type of mesh parameter to set =VISMESH_GROWTHRATE Growth rate =EXTMESH_RECEDEGROWTHRATE Recession Growth rate dparam Specifies the value that ptype will be set to.
None
The parameter VIS_MESH_GROWTHRATE specifies a growth rate for the extruded size of element layers. If path extrusion is selected, then the growth rate is only applied to the extrusion defined by the first path. For second and subsequent paths the growth rate is unity. By default VIS_MESH_GROWTHRATE is set to unity.
The parameter VIS_MESH_RECEDEGROWTHRATE specifies a growth rate for the smoothing of local distance recession which may optionally occur when extruding along node vectors. By default VIS_MESH_RECEDEGROWTHRATE is set to 1.5.
Inquire of defined double precision parameters as output arguments using
void vis_ExtMeshSetParamd (vis_ExtMesh *extmesh, Vint ptype, Vdouble *dparam)
vis_ExtMeshSetPoint - define a path point
void vis_ExtMeshSetPoint (vis_ExtMesh *extmesh, Vint id, Vdouble x[3])
extmesh Pointer to ExtMesh object. id Point id x Point coordinate location
None
vis_ExtMeshSetPointAssoc - set a point association
void vis_ExtMeshSetPointAssoc (vis_ExtMesh *extmesh, Vint type, Vint id, Vint aid)
extmesh Pointer to ExtMesh object. type Type of association id Point id aid Point association
None
vis_ExtMeshSetPath - define a path connectivity
void vis_ExtMeshSetPath (vis_ExtMesh *extmesh, Vint maxi, Vint pix[])
extmesh Pointer to ExtMesh object. maxi Number of points in path, 2 <= maxi <= 4 pix Path connectivity
None
When called more than once, this function requires that the path be ordered, i.e., the first point defined on a new call to the function must equal the last point in the previous call.
An internal path id is assigned to each path as it is defined, starting from 1. This id is used in vis_ExtMeshSetPathParami.
vis_ExtMeshSetPathParami - define a path paramter
void vis_ExtMeshSetPathParami (vis_ExtMesh *extmesh, Vint id, Vint ptype, Vint iparam)
extmesh Pointer to ExtMesh object. id Path id ptype Type of path parameter to set =VIS_MESH_NUMELEMENTS Number of element layers iparam Specifies the integer value that ptype will be set to.
None
The parameter VIS_MESH_NUMELEMENTS specifies the number of layers of elements to be generated along path id. By default VIS_MESH_NUMELEMENTS is set to 1.
vis_ExtMeshRead - read mesh description from file
void vis_ExtMeshRead (vis_ExtMesh *extmesh, Vint type, const Vchar *path)
extmesh Pointer to ExtMesh object. type File type =SYS_ASCII ASCII format =SYS_BINARY Binary format path File path
None
vis_ExtMeshWrite - write mesh description to file
void vis_ExtMeshWrite (vis_ExtMesh *extmesh, Vint type, const Vchar *path)
extmesh Pointer to ExtMesh object. type File type =SYS_ASCII ASCII format =SYS_BINARY Binary format path File path
None