Commit d507e549 by Christophe Geuzaine

Update gen.py

parent 0fc547cc
Pipeline #1196 passed with stage
in 35 minutes 33 seconds
......@@ -137,7 +137,7 @@ mesh.add('getLastVertexError',doc,None,ovectorint('vertexTags'))
doc = '''Gets the mesh vertices of the entity of dimension `dim' and `tag' tag. If `tag' < 0, gets the vertices for all entities of dimension `dim'. If `dim' and `tag' are negative, gets all the vertices in the mesh. `vertexTags' contains the vertex tags (their unique, strictly positive identification numbers). `coord' is a vector of length 3 times the length of `vertexTags' that contains the (x, y, z) coordinates of the vertices, concatenated. If `dim' >= 0, `parametricCoord' contains the parametric coordinates of the vertices, if available. The length of `parametricCoord' can be 0 or `dim' times the length of `vertexTags'.'''
mesh.add('getVertices',doc,None,ovectorint('vertexTags'),ovectordouble('coord'),ovectordouble('parametricCoord'),iint('dim', '-1'),iint('tag', '-1'))
doc = '''Gets the mesh elements of the entity of dimension `dim' and `tag' tag. If `tag' < 0, gets the elements for all entities of dimension `dim'. If `dim' and `tag' are negative, gets all the elements in the mesh. `elementTypes' contains the MSH types of the elements (e.g. `2' for 3-node triangles); the `getElementInfo' function can be used to get information about these types. `elementTags' is a vector of the same length as `elementTypes'; each entry is a vector containing the tags (unique, strictly positive identifiers) of the elements of the corresponding type. `vertexTags' is also a vector of the same length as `elementTypes'; each entry is a vector of length equal to the number of elements of the given type times the number of vertices for this type of element, that contains the vertex tags of all the elements of the given type, concatenated.'''
doc = '''Gets the mesh elements of the entity of dimension `dim' and `tag' tag. If `tag' < 0, gets the elements for all entities of dimension `dim'. If `dim' and `tag' are negative, gets all the elements in the mesh. `elementTypes' contains the MSH types of the elements (e.g. `2' for 3-node triangles: see `getElementProperties' to obtain the properties for a given element type). `elementTags' is a vector of the same length as `elementTypes'; each entry is a vector containing the tags (unique, strictly positive identifiers) of the elements of the corresponding type. `vertexTags' is also a vector of the same length as `elementTypes'; each entry is a vector of length equal to the number of elements of the given type times the number of vertices for this type of element, that contains the vertex tags of all the elements of the given type, concatenated.'''
mesh.add('getElements',doc,None,ovectorint('elementTypes'),ovectorvectorint('elementTags'),ovectorvectorint('vertexTags'),iint('dim', '-1'),iint('tag', '-1'))
doc = '''Gets the properties of an element of type `elementType': its name (`elementName'), dimension (`dim'), order (`order'), number of vertices (`numVertices') and parametric coordinates of vertices (`parametricCoord' vector, of length `dim' times `numVertices').'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment