Pointwise Plugin SDK
|
Functions | |
PWP_BOOL | PwAsmFinalize (PWGM_HBLOCKASSEMBLER h) |
Stitches together all the faces added to the assembler into cells and blocks. More... | |
PWGM_HVERTEXLIST | PwAsmGetVertexList (PWGM_HBLOCKASSEMBLER h) |
Get the vertex list associated with an unstructured block assembler. More... | |
PWP_BOOL | PwAsmPushElementFace (PWGM_HBLOCKASSEMBLER h, const PWGM_ASSEMBLER_DATA *face) |
Adds a face to an unstructured block face assembler. More... | |
PWGM_HVERTEXLIST | PwModCreateUnsVertexList (PWGM_HGRIDMODEL model, const PWP_ENUM_DIMENSION blkElemDimty) |
Creates an empty, unstructured vertex list in a model. More... | |
PWGM_HVERTEXLIST | PwModCreateUnsVertexList2 (PWGM_HGRIDMODEL model) |
Creates an empty, unstructured vertex list in a model for 2-D blocks and 1-D domains. More... | |
PWGM_HVERTEXLIST | PwModCreateUnsVertexList3 (PWGM_HGRIDMODEL model) |
Creates an empty, unstructured vertex list in a model for 3-D blocks and 2-D domains. More... | |
PWP_BOOL | PwUnsBlkAllocateElementCounts (PWGM_HBLOCK h, const PWGM_ELEMCOUNTS &counts) |
Allocates element storage in an unstructured block. More... | |
PWP_BOOL | PwUnsBlkAllocateElements (PWGM_HBLOCK h, const PWGM_ENUM_ELEMTYPE cellType, const PWP_UINT count) |
Allocates element storage in an unstructured block. More... | |
PWP_BOOL | PwUnsBlkSetElement (PWGM_HBLOCK h, const PWP_UINT ndx, const PWGM_ELEMDATA *eData) |
Sets the connectivity for an unstructured block element. More... | |
PWP_BOOL | PwUnsDomAllocateElementCounts (PWGM_HDOMAIN h, const PWGM_ELEMCOUNTS &counts) |
Allocates element storage in an unstructured domain. More... | |
PWP_BOOL | PwUnsDomAllocateElements (PWGM_HDOMAIN h, const PWGM_ENUM_ELEMTYPE cellType, const PWP_UINT count) |
Allocates element storage in an unstructured domain. More... | |
PWP_BOOL | PwUnsDomSetElement (PWGM_HDOMAIN h, const PWP_UINT ndx, const PWGM_ELEMDATA *eData) |
Sets the connectivity for an unstructured domain element. More... | |
PWP_BOOL | PwVlstAllocate (PWGM_HVERTEXLIST h, const PWP_UINT count) |
Allocates storage in an unstructured vertex list. More... | |
PWGM_HBLOCKASSEMBLER | PwVlstCreateBlockAssembler (PWGM_HVERTEXLIST h) |
Creates an unstructured block face assembler that uses vertices from an unstructured vertex list. More... | |
PWGM_HBLOCK | PwVlstCreateUnsBlock (PWGM_HVERTEXLIST h) |
Creates an unstructured block that uses vertices from an unstructured vertex list. More... | |
PWGM_HDOMAIN | PwVlstCreateUnsDomain (PWGM_HVERTEXLIST h) |
Creates an unstructured domain that uses vertices from an unstructured vertex list. More... | |
PWGM_HDOMAIN | PwVlstCreateUnsBoundary (PWGM_HVERTEXLIST h) |
These functions are used to import unstructured grids.
PWP_BOOL PwAsmFinalize | ( | PWGM_HBLOCKASSEMBLER | h | ) |
Stitches together all the faces added to the assembler into cells and blocks.
To be successful, all the faces of a cell (owned or neighbor) must form a closed, manifold, watertight region.
h | A block assmebler handle obtained from PwVlstCreateBlockAssembler(). |
Definition at line 1340 of file apiGridModel.cxx.
References PWP_FALSE.
PWGM_HVERTEXLIST PwAsmGetVertexList | ( | PWGM_HBLOCKASSEMBLER | h | ) |
Get the vertex list associated with an unstructured block assembler.
h | A block assmebler handle obtained from PwVlstCreateBlockAssembler(). |
Definition at line 1348 of file apiGridModel.cxx.
PWP_BOOL PwAsmPushElementFace | ( | PWGM_HBLOCKASSEMBLER | h, |
const PWGM_ASSEMBLER_DATA * | face | ||
) |
Adds a face to an unstructured block face assembler.
h | A block assmebler handle obtained from PwVlstCreateBlockAssembler(). |
face | Pointer to an PWGM_ASSEMBLER_DATA. |
Definition at line 1331 of file apiGridModel.cxx.
References PWP_FALSE.
PWGM_HVERTEXLIST PwModCreateUnsVertexList | ( | PWGM_HGRIDMODEL | model, |
const PWP_ENUM_DIMENSION | blkElemDimty | ||
) |
Creates an empty, unstructured vertex list in a model.
model | The grid model handle. |
blkElemDimty | The dimensionality of the block entity elements that will be created with this vertex list. |
If PWP_DIMENSION_3D, blocks will contain 3-D elements (tet, pyramid, etc) and domains will contain 2-D elements (tri, quad).
If PWP_DIMENSION_2D, blocks will contain 2-D elements (tri, quad) and domains will contain 1-D bar elements.
This snippet is from the GrdpTEST sample plugin included with the Plugin SDK.
Definition at line 1193 of file apiGridModel.cxx.
Referenced by PwModCreateUnsVertexList2(), and PwModCreateUnsVertexList3().
PWGM_HVERTEXLIST PwModCreateUnsVertexList2 | ( | PWGM_HGRIDMODEL | model | ) |
Creates an empty, unstructured vertex list in a model for 2-D blocks and 1-D domains.
model | The grid model handle. |
This snippet is from the GrdpTEST sample plugin included with the Plugin SDK.
Definition at line 1210 of file apiGridModel.cxx.
References PwModCreateUnsVertexList(), and PWP_DIMENSION_2D.
PWGM_HVERTEXLIST PwModCreateUnsVertexList3 | ( | PWGM_HGRIDMODEL | model | ) |
Creates an empty, unstructured vertex list in a model for 3-D blocks and 2-D domains.
model | The grid model handle. |
This snippet is from the GrdpTEST sample plugin included with the Plugin SDK.
Definition at line 1203 of file apiGridModel.cxx.
References PwModCreateUnsVertexList(), and PWP_DIMENSION_3D.
PWP_BOOL PwUnsBlkAllocateElementCounts | ( | PWGM_HBLOCK | h, |
const PWGM_ELEMCOUNTS & | counts | ||
) |
Allocates element storage in an unstructured block.
h | An unstructured block handle obtained from PwVlstCreateUnsBlock(). |
counts | The number of elements to allocate for each type. Only the PWGM_ELEMTYPE_HEX, PWGM_ELEMTYPE_TET, PWGM_ELEMTYPE_WEDGE, and PWGM_ELEMTYPE_PYRAMID entries are used. All others are ignored. |
Definition at line 1243 of file apiGridModel.cxx.
References PwBlkGetVertexList(), PWGM_ECNT_Hex, PWGM_ECNT_Pyramid, PWGM_ECNT_Quad, PWGM_ECNT_Tet, PWGM_ECNT_Tri, PWGM_ECNT_Wedge, PWGM_ELEMTYPE_HEX, PWGM_ELEMTYPE_PYRAMID, PWGM_ELEMTYPE_QUAD, PWGM_ELEMTYPE_TET, PWGM_ELEMTYPE_TRI, PWGM_ELEMTYPE_WEDGE, PWP_DIMENSION_3D, PwUnsBlkAllocateElements(), and PwVlstGetBlkElemDimensionality().
PWP_BOOL PwUnsBlkAllocateElements | ( | PWGM_HBLOCK | h, |
const PWGM_ENUM_ELEMTYPE | cellType, | ||
const PWP_UINT | count | ||
) |
Allocates element storage in an unstructured block.
h | An unstructured block handle obtained from PwVlstCreateUnsBlock(). |
cellType | The cell type for which storage is being allocated. One of PWGM_ELEMTYPE_HEX, PWGM_ELEMTYPE_TET, PWGM_ELEMTYPE_WEDGE, or PWGM_ELEMTYPE_PYRAMID. |
count | The number of elements to allocate. |
Definition at line 1233 of file apiGridModel.cxx.
References PWP_FALSE.
Referenced by PwUnsBlkAllocateElementCounts().
PWP_BOOL PwUnsBlkSetElement | ( | PWGM_HBLOCK | h, |
const PWP_UINT | ndx, | ||
const PWGM_ELEMDATA * | eData | ||
) |
Sets the connectivity for an unstructured block element.
h | An unstructured block handle obtained from PwVlstCreateUnsBlock(). |
ndx | The block element index. |
eData | The block element connectivity. Only the eData.type , eData.vertCnt , and eData.index data members are used. The eData.vert data member is ignored. |
Definition at line 1266 of file apiGridModel.cxx.
References PWP_FALSE.
PWP_BOOL PwUnsDomAllocateElementCounts | ( | PWGM_HDOMAIN | h, |
const PWGM_ELEMCOUNTS & | counts | ||
) |
Allocates element storage in an unstructured domain.
h | An unstructured domain handle obtained from PwVlstCreateUnsDomain() or PwVlstCreateUnsBoundary(). |
counts | The number of elements to allocate for each type. Only the PWGM_ELEMTYPE_TRI and PWGM_ELEMTYPE_QUAD entries are used. All others are ignored. |
Definition at line 1304 of file apiGridModel.cxx.
References PWGM_ECNT_Quad, PWGM_ECNT_Tri, PWGM_ELEMTYPE_QUAD, PWGM_ELEMTYPE_TRI, and PwUnsDomAllocateElements().
PWP_BOOL PwUnsDomAllocateElements | ( | PWGM_HDOMAIN | h, |
const PWGM_ENUM_ELEMTYPE | cellType, | ||
const PWP_UINT | count | ||
) |
Allocates element storage in an unstructured domain.
h | An unstructured domain handle obtained from PwVlstCreateUnsDomain() or PwVlstCreateUnsBoundary(). |
cellType | The cell type for which storage is being allocated. One of PWGM_ELEMTYPE_TRI or PWGM_ELEMTYPE_QUAD. |
count | The number of elements to allocate. |
Definition at line 1295 of file apiGridModel.cxx.
References PWP_FALSE.
Referenced by PwUnsDomAllocateElementCounts().
PWP_BOOL PwUnsDomSetElement | ( | PWGM_HDOMAIN | h, |
const PWP_UINT | ndx, | ||
const PWGM_ELEMDATA * | eData | ||
) |
Sets the connectivity for an unstructured domain element.
h | An unstructured domain handle obtained from PwVlstCreateUnsDomain() or PwVlstCreateUnsBoundary(). |
ndx | The domain element index. |
eData | The domain element connectivity. Only the eData.type, eData.vertCnt, and eData.index data members are used. The eData.vert data member is ignored. |
Definition at line 1314 of file apiGridModel.cxx.
References PWP_FALSE.
PWP_BOOL PwVlstAllocate | ( | PWGM_HVERTEXLIST | h, |
const PWP_UINT | count | ||
) |
Allocates storage in an unstructured vertex list.
h | A vertex list handle. |
count | The number of points to allocate. |
Definition at line 1217 of file apiGridModel.cxx.
PWGM_HBLOCKASSEMBLER PwVlstCreateBlockAssembler | ( | PWGM_HVERTEXLIST | h | ) |
Creates an unstructured block face assembler that uses vertices from an unstructured vertex list.
h | A vertex list handle. |
These snippets are from the GrdpTEST sample plugin included with the Plugin SDK.
Given this vertex list:
The doCreateUnsBlkFaceBased() function creates an unstructured block and loads its elements:
The doCreateUnsDomFaceBased() function creates an unstructured domain and loads its elements:
The doCreateUnsBlkFaceBased() helper functions:
Definition at line 1323 of file apiGridModel.cxx.
PWGM_HBLOCK PwVlstCreateUnsBlock | ( | PWGM_HVERTEXLIST | h | ) |
Creates an unstructured block that uses vertices from an unstructured vertex list.
h | A vertex list handle. |
These snippets are from the GrdpTEST sample plugin included with the Plugin SDK.
Given this vertex list:
The doCreateUnsBlkCellBased() function creates an unstructured block and loads its elements:
Definition at line 1225 of file apiGridModel.cxx.
PWGM_HDOMAIN PwVlstCreateUnsBoundary | ( | PWGM_HVERTEXLIST | h | ) |
Used to create an unstructured domain that is part of an unstructured block boundary.
Definition at line 1283 of file apiGridModel.cxx.
References PwDomSetProperty(), and PwVlstCreateUnsDomain().
PWGM_HDOMAIN PwVlstCreateUnsDomain | ( | PWGM_HVERTEXLIST | h | ) |
Creates an unstructured domain that uses vertices from an unstructured vertex list.
A boundary condition will be created if a condition user name is assigned. The condition user id, type name, and type id values are optional.
h | A vertex list handle. |
These snippets are from the GrdpTEST sample plugin included with the Plugin SDK.
Given this vertex list:
The doCreateUnsDomCellBased() function creates an unstructured domain and loads its elements:
Used to create a stand-alone, "free" unstructured domain that is not intended to be part of a block's boundary.
Definition at line 1275 of file apiGridModel.cxx.
Referenced by PwVlstCreateUnsBoundary().