@@ -248,6 +248,10 @@ List of functions
248248 Converter.Internal.adaptNGon42NGon3
249249 Converter.Internal.adaptNFace2PE
250250 Converter.Internal.adaptPE2NFace
251+ Converter.adaptSurfaceNGon
252+ Converter.Internal.adaptBCFacePL2VertexPL
253+ Converter.Internal.adaptBCVertexPL2FacePL
254+
251255
252256Contents
253257#########
@@ -1321,9 +1325,10 @@ Check nodes
13211325.. py :function :: Converter.Internal.getSizeOf(node)
13221326
13231327 Return the size of input node and attached nodes in octets.
1328+ Works also on numpy, list of numpys, dict of numpys.
13241329
1325- :param node: input node
1326- :type node: pyTree node of list of pyTree nodes
1330+ :param node: input node
1331+ :type node: pyTree node of list of pyTree nodes
13271332 :return: size of node in octets
13281333 :rtype: int
13291334
@@ -3200,6 +3205,67 @@ Adapt NGON meshes
32003205
32013206---------------------------------------------------------------------------
32023207
3208+ .. py :function :: Internal.adaptSurfaceNGon(a, rmEmptyNFaceElements = True )
3209+
3210+ Adapt a surface NGon from (A: NGON=bars, NFACE=polygon)
3211+ to (B: NGON=polygon, NFACE=NULL), or vice versa.
3212+
3213+ :param a: input data (NGON)
3214+ :type a: [array, list of arrays] or [pyTree, base, zone, list of zones]
3215+ :param rmEmptyNFaceElements: if True, remove all empty NFaceElements nodes from the zones.
3216+ :type tol: boolean
3217+ :rtype: Identical to input
3218+
3219+ *Example of use: *
3220+
3221+ * `NGON surface mesh adaptation (pyTree) <Examples/Converter/adaptSurfaceNGonPT.py >`_:
3222+
3223+ .. literalinclude :: ../build/Examples/Converter/adaptSurfaceNGonPT.py
3224+
3225+ -----------------------------------------------------------------------------------
3226+
3227+ .. py :function :: Converter.Internal.adaptBCFacePL2VertexPL(t, bcs = None , btype = None , remove = False )
3228+
3229+ Adapts face point list into vertex point list for a list of BC_t nodes. Exists also as in-place (_adaptBCFacePL2VertexPL).
3230+
3231+ :param t: unstructured mesh
3232+ :type t: pyTree node or list of pyTree nodes
3233+ :param bcs: BC nodes on which to adapt face point list into vertex point list. If None, considers all BC nodes
3234+ :type bcs: optional pyTree node or list of pyTree nodes
3235+ :param btype: type of BC (BCWall, BCFarfield, FamilySpecified...) to consider. If None, does not filter `bcs ` by BCType
3236+ :type btype: string
3237+ :param remove: if True, removes all BCDataset nodes found in `bcs `
3238+ :type check: boolean
3239+
3240+ *Example of use: *
3241+
3242+ * `Creates vertex PointList arrays (pyTree) <Examples/Converter/adaptBCFacePL2VertexPLPT.py >`_:
3243+
3244+ .. literalinclude :: ../build/Examples/Converter/adaptBCFacePL2VertexPLPT.py
3245+
3246+ -----------------------------------------------------------------------------------
3247+
3248+ .. py :function :: Converter.Internal.adaptBCVertexPL2FacePL(t, bcs = None , btype = None , remove = False )
3249+
3250+ Adapts vertex point list into face point list for a list of BC_t nodes. Exists also as in-place (_adaptBCVertexPL2FacePL).
3251+
3252+ :param t: unstructured mesh
3253+ :type t: pyTree node or list of pyTree nodes
3254+ :param bcs: BC nodes on which to adapt vertex point list into face point list. If None, considers all BC nodes
3255+ :type bcs: optional pyTree node or list of pyTree nodes
3256+ :param btype: type of BC (BCWall, BCFarfield, FamilySpecified...) to consider. If None, does not filter `bcs ` by BCType
3257+ :type btype: string
3258+ :param remove: if True, removes all BCDataset nodes found in `bcs `
3259+ :type check: boolean
3260+
3261+ *Example of use: *
3262+
3263+ * `Creates face PointList arrays (pyTree) <Examples/Converter/adaptBCVertexPL2FacePLPT.py >`_:
3264+
3265+ .. literalinclude :: ../build/Examples/Converter/adaptBCVertexPL2FacePLLPT.py
3266+
3267+ -----------------------------------------------------------------------------------
3268+
32033269.. toctree ::
32043270 :maxdepth: 2
32053271
0 commit comments