Pointwise Plugin SDK
apiGridModel.h
Go to the documentation of this file.
1 #ifndef _APIGRIDMODEL_H_
2 #define _APIGRIDMODEL_H_
3 /****************************************************************************
4  *
5  * Pointwise PWGM API (PWGM-API) v1.0
6  *
7  * Proprietary software product of Pointwise, Inc.
8  * Copyright (c) 1995-2020 Pointwise, Inc.
9  * All rights reserved.
10  *
11  ***************************************************************************/
12 
13 // See comments in core code for information on adding new PWGM API functions.
14 
15 #include <stdio.h>
16 
17 #include "apiPWP.h"
18 
19 #if defined(WINDOWS) && defined(SHOW_PWGM_MESSAGES)
20 # if !defined(PWGM_HIDE_EXPORT_API)
21 
22 # define PWGM_HIDE_IMPORT_API
23 # if !defined(PWGM_HIDE_UNSTRUCTURED_API) && defined(PWGM_HIDE_STRUCTURED_API)
24 # pragma message ("FYI: Using Unstructured Export PWGM API")
25 # elif defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_STRUCTURED_API)
26 # pragma message ("FYI: Using Structured Export PWGM API")
27 # elif !defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_STRUCTURED_API)
28 # pragma message ("WARNING: Using Hybrid Export PWGM API")
29 # else //defined(PWGM_HIDE_UNSTRUCTURED_API) && defined(PWGM_HIDE_STRUCTURED_API)
30 # error ("ERROR: Export PWGM API is INVISIBLE!")
31 # endif
32 
33 # else // !defined(PWGM_HIDE_EXPORT_API)
34 
35 # pragma message ("FYI: Using Import PWGM API")
36 
37 # endif // !defined(PWGM_HIDE_EXPORT_API)
38 #endif // WINDOWS && SHOW_PWP_MESSAGES
39 
40 
60 #undef PW_DLL_IMPEXP
61 #ifdef BUILD_GGPLUGIN
62 # define PW_DLL_IMPEXP PW_DLLEXPORT
63 #else
64 # define PW_DLL_IMPEXP PW_DLLIMPORT
65 #endif
66  // sdkINTERNALS
67 
68 /*
69 
70 The Pointwise CAE Plugin API
71  Using C++
72  CAE Plugin Classes
73  Grid Model Classes
74  Using C
75  Progress Handling
76  CAE Plugin File Handling
77  CAE Value to Text Functions
78  CAEP Message Handling
79  CAEP Variable Manager Tools
80  CAEP Macros
81  GRDP Message Handling
82  GRDP Variable Manager Tools
83  GRDP Macros
84  Pointwise Grid Model API Specification (PWGM-API)
85  Platform Endian Handling
86  Unformatted FORTRAN File Handling
87 Pointwise Grid Import Plugin API
88  Using C++
89  GRDP Plugin Classes
90  Grid Model Classes
91  Using C
92 The Pointwise Grid Model API
93  Using C++
94  Using C
95 Miscellaneous Data Types and Classes
96 The Low Level Plugin API Functions
97  Pointwise CAE Plugin API Specification (CAEP-API)
98  Pointwise Grid Import Plugin API Specification (GRDP-API)
99  Pointwise Plugin API Specification (PWP-API)
100 
101 */
102 
103 extern "C" {
104 
105 /***********************************************************/
109 /***********************************************************/
137 /***********************************************************/
156 /***********************************************************/ // end DOXGRP_APIPWGM_IMPORT
168 
169  // DOXGRP_APIPWGM_IMPORT_UNS
216 
217  // DOXGRP_APIPWGM_IMPORT_STR
244 
245 
246 
247 /***********************************************************/
251 /***********************************************************/
330 #define PWGM_HGRIDMODEL_ISVALID(h) PWP_HANDLE_ISVALID(h)
331 
334 #define PWGM_HGRIDMODEL_INIT PWP_HANDLE_INIT
335 
336 #define PWGM_HGRIDMODEL_SET(h, v) PWP_HANDLE_SET(h, v)
337 
338 #define PWGM_HGRIDMODEL_SET_INVALID(h) PWGM_HGRIDMODEL_SET(h, PWP_HANDLE_INIT)
339 
340 #define PWGM_HGRIDMODEL_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)h)
341 
342 #define PWGM_HGRIDMODEL_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)h)
343  // sdkINTERNALS
344 
348 
350 #define PWGM_HBLOCK_ISVALID(h) PWP_HEGRP_ISVALID(h)
351 
354 #define PWGM_HBLOCK_INIT PWP_HEGRP_INIT
355 
356 #define PWGM_HBLOCK_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
357 
358 #define PWGM_HBLOCK_SET_INVALID(h) PWGM_HBLOCK_SET(h, 0, PWP_BADID)
359 
360 #define PWGM_HBLOCK_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
361 
362 #define PWGM_HBLOCK_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWP_HEGRP_H(h))
363  // sdkINTERNALS
364 
366 #define PWGM_HBLOCK_H(h) PWP_HEGRP_H(h)
367 
368 #define PWGM_HBLOCK_ID(h) PWP_HEGRP_ID(h)
369 
370 #define PWGM_HBLOCK_MODEL(h) PWP_HEGRP_H(h)
371 
376 #define PWGM_HDOMAIN_ISVALID(h) PWP_HEGRP_ISVALID(h)
377 
380 #define PWGM_HDOMAIN_INIT PWP_HEGRP_INIT
381 
382 #define PWGM_HDOMAIN_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
383 
384 #define PWGM_HDOMAIN_SET_INVALID(h) PWGM_HDOMAIN_SET(h, 0, PWP_BADID)
385 
386 #define PWGM_HDOMAIN_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
387 
388 #define PWGM_HDOMAIN_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWP_HEGRP_H(h))
389  // sdkINTERNALS
390 
392 #define PWGM_HDOMAIN_H(h) PWP_HEGRP_H(h)
393 
394 #define PWGM_HDOMAIN_ID(h) PWP_HEGRP_ID(h)
395 
396 #define PWGM_HDOMAIN_MODEL(h) PWP_HEGRP_H(h)
397 
402 #define PWGM_HVERTEX_ISVALID(h) PWP_HEGRP_ISVALID(h)
403 
406 #define PWGM_HVERTEX_INIT PWP_HEGRP_INIT
407 
408 #define PWGM_HVERTEX_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
409 
410 #define PWGM_HVERTEX_SET_INVALID(h) PWGM_HVERTEX_SET(h, 0, PWP_BADID)
411 
412 #define PWGM_HVERTEX_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
413  // sdkINTERNALS
414 
416 #define PWGM_HVERTEX_H(h) PWP_HEGRP_H(h)
417 
418 #define PWGM_HVERTEX_ID(h) PWP_HEGRP_ID(h)
419 
420 #define PWGM_HVERTEX_MODEL(h) PWP_HEGRP_H(h)
421 
422 
426 
427 
431 #define PWGM_HELEMENT_ISVALID(h) PWP_HEGI_ISVALID(h)
432 
435 #define PWGM_HELEMENT_INIT PWP_HEGI_INIT
436 
437 #define PWGM_HELEMENT_SET(h,p,tt,sv,v) PWP_HEGI_SET(h,p,tt,sv,v)
438 
439 #define PWGM_HELEMENT_SET_INVALID(h) PWGM_HELEMENT_SET(h, 0, PWP_BADTYPE, \
440  PWP_BADID, PWP_BADID)
441 
442 #define PWGM_HELEMENT_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWGM_HELEMENT_MODEL(h))
443  // sdkINTERNALS
444 
446 #define PWGM_HELEMENT_H(h) PWP_HEGI_H(h)
447 
448 #define PWGM_HELEMENT_PID(h) PWP_HEGI_PID(h)
449 
450 #define PWGM_HELEMENT_PTYPE(h) PWP_HEGI_PTYPE(h)
451 
452 #define PWGM_HELEMENT_ID(h) PWP_HEGI_ID(h)
453 
454 #define PWGM_HELEMENT_MODEL(h) PWP_HEGI_H(h)
455 
456 
461 #define PWGM_HBNDRY_ISVALID(h) PWP_HEGRP_ISVALID(h)
462 
465 # define PWGM_HBNDRY_INIT PWP_HEGRP_INIT
466 
467 # define PWGM_HBNDRY_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
468 
469 # define PWGM_HBNDRY_SET_INVALID(h) PWGM_HBNDRY_SET(h, 0, PWP_BADID)
470 
471 #define PWGM_HBNDRY_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
472  // sdkINTERNALS
473 
475 #define PWGM_HBNDRY_H(h) PWP_HEGRP_H(h)
476 
477 #define PWGM_HBNDRY_ID(h) PWP_HEGRP_ID(h)
478 
479 #define PWGM_HBNDRY_MODEL(h) PWP_HEGRP_H(h)
480 
481 
486 #define PWGM_HCNXN_ISVALID(h) PWP_HEGRP_ISVALID(h)
487 
490 # define PWGM_HCNXN_INIT PWP_HEGRP_INIT
491 
492 # define PWGM_HCNXN_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
493 
494 # define PWGM_HCNXN_SET_INVALID(h) PWGM_HCNXN_SET(h, 0, PWP_BADID)
495 
496 #define PWGM_HCNXN_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
497  // sdkINTERNALS
498 
500 #define PWGM_HCNXN_H(h) PWP_HEGRP_H(h)
501 
502 #define PWGM_HCNXN_ID(h) PWP_HEGRP_ID(h)
503 
504 #define PWGM_HCNXN_MODEL(h) PWP_HEGRP_H(h)
505 
506 
507 //---------------------------------------------------------------------------
511 #define PWGM_HCONNECTOR_ISVALID(h) PWP_HEGRP_ISVALID(h)
512 
515 #define PWGM_HCONNECTOR_INIT PWP_HEGRP_INIT
516 #define PWGM_HCONNECTOR_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
518 #define PWGM_HCONNECTOR_SET_INVALID(h) PWGM_HCONNECTOR_SET(h, 0, PWP_BADID)
520 #define PWGM_HCONNECTOR_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWP_HEGRP_H(h))
522 
525 #define PWGM_HCONNECTOR_H(h) PWP_HEGRP_H(h)
526 #define PWGM_HCONNECTOR_ID(h) PWP_HEGRP_ID(h)
528 #define PWGM_HCONNECTOR_MODEL(h) PWP_HEGRP_H(h)
530 
531 
532 //---------------------------------------------------------------------------
536 
540 #define PWGM_HVERTEXLIST_ISVALID(h) PWP_HEGI_ISVALID(h)
541 
544 #define PWGM_HVERTEXLIST_INIT PWP_HEGI_INIT
545 
546 #define PWGM_HVERTEXLIST_SET(h,p,tt,sv,v) PWP_HEGI_SET(h,p,tt,sv,v)
547 
548 #define PWGM_HVERTEXLIST_SET_INVALID(h) PWGM_HVERTEXLIST_SET(h, 0, \
549  PWP_BADTYPE, PWP_BADID, PWP_BADID)
550 
551 #define PWGM_HVERTEXLIST_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWGM_HVERTEXLIST_MODEL(h))
552  // sdkINTERNALS
553 
555 #define PWGM_HVERTEXLIST_H(h) PWP_HEGI_H(h)
556 
557 #define PWGM_HVERTEXLIST_PID(h) PWP_HEGI_PID(h)
558 
559 #define PWGM_HVERTEXLIST_PTYPE(h) PWP_HEGI_PTYPE(h)
560 
561 #define PWGM_HVERTEXLIST_ID(h) PWP_HEGI_ID(h)
562 
563 #define PWGM_HVERTEXLIST_MODEL(h) PWP_HEGI_H(h)
564 
565 
566 //---------------------------------------------------------------------------
570 #define PWGM_HBLOCKASSEMBLER_ISVALID(h) PWP_HEGRP_ISVALID(h)
571 
574 #define PWGM_HBLOCKASSEMBLER_INIT PWP_HEGRP_INIT
575 #define PWGM_HBLOCKASSEMBLER_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
577 #define PWGM_HBLOCKASSEMBLER_SET_INVALID(h) PWGM_HBLOCKASSEMBLER_SET(h, 0, PWP_BADID)
579 #define PWGM_HBLOCKASSEMBLER_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWP_HEGRP_H(h))
581 
584 #define PWGM_HBLOCKASSEMBLER_H(h) PWP_HEGRP_H(h)
585 #define PWGM_HBLOCKASSEMBLER_ID(h) PWP_HEGRP_ID(h)
587 #define PWGM_HBLOCKASSEMBLER_MODEL(h) PWP_HEGRP_H(h)
589 
593 /*---------------------------------------------------------*/
594 /* UNSTRUCTURED AND STRUCTURED GRID DATATYPES */
595 /*---------------------------------------------------------*/
596 
597 
603 
604 
609 struct PW_DLL_IMPEXP PWGM_VERTDATA {
614 };
615 
616 
618 /*---------------------------------------------------------*/
623 enum PWGM_XYZ_CLUSTERING {
624  PWGM_CLUSTERING_XYXY,
625  PWGM_CLUSTERING_XXYY,
626  PWGM_CLUSTERING_XYZXYZ,
627  PWGM_CLUSTERING_XXYYZZ,
628 
632  PWGM_CLUSTERING_SIZE,
633  PWGM_CLUSTERING_LAST = PWGM_CLUSTERING_SIZE - 1
634  /* @} */ // sdkINTERNALS
636 };
638 
639 
646 struct PW_DLL_IMPEXP PWGM_CONDDATA {
647  const char * name;
649  const char * type;
651 };
652 
657 #define PWGM_UNSPECIFIED_COND_ID PWP_UINT32(2147483647)
658 
663 #define PWGM_UNSPECIFIED_TYPE_ID PWP_UINT32(0)
664 
665 
666 /*---------------------------------------------------------*/
667 /* UNSTRUCTURED GRID DATATYPES */
668 /*---------------------------------------------------------*/
669 
683  /* add new enum values before this line */
684 
688  PWGM_ELEMTYPE_SIZE,
689  PWGM_ELEMTYPE_LAST = PWGM_ELEMTYPE_SIZE-1
690  /* @} */ // sdkINTERNALS
692 };
693 
694 
714  /* add new enum values before this line */
715 
719  PWGM_ELEMORDER_SIZE,
720  PWGM_ELEMORDER_LAST = PWGM_ELEMORDER_SIZE-1
721  /* @} */ // sdkINTERNALS
723 };
724 
725 
730 #define PWGM_ELEMDATA_VERT_SIZE 8
731 
732 
737 struct PW_DLL_IMPEXP PWGM_ELEMDATA {
742 };
743 
744 
749 struct PW_DLL_IMPEXP PWGM_ENUMELEMDATA {
752 };
753 
754 
759 struct PW_DLL_IMPEXP PWGM_ELEMCOUNTS {
765  PWP_UINT32 count[PWGM_ELEMTYPE_SIZE];
766 };
767 
773 #define PWGM_ECNT_Point(ecs) (ecs).count[PWGM_ELEMTYPE_POINT]
774 
779 #define PWGM_ECNT_Bar(ecs) (ecs).count[PWGM_ELEMTYPE_BAR]
780 
785 #define PWGM_ECNT_Hex(ecs) (ecs).count[PWGM_ELEMTYPE_HEX]
786 
791 #define PWGM_ECNT_Quad(ecs) (ecs).count[PWGM_ELEMTYPE_QUAD]
792 
797 #define PWGM_ECNT_Tri(ecs) (ecs).count[PWGM_ELEMTYPE_TRI]
798 
803 #define PWGM_ECNT_Tet(ecs) (ecs).count[PWGM_ELEMTYPE_TET]
804 
809 #define PWGM_ECNT_Wedge(ecs) (ecs).count[PWGM_ELEMTYPE_WEDGE]
810 
815 #define PWGM_ECNT_Pyramid(ecs) (ecs).count[PWGM_ELEMTYPE_PYRAMID]
816 
817 
818 
827  // add new enum values before this line
828 
832  PWGM_XYZ_SIZE,
833  PWGM_XYZ_LAST = PWGM_XYZ_SIZE-1
834  /* @} */ // sdkINTERNALS
836 };
837 
838 
839 
840 /*---------------------------------------------------------*/
841 /* STRUCTURED GRID DATATYPES */
842 /*---------------------------------------------------------*/
843 
848 
852  PWGM_GRIDTYPE_SIZE,
853  PWGM_GRIDTYPE_LAST = PWGM_GRIDTYPE_SIZE-1
854  /* @} */ // sdkINTERNALS
856 };
857 
858 
861 struct PW_DLL_IMPEXP PWGM_INDEX3 {
865 };
866 
867 /*---------------------------------------------------------*/
870 struct PW_DLL_IMPEXP PWGM_INDEX2 {
873 };
874 
877 typedef PWGM_INDEX3 PW_DLL_IMPEXP PWGM_STR_SIZE;
878 
879 
882 struct PW_DLL_IMPEXP PWGM_STR_RANGE {
885 };
886 
887 
894 struct PW_DLL_IMPEXP PWGM_INDEX_XFORM {
895  PWP_INT32 m[3][4];
896 };
897 
898 
905 struct PW_DLL_IMPEXP PWGM_INDEX_XFORM2 {
906  PWP_INT32 m[2][3];
907 };
908 
909 
920  // add new enum values before this line
921 
925  PWGM_FACE_SIZE,
926  PWGM_FACE_LAST = PWGM_FACE_SIZE-1
927  /* @} */ // sdkINTERNALS
929 };
930 
931 
939  // add new enum values before this line
940 
944  PWGM_CNXNTYPE_SIZE,
945  PWGM_CNXNTYPE_LAST = PWGM_FACE_SIZE-1
946  /* @} */ // sdkINTERNALS
948 };
949 
950 
953 struct PW_DLL_IMPEXP PWGM_BNDRYDATA {
954  const char *name;
958 };
959 
960 
963 struct PW_DLL_IMPEXP PWGM_CNXNDATA {
964  const char *name;
973 };
974 
975 
978 struct PW_DLL_IMPEXP PWGM_BLOCKDATA {
979  const char *name;
983 };
984 
985 
992  // add new enum values before this line
993 
997  PWGM_IJK_SIZE,
998  PWGM_IJK_LAST = PWGM_IJK_SIZE-1
999  /* @} */ // sdkINTERNALS
1001 };
1002 
1003 
1010 
1014 
1018  // add new enum values before this line
1019 
1023  PWGM_FACETYPE_SIZE,
1024  PWGM_FACETYPE_LAST = PWGM_FACETYPE_SIZE-1
1025  /* @} */ // sdkINTERNALS
1027 };
1028 
1029 
1043  // add new enum values before this line
1044 
1048  PWGM_FACEORDER_SIZE,
1049  PWGM_FACEORDER_LAST = PWGM_FACEORDER_SIZE-1
1050  /* @} */ // sdkINTERNALS
1052 };
1053 
1054 
1057 struct PW_DLL_IMPEXP PWGM_BEGINSTREAM_DATA {
1064  void *userData;
1065 };
1066 
1067 
1073 
1074 
1077 struct PW_DLL_IMPEXP PWGM_FACEREF_DATA {
1080 
1085 
1087  //PWP_UINT32 blockFace; TODO make this work
1088 
1091 
1094 
1098 
1101 };
1102 
1103 
1106 struct PW_DLL_IMPEXP PWGM_FACESTREAM_DATA {
1109 
1112 
1116 
1119 
1124 
1128 
1130  void *userData;
1131 };
1132 
1133 
1139 
1140 
1143 struct PW_DLL_IMPEXP PWGM_ENDSTREAM_DATA {
1146  void *userData;
1147 };
1148 
1149 
1155 
1163 
1165 #define PWGM_CONDKEY_UNDEF PWP_UINT32_UNDEF
1166 
1167 
1168 /*---------------------------------------------------------*/
1184 struct PW_DLL_IMPEXP PWGM_ASSEMBLER_DATA {
1187  PWP_UINT32 index[4];
1190 };
1191 
1192 
1197 typedef PWP_UINT64(*PWGM_INDEXMAPPERCB)(const PWP_UINT64 pwgmNdx, void *data);
1198 
1199 
1204 typedef PWGM_INDEX3(*PWGM_INDEX3MAPPERCB)(const PWGM_INDEX3 pwgmNdx, void *data);
1205 
1209 //*********************************************
1210 // PWGM-API functions
1211 //*********************************************
1212 
1213 /***********************************************************/
1223 /***********************************************************/
1236 PW_DLLEXPORT PWP_UINT32
1238 
1239 
1263 PW_DLLEXPORT PWGM_HBLOCK
1265 
1266 
1277 PW_DLLEXPORT PWP_BOOL
1278 PwBlkCondition(PWGM_HBLOCK block, PWGM_CONDDATA *pCondData);
1279 
1280 
1291 PW_DLLEXPORT PWP_BOOL
1292 PwBlock(PWGM_HBLOCK block, PWGM_BLOCKDATA *pBlockData);
1293 
1294 
1325 PW_DLLEXPORT PWP_BOOL
1326 PwBlkSetExportName(PWGM_HBLOCK block, const char *name);
1327 
1328 
1399 PW_DLLEXPORT PWP_BOOL
1400 PwModGetAttributeValue(PWGM_HGRIDMODEL model, const char *name,
1401  PWP_ENUM_VALTYPE bufType, void *buf, PWP_UINT count);
1402 
1403 
1463 PWP_BOOL
1465 PwModGetAttributeString(PWGM_HGRIDMODEL model, const char *name, const char ** val);
1466 
1467 PWP_BOOL
1468 PwModGetAttributeUINT(PWGM_HGRIDMODEL model, const char *name, PWP_UINT *val);
1469 
1470 PWP_BOOL
1471 PwModGetAttributeUINT32(PWGM_HGRIDMODEL model, const char *name, PWP_UINT32 *val);
1472 
1473 PWP_BOOL
1474 PwModGetAttributeINT(PWGM_HGRIDMODEL model, const char *name, PWP_INT *val);
1475 
1476 PWP_BOOL
1477 PwModGetAttributeINT32(PWGM_HGRIDMODEL model, const char *name, PWP_INT32 *val);
1478 
1479 PWP_BOOL
1480 PwModGetAttributeREAL(PWGM_HGRIDMODEL model, const char *name, PWP_REAL *val);
1481 
1482 PWP_BOOL
1483 PwModGetAttributeFLOAT(PWGM_HGRIDMODEL model, const char *name, PWP_FLOAT *val);
1484 
1485 PWP_BOOL
1486 PwModGetAttributeBOOL(PWGM_HGRIDMODEL model, const char *name, PWP_BOOL *val);
1487 
1488 PWP_BOOL
1489 PwModGetAttributeEnum(PWGM_HGRIDMODEL model, const char *name, const char ** val);
1491 
1495 /***********************************************************/
1500 #if !defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
1501 
1507 PW_DLLEXPORT PWP_UINT32
1509 
1510 
1557 PW_DLLEXPORT PWGM_HDOMAIN
1559 
1560 
1584 PW_DLLEXPORT PWGM_HVERTEX
1586 
1587 
1595 PW_DLLEXPORT PWP_UINT32
1597 
1598 
1619 PW_DLLEXPORT PWP_BOOL
1621  void *cbData);
1622 
1623 
1690 PW_DLLEXPORT PWP_BOOL
1693  PWGM_ENDSTREAMCB endCB, void *userData);
1694 
1695 
1706 PW_DLLEXPORT PWP_UINT32
1708 
1709 
1725 PW_DLLEXPORT PWGM_HELEMENT
1727 
1728 
1792 PW_DLLEXPORT PWP_BOOL
1794 
1795 
1809 PW_DLLEXPORT PWP_VOID
1811 
1812 
1823 PW_DLLEXPORT PWP_UINT32
1825 
1826 
1852 PW_DLLEXPORT PWGM_HELEMENT
1854 
1855 
1866 PW_DLLEXPORT PWP_UINT32
1868 
1869 
1882 PW_DLLEXPORT PWGM_HELEMENT
1884 
1885 
1896 PW_DLLEXPORT PWP_BOOL
1897 PwDomCondition(PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData);
1898 
1899 
1912 PW_DLLEXPORT PWP_BOOL
1913 PwVertDataMod(PWGM_HVERTEX vertex, PWGM_VERTDATA *pVertData);
1914 
1915 
1928 PW_DLLEXPORT PWP_BOOL
1929 PwVertIndexMod(PWGM_HVERTEX vertex, PWP_UINT32 *pIndex);
1930 
1931 
1947 PW_DLLEXPORT PWP_BOOL
1948 PwVertXyzVal(PWGM_HVERTEX vertex, PWGM_ENUM_XYZ which, PWGM_XYZVAL *pVal);
1949 
1950 
1961 PW_DLLEXPORT PWP_BOOL
1962 PwElemDataMod(PWGM_HELEMENT element, PWGM_ELEMDATA *pElemData);
1963 
1964 
1975 PW_DLLEXPORT PWP_BOOL
1977 
1978 
1987 const char *
1989 
1990 
1998 const char *
2000 
2001 #endif // !defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2002 
2005 /***********************************************************/
2010 #if !defined(PWGM_HIDE_STRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2011 
2022 PW_DLLEXPORT PWP_BOOL
2023 PwBlkSize(PWGM_HBLOCK block, PWGM_STR_SIZE *pSize);
2024 
2025 
2039 PW_DLLEXPORT PWP_BOOL
2040 PwBlkNdxVertData(PWGM_HBLOCK block, PWGM_INDEX3 ndx3, PWGM_VERTDATA *pVertData);
2041 
2042 
2063 PW_DLLEXPORT PWP_BOOL
2065  void *cbData);
2066 
2067 
2073 PW_DLLEXPORT PWP_UINT32
2075 
2076 
2098 PW_DLLEXPORT PWGM_HCNXN
2100 
2101 
2112 PW_DLLEXPORT PWP_BOOL
2113 PwConnection(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData);
2114 
2115 
2134 PW_DLLEXPORT PWP_BOOL
2136 
2137 
2143 PW_DLLEXPORT PWP_UINT32
2145 
2146 
2168 PW_DLLEXPORT PWGM_HBNDRY
2170 
2171 
2182 PW_DLLEXPORT PWP_BOOL
2183 PwBoundary(PWGM_HBNDRY boundary, PWGM_BNDRYDATA *pBndryData);
2184 
2185 
2196 PW_DLLEXPORT PWP_BOOL
2197 PwBndryCondition(PWGM_HBNDRY boundary, PWGM_CONDDATA *pCondData);
2198 
2199 
2218 PW_DLLEXPORT PWP_BOOL
2220 
2221 
2248 PW_DLLEXPORT PWP_BOOL
2250  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
2251 
2252 
2258 PW_DLLEXPORT PWP_UINT32
2260 
2261 
2283 PW_DLLEXPORT PWGM_HBNDRY
2285 
2286 
2305 PW_DLLEXPORT PWP_BOOL
2306 PwBlkNdxBoundary(PWGM_HBLOCK block, PWP_UINT32 ndx, PWGM_BNDRYDATA *pBndryData);
2307 
2308 
2335 PW_DLLEXPORT PWP_BOOL
2337  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
2338 
2339 
2345 PW_DLLEXPORT PWP_UINT32
2347 
2348 
2370 PW_DLLEXPORT PWGM_HCNXN
2372 
2373 
2392 PW_DLLEXPORT PWP_BOOL
2394  PWGM_CNXNDATA *pCnxnData);
2395 
2396 
2397 /***********************************************************/
2423 PWP_BOOL
2425 
2426 
2446 PWP_BOOL
2448 
2449 
2461 PwXformApply(const PWGM_INDEX_XFORM *pX3, PWGM_INDEX3 ijk);
2462 
2463 
2480 PwXformFollows(const PWGM_INDEX_XFORM *pX3, PWGM_ENUM_IJK localAxis,
2481  PWP_BOOL *pFlipped);
2482 
2483 
2497 
2498 
2515 PwXform2Follows(const PWGM_INDEX_XFORM2 *pX2, PWGM_ENUM_IJK localAxis,
2516  PWP_BOOL *pFlipped);
2517 
2518 
2529 PWP_BOOL
2530 PwInRange(PWGM_INDEX3 ijk, const PWGM_STR_RANGE *pRange);
2531 
2534 #endif // !defined(PWGM_HIDE_STRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2535 
2541 /***********************************************************/
2550 #if !defined(PWGM_HIDE_IMPORT_API)
2551 
2552 /***********************************************************/
2563 /*---------------------------------------------------------*/
2587 PW_DLLEXPORT PWGM_HVERTEXLIST
2589 
2590 /*---------------------------------------------------------*/
2614 PW_DLLEXPORT PWGM_HVERTEXLIST
2616 
2617 /*---------------------------------------------------------*/
2634 PW_DLLEXPORT PWGM_HVERTEXLIST
2636 
2637 /*---------------------------------------------------------*/
2651 PW_DLLEXPORT PWP_BOOL
2652 PwConSetName(PWGM_HCONNECTOR h, const char *name);
2653 
2654 /*---------------------------------------------------------*/
2668 PW_DLLEXPORT PWP_BOOL
2669 PwBlkSetName(PWGM_HBLOCK h, const char *name);
2670 
2671 /*---------------------------------------------------------*/
2685 PW_DLLEXPORT PWP_BOOL
2686 PwDomSetName(PWGM_HDOMAIN h, const char *name);
2687 
2688 /*---------------------------------------------------------*/
2698 PW_DLLEXPORT PWP_BOOL
2700 
2701 /*---------------------------------------------------------*/
2711 PW_DLLEXPORT PWP_BOOL
2713 
2714 /*---------------------------------------------------------*/
2724 PW_DLLEXPORT PWP_UINT
2726 
2727 /*---------------------------------------------------------*/
2739 PW_DLLEXPORT PWP_ENUM_DIMENSION
2741 
2742 /*---------------------------------------------------------*/
2770 PW_DLLEXPORT PWP_BOOL
2772  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2773 
2774 /*---------------------------------------------------------*/
2798 PW_DLLEXPORT PWP_BOOL
2799 PwVlstSetXYZ(PWGM_HVERTEXLIST h, const PWP_UINT ndx, const PWGM_XYZVAL x,
2800  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2801 
2802 /*---------------------------------------------------------*/
2827 PW_DLLEXPORT PWP_BOOL
2829 
2830 /*---------------------------------------------------------*/
2858 PW_DLLEXPORT PWP_BOOL
2860  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2861 
2862 /*---------------------------------------------------------*/
2885 PW_DLLEXPORT PWP_BOOL
2886 PwVlstSetXYZ2(PWGM_HVERTEXLIST h, const PWGM_INDEX2 ndx2, const PWGM_XYZVAL x,
2887  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2888 
2889 /*---------------------------------------------------------*/
2915 PW_DLLEXPORT PWP_BOOL
2917  const PWGM_VERTDATA &v);
2918 
2919 /*---------------------------------------------------------*/
2947 PW_DLLEXPORT PWP_BOOL
2949  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2950 
2951 /*---------------------------------------------------------*/
2974 PW_DLLEXPORT PWP_BOOL
2975 PwVlstSetXYZ3(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3, const PWGM_XYZVAL x,
2976  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2977 
2978 /*---------------------------------------------------------*/
3004 PW_DLLEXPORT PWP_BOOL
3006 
3007 /*---------------------------------------------------------*/
3038 PW_DLLEXPORT PWP_BOOL
3039 PwBlkSetProperty(PWGM_HBLOCK block, const char *key, const char *val);
3040 
3041 PW_DLLEXPORT PWP_BOOL
3042 PwDomSetProperty(PWGM_HDOMAIN domain, const char *key, const char *val);
3043 
3044 PW_DLLEXPORT PWP_BOOL
3045 PwConSetProperty(PWGM_HCONNECTOR connector, const char *key, const char *val);
3046 
3047 PW_DLLEXPORT PWP_BOOL
3048 PwAsmSetProperty(PWGM_HBLOCKASSEMBLER assembler, const PWP_UINT32 propertySetId,
3049  const char *key, const char *val);
3052 /*---------------------------------------------------------*/
3145 PW_DLLEXPORT PWP_BOOL
3146 PwBlkSetConditionUserName(PWGM_HBLOCK block, const char *userName);
3147 
3148 PW_DLLEXPORT PWP_BOOL
3149 PwBlkSetConditionUserId(PWGM_HBLOCK block, const PWP_UINT32 userId);
3150 
3151 PW_DLLEXPORT PWP_BOOL
3152 PwBlkSetConditionTypeName(PWGM_HBLOCK block, const char *typeName);
3153 
3154 PW_DLLEXPORT PWP_BOOL
3155 PwBlkSetConditionTypeId(PWGM_HBLOCK block, const PWP_UINT32 typeId);
3156 
3157 PW_DLLEXPORT PWP_BOOL
3158 PwBlkSetCondition(PWGM_HBLOCK block, const PWGM_CONDDATA &condData);
3159 
3160 //-----------------------
3161 
3162 PW_DLLEXPORT PWP_BOOL
3163 PwDomSetConditionUserName(PWGM_HDOMAIN domain, const char *userName);
3164 
3165 PW_DLLEXPORT PWP_BOOL
3166 PwDomSetConditionUserId(PWGM_HDOMAIN domain, const PWP_UINT32 userId);
3167 
3168 PW_DLLEXPORT PWP_BOOL
3169 PwDomSetConditionTypeName(PWGM_HDOMAIN domain, const char *typeName);
3170 
3171 PW_DLLEXPORT PWP_BOOL
3172 PwDomSetConditionTypeId(PWGM_HDOMAIN domain, const PWP_UINT32 typeId);
3173 
3174 PW_DLLEXPORT PWP_BOOL
3175 PwDomSetCondition(PWGM_HDOMAIN domain, const PWGM_CONDDATA &condData);
3176 
3177 //-----------------------
3178 
3179 PW_DLLEXPORT PWP_BOOL
3180 PwConSetConditionUserName(PWGM_HCONNECTOR connector, const char *userName);
3181 
3182 PW_DLLEXPORT PWP_BOOL
3183 PwConSetConditionUserId(PWGM_HCONNECTOR connector, const PWP_UINT32 userId);
3184 
3185 PW_DLLEXPORT PWP_BOOL
3186 PwConSetConditionTypeName(PWGM_HCONNECTOR connector, const char *typeName);
3187 
3188 PW_DLLEXPORT PWP_BOOL
3189 PwConSetConditionTypeId(PWGM_HCONNECTOR connector, const PWP_UINT32 typeId);
3190 
3191 PW_DLLEXPORT PWP_BOOL
3192 PwConSetCondition(PWGM_HCONNECTOR connector, const PWGM_CONDDATA &condData);
3193 
3194 //-----------------------
3195 
3196 PW_DLLEXPORT PWP_BOOL
3198  const PWGM_CONDKEY key, const char *userName);
3199 
3200 PW_DLLEXPORT PWP_BOOL
3202  const PWP_UINT32 userId);
3203 
3204 PW_DLLEXPORT PWP_BOOL
3206  const PWGM_CONDKEY key, const char *typeName);
3207 
3208 PW_DLLEXPORT PWP_BOOL
3210  const PWP_UINT32 typeId);
3211 
3212 PW_DLLEXPORT PWP_BOOL
3214  const PWGM_CONDDATA &condData);
3215 
3216 PW_DLLEXPORT PWP_BOOL
3218  const PWGM_CONDKEY key, const PWP_UINT32 startCell,
3219  const PWP_UINT32 endCell);
3220 
3221 PW_DLLEXPORT PWP_BOOL
3223  const PWP_UINT32 cell);
3224 
3227 /*---------------------------------------------------------*/
3252 PW_DLLEXPORT PWP_BOOL
3253 PwVlstReadFile(PWGM_HVERTEXLIST h, FILE *file,
3254  const PWGM_XYZ_CLUSTERING fileClustering,
3255  const PWP_ENDIANNESS fileByteOrder, const PWP_ENUM_PRECISION filePrecision);
3257 
3261 /***********************************************************/
3272 /*---------------------------------------------------------*/
3299 PW_DLLEXPORT PWGM_HVERTEXLIST
3301  const PWP_ENUM_DIMENSION blkElemDimty);
3302 
3303 /*---------------------------------------------------------*/
3321 PW_DLLEXPORT PWGM_HVERTEXLIST
3323 
3324 /*---------------------------------------------------------*/
3342 PW_DLLEXPORT PWGM_HVERTEXLIST
3344 
3345 /*---------------------------------------------------------*/
3359 PW_DLLEXPORT PWP_BOOL
3360 PwVlstAllocate(PWGM_HVERTEXLIST h, const PWP_UINT count);
3361 
3362 /*---------------------------------------------------------*/
3386 PW_DLLEXPORT PWGM_HBLOCK
3388 
3389 /*---------------------------------------------------------*/
3414 PW_DLLEXPORT PWP_BOOL
3416  const PWP_UINT count);
3417 
3418 /*---------------------------------------------------------*/
3440 PW_DLLEXPORT PWP_BOOL
3442 
3443 /*---------------------------------------------------------*/
3464 PW_DLLEXPORT PWP_BOOL
3465 PwUnsBlkSetElement(PWGM_HBLOCK h, const PWP_UINT ndx, const PWGM_ELEMDATA *eData);
3466 
3467 /*---------------------------------------------------------*/
3496 
3501 PW_DLLEXPORT PWGM_HDOMAIN
3503 
3507 PW_DLLEXPORT PWGM_HDOMAIN
3509 
3511 
3512 /*---------------------------------------------------------*/
3537 PW_DLLEXPORT PWP_BOOL
3539  const PWP_UINT count);
3540 
3541 /*---------------------------------------------------------*/
3564 PW_DLLEXPORT PWP_BOOL
3566 
3567 /*---------------------------------------------------------*/
3588 PW_DLLEXPORT PWP_BOOL
3590  const PWGM_ELEMDATA *eData);
3591 
3592 /*---------------------------------------------------------*/
3623 PW_DLLEXPORT PWGM_HBLOCKASSEMBLER
3625 
3626 /*---------------------------------------------------------*/
3640 PW_DLLEXPORT PWP_BOOL
3642 
3643 /*---------------------------------------------------------*/
3658 PW_DLLEXPORT PWP_BOOL
3660 
3661 /*---------------------------------------------------------*/
3674 PW_DLLEXPORT PWGM_HVERTEXLIST
3676 
3680 /***********************************************************/
3691 /*---------------------------------------------------------*/
3712 PW_DLLEXPORT PWGM_HCONNECTOR
3714 
3715 /*---------------------------------------------------------*/
3741 PW_DLLEXPORT PWGM_HBLOCK
3742 PwModCreateStrBlock(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE blkSize);
3743 
3744 /*---------------------------------------------------------*/
3770 PW_DLLEXPORT PWGM_HDOMAIN
3771 PwModCreateStrDomain(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE domSize);
3772 
3775 #endif // !defined(PWGM_HIDE_IMPORT_API)
3776 
3786 /*---------------------------------------------------------*/
3787 /* COMMON GRID EXPORT CALLBACKS */
3788 /*---------------------------------------------------------*/
3789 
3790 typedef PWP_UINT32
3791 PwModBlockCount_t(PWGM_HGRIDMODEL model);
3792 
3793 typedef PWGM_HBLOCK
3794 PwModEnumBlocks_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
3795 
3796 typedef PWP_BOOL
3797 PwBlkCondition_t(PWGM_HBLOCK block, PWGM_CONDDATA *pCondData);
3798 
3799 typedef PWP_BOOL
3800 PwBlock_t(PWGM_HBLOCK block, PWGM_BLOCKDATA *pBlockData);
3801 
3802 typedef PWP_BOOL
3803 PwBlkSetExportName_t(PWGM_HBLOCK block, const char *name);
3804 
3805 typedef PWP_BOOL
3806 PwModGetAttributeValue_t(PWGM_HGRIDMODEL model, const char *name,
3807  PWP_ENUM_VALTYPE bufType, void *buf, PWP_UINT count);
3808 
3809 
3810 /*---------------------------------------------------------*/
3811 /* UNSTRUCTURED GRID EXPORT CALLBACKS */
3812 /*---------------------------------------------------------*/
3813 
3814 typedef PWP_UINT32
3815 PwModDomainCount_t(PWGM_HGRIDMODEL model);
3816 
3817 typedef PWGM_HDOMAIN
3818 PwModEnumDomains_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
3819 
3820 typedef PWGM_HVERTEX
3821 PwModEnumVertices_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
3822 
3823 typedef PWP_UINT32
3824 PwModVertexCount_t(PWGM_HGRIDMODEL model);
3825 
3826 typedef PWP_BOOL
3827 PwModCustomIndexSchemeReady_t(PWGM_HGRIDMODEL model, PWGM_INDEXMAPPERCB cb,
3828  void *data);
3829 
3830 typedef PWP_BOOL
3831 PwModStreamFaces_t(PWGM_HGRIDMODEL model, PWGM_ENUM_FACEORDER order,
3833  PWGM_ENDSTREAMCB endCB, void *userData);
3834 
3835 typedef PWP_UINT32
3836 PwModEnumElementCount_t(PWGM_HGRIDMODEL model, PWGM_ELEMCOUNTS *pCounts);
3837 
3838 typedef PWP_BOOL
3839 PwModAppendEnumElementOrder_t(PWGM_HGRIDMODEL model, PWGM_ENUM_ELEMORDER order);
3840 
3841 typedef PWGM_HELEMENT
3842 PwModEnumElements_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
3843 
3844 //---------------------------
3845 typedef PWP_UINT32
3846 PwBlkElementCount_t(PWGM_HBLOCK block, PWGM_ELEMCOUNTS *pCounts);
3847 
3848 typedef PWGM_HELEMENT
3849 PwBlkEnumElements_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
3850 
3851 //---------------------------
3852 typedef PWP_UINT32
3853 PwDomElementCount_t(PWGM_HDOMAIN domain, PWGM_ELEMCOUNTS *pCounts);
3854 
3855 typedef PWGM_HELEMENT
3856 PwDomEnumElements_t(PWGM_HDOMAIN domain, PWP_UINT32 ndx);
3857 
3858 typedef PWP_BOOL
3859 PwDomCondition_t(PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData);
3860 
3861 //---------------------------
3862 typedef PWP_BOOL
3863 PwVertDataMod_t(PWGM_HVERTEX vertex, PWGM_VERTDATA *pVertData);
3864 
3865 typedef PWP_BOOL
3866 PwVertIndexMod_t(PWGM_HVERTEX vertex, PWP_UINT32 *pIndex);
3867 
3868 typedef PWP_BOOL
3869 PwVertXyzVal_t(PWGM_HVERTEX vertex, PWGM_ENUM_XYZ which, PWGM_XYZVAL *pVal);
3870 
3871 //---------------------------
3872 typedef PWP_BOOL
3873 PwElemDataMod_t(PWGM_HELEMENT element, PWGM_ELEMDATA *pElemData);
3874 
3875 typedef PWP_BOOL
3876 PwElemDataModEnum_t(PWGM_HELEMENT element, PWGM_ENUMELEMDATA *pElemData);
3877 
3878 
3879 
3880 /*---------------------------------------------------------*/
3881 /* STRUCTURED GRID EXPORT CALLBACKS */
3882 /*---------------------------------------------------------*/
3883 
3884 typedef PWP_UINT32
3885 PwModBoundaryCount_t(PWGM_HGRIDMODEL model);
3886 
3887 typedef PWGM_HBNDRY
3888 PwModEnumBoundaries_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
3889 
3890 typedef PWP_UINT32
3891 PwModConnectionCount_t(PWGM_HGRIDMODEL model);
3892 
3893 typedef PWGM_HCNXN
3894 PwModEnumConnections_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
3895 
3896 typedef PWP_BOOL
3897 PwModNdxBoundary_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
3898  PWGM_BNDRYDATA *pBndryData);
3899 
3900 typedef PWP_BOOL
3901 PwModNdxBoundaryAndCondition_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
3902  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
3903 
3904 typedef PWP_BOOL
3905 PwModNdxConnection_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
3906  PWGM_CNXNDATA *pCnxnData);
3907 
3908 //---------------------------
3909 typedef PWP_BOOL
3910 PwBlkSize_t(PWGM_HBLOCK block, PWGM_STR_SIZE *pSize);
3911 
3912 typedef PWP_BOOL
3913 PwBlkNdxVertData_t(PWGM_HBLOCK block, PWGM_INDEX3 ndx3,
3914  PWGM_VERTDATA *pVertData);
3915 
3916 typedef PWP_BOOL
3917 PwModCustomIndex3SchemeReady_t(PWGM_HGRIDMODEL model, PWGM_INDEX3MAPPERCB cb,
3918  void *data);
3919 
3920 typedef PWP_UINT32
3921 PwBlkBoundaryCount_t(PWGM_HBLOCK block);
3922 
3923 typedef PWGM_HBNDRY
3924 PwBlkEnumBoundaries_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
3925 
3926 typedef PWP_UINT32
3927 PwBlkConnectionCount_t(PWGM_HBLOCK block);
3928 
3929 typedef PWGM_HCNXN
3930 PwBlkEnumConnections_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
3931 
3932 typedef PWP_BOOL
3933 PwBlkNdxBoundary_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
3934  PWGM_BNDRYDATA *pBndryData);
3935 
3936 typedef PWP_BOOL
3937 PwBlkNdxBoundaryAndCondition_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
3938  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
3939 
3940 typedef PWP_BOOL
3941 PwBlkNdxConnection_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
3942  PWGM_CNXNDATA *pCnxnData);
3943 
3944 
3945 //---------------------------
3946 typedef PWP_BOOL
3947 PwBoundary_t(PWGM_HBNDRY boundary, PWGM_BNDRYDATA *pBndryData);
3948 
3949 typedef PWP_BOOL
3950 PwBndryCondition_t(PWGM_HBNDRY boundary, PWGM_CONDDATA *pCondData);
3951 
3952 typedef PWP_BOOL
3953 PwConnection_t(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData);
3954 
3955 //---------------------------
3956 typedef PWP_BOOL
3957 PwNOTIMPLEMENTED_t();
3958 
3959 
3960 /*---------------------------------------------------------*/
3961 /* COMMON GRID IMPORT CALLBACKS */
3962 /*---------------------------------------------------------*/
3963 
3964 typedef PWGM_HCONNECTOR
3965 PwModCreateCon_t(PWGM_HGRIDMODEL model, PWP_UINT size);
3966 
3967 typedef PWGM_HVERTEXLIST
3968 PwBlkGetVertexList_t(PWGM_HBLOCK h);
3969 
3970 typedef PWGM_HVERTEXLIST
3971 PwDomGetVertexList_t(PWGM_HDOMAIN h);
3972 
3973 typedef PWGM_HVERTEXLIST
3974 PwConGetVertexList_t(PWGM_HCONNECTOR h);
3975 
3976 typedef PWP_BOOL
3977 PwConSetName_t(PWGM_HCONNECTOR h, const char *name);
3978 
3979 typedef PWP_BOOL
3980 PwBlkSetName_t(PWGM_HBLOCK h, const char *name);
3981 
3982 typedef PWP_BOOL
3983 PwDomSetName_t(PWGM_HDOMAIN h, const char *name);
3984 
3985 typedef PWP_BOOL
3986 PwVlstIsUnstructured_t(PWGM_HVERTEXLIST h);
3987 
3988 typedef PWP_UINT
3989 PwVlstGetIndexDimensionality_t(PWGM_HVERTEXLIST h);
3990 
3991 typedef PWP_ENUM_DIMENSION
3992 PwVlstGetBlkElemDimensionality_t(PWGM_HVERTEXLIST h);
3993 
3994 typedef PWP_BOOL
3995 PwVlstSetXYZVal3_t(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3,
3996  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
3997 
3998 typedef PWP_BOOL
3999 PwVlstSetXYZ3_t(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3,
4000  const PWGM_XYZVAL x, const PWGM_XYZVAL y, const PWGM_XYZVAL z);
4001 
4002 typedef PWP_BOOL
4003 PwVlstReadFile_t(PWGM_HVERTEXLIST h, FILE *file,
4004  const PWGM_XYZ_CLUSTERING fileClustering,
4005  const PWP_ENDIANNESS fileByteOrder, const PWP_ENUM_PRECISION filePrecision);
4006 
4007 typedef PWP_BOOL
4008 PwBlkSetProperty_t(PWGM_HBLOCK h, const char *key, const char *val);
4009 
4010 typedef PWP_BOOL
4011 PwDomSetProperty_t(PWGM_HDOMAIN h, const char *key, const char *val);
4012 
4013 typedef PWP_BOOL
4014 PwConSetProperty_t(PWGM_HCONNECTOR h, const char *key, const char *val);
4015 
4016 typedef PWP_BOOL
4017 PwAsmSetProperty_t(PWGM_HBLOCKASSEMBLER h, const PWP_UINT32 propertySetId,
4018  const char *key, const char *val);
4019 
4020 typedef PWP_BOOL
4021 PwAsmSetCellSpanConditionKey_t(PWGM_HBLOCKASSEMBLER assembler,
4022  const PWGM_CONDKEY key, const PWP_UINT32 startCell,
4023  const PWP_UINT32 endCell);
4024 
4025 
4026 /*---------------------------------------------------------*/
4027 /* UNSTRUCTURED GRID IMPORT CALLBACKS */
4028 /*---------------------------------------------------------*/
4029 
4030 typedef PWGM_HVERTEXLIST
4031 PwModCreateUnsVertexList_t(PWGM_HGRIDMODEL model,
4032  const PWP_ENUM_DIMENSION blkElemDimty);
4033 
4034 typedef PWP_BOOL
4035 PwVlstAllocate_t(PWGM_HVERTEXLIST h, const PWP_UINT count);
4036 
4037 typedef PWGM_HBLOCK
4038 PwVlstCreateUnsBlock_t(PWGM_HVERTEXLIST h);
4039 
4040 typedef PWP_BOOL
4041 PwUnsBlkAllocateElements_t(PWGM_HBLOCK h, const PWGM_ENUM_ELEMTYPE cellType,
4042  const PWP_UINT count);
4043 
4044 typedef PWP_BOOL
4045 PwUnsBlkSetElement_t(PWGM_HBLOCK h, const PWP_UINT ndx,
4046  const PWGM_ELEMDATA *eData);
4047 
4048 typedef PWGM_HDOMAIN
4049 PwVlstCreateUnsDomain_t(PWGM_HVERTEXLIST h);
4050 
4051 typedef PWP_BOOL
4052 PwUnsDomAllocateElements_t(PWGM_HDOMAIN h, const PWGM_ENUM_ELEMTYPE cellType,
4053  const PWP_UINT count);
4054 
4055 typedef PWP_BOOL
4056 PwUnsDomSetElement_t(PWGM_HDOMAIN h, const PWP_UINT ndx,
4057  const PWGM_ELEMDATA *eData);
4058 
4059 typedef PWGM_HBLOCKASSEMBLER
4060 PwVlstCreateBlockAssembler_t(PWGM_HVERTEXLIST h);
4061 
4062 typedef PWP_BOOL
4063 PwAsmPushElementFace_t(PWGM_HBLOCKASSEMBLER h, const PWGM_ASSEMBLER_DATA *face);
4064 
4065 typedef PWP_BOOL
4066 PwAsmFinalize_t(PWGM_HBLOCKASSEMBLER h);
4067 
4068 typedef PWGM_HVERTEXLIST
4069 PwAsmGetVertexList_t(PWGM_HBLOCKASSEMBLER h);
4070 
4071 
4072 /*---------------------------------------------------------*/
4073 /* STRUCTURED GRID IMPORT CALLBACKS */
4074 /*---------------------------------------------------------*/
4075 
4076 typedef PWGM_HBLOCK
4077 PwModCreateStrBlock_t(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE blkSize);
4078 
4079 typedef PWGM_HDOMAIN
4080 PwModCreateStrDomain_t(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE domSize);
4081 
4085 // PWGM-API function-pointer types
4086 
4090 struct PW_DLL_IMPEXP PWGM_HGRIDMODEL_OUT_IMPL {
4091  PwModBlockCount_t * PwModBlockCountCB;
4092  PwModDomainCount_t * PwModDomainCountCB;
4093  PwModEnumBlocks_t * PwModEnumBlocksCB;
4094  PwModEnumDomains_t * PwModEnumDomainsCB;
4095  PwModEnumVertices_t * PwModEnumVerticesCB;
4096  PwModVertexCount_t * PwModVertexCountCB;
4097  PwModCustomIndexSchemeReady_t * PwModCustomIndexSchemeReadyCB;
4098 
4099  PwBlkElementCount_t * PwBlkElementCountCB;
4100  PwBlkEnumElements_t * PwBlkEnumElementsCB;
4101  PwNOTIMPLEMENTED_t * PwBlkEnumVerticesCB;
4102  PwNOTIMPLEMENTED_t * PwBlkVertexCountCB;
4103  PwBlkCondition_t * PwBlkConditionCB;
4104  PwBlock_t * PwBlockCB;
4105  PwBlkSetExportName_t * PwBlkSetExportNameCB;
4106 
4107  PwDomElementCount_t * PwDomElementCountCB;
4108  PwDomEnumElements_t * PwDomEnumElementsCB;
4109  PwNOTIMPLEMENTED_t * PwDomEnumVerticesCB;
4110  PwNOTIMPLEMENTED_t * PwDomVertexCountCB;
4111  PwDomCondition_t * PwDomConditionCB;
4112 
4113  PwVertDataMod_t * PwVertDataModCB;
4114  PwNOTIMPLEMENTED_t * PwVertDataBlkCB;
4115  PwNOTIMPLEMENTED_t * PwVertDataDomCB;
4116  PwVertIndexMod_t * PwVertIndexModCB;
4117  PwNOTIMPLEMENTED_t * PwVertIndexBlkCB;
4118  PwNOTIMPLEMENTED_t * PwVertIndexDomCB;
4119  PwVertXyzVal_t * PwVertXyzValCB;
4120 
4121  PwElemDataMod_t * PwElemDataModCB;
4122  PwNOTIMPLEMENTED_t * PwElemDataBlkCB;
4123  PwNOTIMPLEMENTED_t * PwElemDataDomCB;
4124 
4125  /*---------------------------------------------------------*/
4126  /* STRUCTURED GRID ADDITIONS */
4127  /*---------------------------------------------------------*/
4128 
4129  PwModBoundaryCount_t * PwModBoundaryCountCB;
4130  PwModEnumBoundaries_t * PwModEnumBoundariesCB;
4131  PwModConnectionCount_t * PwModConnectionCountCB;
4132  PwModEnumConnections_t * PwModEnumConnectionsCB;
4133  PwModNdxBoundary_t * PwModNdxBoundaryCB;
4134  PwModNdxBoundaryAndCondition_t * PwModNdxBoundaryAndConditionCB;
4135  PwModNdxConnection_t * PwModNdxConnectionCB;
4136 
4137  PwBlkSize_t * PwBlkSizeCB;
4138  PwBlkNdxVertData_t * PwBlkNdxVertDataCB;
4139  PwModCustomIndex3SchemeReady_t * PwModCustomIndex3SchemeReadyCB;
4140  PwBlkBoundaryCount_t * PwBlkBoundaryCountCB;
4141  PwBlkEnumBoundaries_t * PwBlkEnumBoundariesCB;
4142  PwBlkConnectionCount_t * PwBlkConnectionCountCB;
4143  PwBlkEnumConnections_t * PwBlkEnumConnectionsCB;
4144  PwBlkNdxBoundary_t * PwBlkNdxBoundaryCB;
4145  PwBlkNdxBoundaryAndCondition_t * PwBlkNdxBoundaryAndConditionCB;
4146  PwBlkNdxConnection_t * PwBlkNdxConnectionCB;
4147 
4148  PwBoundary_t * PwBoundaryCB;
4149  PwBndryCondition_t * PwBndryConditionCB;
4150  PwConnection_t * PwConnectionCB;
4151 
4152  /*---------------------------------------------------------*/
4153  /* CELL FACE STREAMING ADDITIONS */
4154  /*---------------------------------------------------------*/
4155 
4156  PwModStreamFaces_t * PwModStreamFacesCB;
4157  PwModEnumElementCount_t * PwModEnumElementCountCB;
4158  PwModEnumElements_t * PwModEnumElementsCB;
4159  PwElemDataModEnum_t * PwElemDataModEnumCB;
4160  PwModAppendEnumElementOrder_t * PwModAppendEnumElementOrderCB;
4161 
4162  /*---------------------------------------------------------*/
4163  /* SOLVER ATTRIBUTE ADDITIONS */
4164  /*---------------------------------------------------------*/
4165 
4166  PwModGetAttributeValue_t * PwModGetAttributeValueCB;
4167 };
4168 
4169 
4170 /*---------------------------------------------------------*/
4174 struct PW_DLL_IMPEXP PWGM_HGRIDMODEL_IN_IMPL {
4175 
4176  // Common Grid Model Import API Calls
4177  PwModCreateCon_t * PwModCreateConCB;
4178  PwBlkGetVertexList_t * PwBlkGetVertexListCB;
4179  PwDomGetVertexList_t * PwDomGetVertexListCB;
4180  PwConGetVertexList_t * PwConGetVertexListCB;
4181  PwConSetName_t * PwConSetNameCB;
4182  PwBlkSetName_t * PwBlkSetNameCB;
4183  PwDomSetName_t * PwDomSetNameCB;
4184  PwVlstIsUnstructured_t * PwVlstIsUnstructuredCB;
4185  PwVlstGetIndexDimensionality_t * PwVlstGetIndexDimensionalityCB;
4186  PwVlstGetBlkElemDimensionality_t * PwVlstGetBlkElemDimensionalityCB;
4187  PwVlstSetXYZVal3_t * PwVlstSetXYZVal3CB;
4188  PwVlstSetXYZ3_t * PwVlstSetXYZ3CB;
4189  PwVlstReadFile_t * PwVlstReadFileCB;
4190  PwBlkSetProperty_t * PwBlkSetPropertyCB;
4191  PwDomSetProperty_t * PwDomSetPropertyCB;
4192  PwConSetProperty_t * PwConSetPropertyCB;
4193  PwAsmSetProperty_t * PwAsmSetPropertyCB;
4194  PwAsmSetCellSpanConditionKey_t * PwAsmSetCellSpanConditionKeyCB;
4195 
4196 
4197  // Unstructured Grid Model Import API Calls
4198  PwModCreateUnsVertexList_t * PwModCreateUnsVertexListCB;
4199  PwVlstAllocate_t * PwVlstAllocateCB;
4200  PwVlstCreateUnsBlock_t * PwVlstCreateUnsBlockCB;
4201  PwUnsBlkAllocateElements_t * PwUnsBlkAllocateElementsCB;
4202  PwUnsBlkSetElement_t * PwUnsBlkSetElementCB;
4203  PwVlstCreateUnsDomain_t * PwVlstCreateUnsDomainCB;
4204  PwUnsDomAllocateElements_t * PwUnsDomAllocateElementsCB;
4205  PwUnsDomSetElement_t * PwUnsDomSetElementCB;
4206  PwVlstCreateBlockAssembler_t * PwVlstCreateBlockAssemblerCB;
4207  PwAsmPushElementFace_t * PwAsmPushElementFaceCB;
4208  PwAsmFinalize_t * PwAsmFinalizeCB;
4209  PwAsmGetVertexList_t * PwAsmGetVertexListCB;
4210 
4211  // Structured Grid Model Import API Calls
4212  PwModCreateStrBlock_t * PwModCreateStrBlockCB;
4213  PwModCreateStrDomain_t * PwModCreateStrDomainCB;
4214 };
4215  // sdkINTERNALS
4217 
4221 /***********************************************************/
4239 } // extern "C"
4240 
4241 #endif // !_APIGRIDMODEL_H_
PWGM_HVERTEXLIST PwModCreateUnsVertexList2(PWGM_HGRIDMODEL model)
Creates an empty, unstructured vertex list in a model for 2-D blocks and 1-D domains.
PWP_BOOL PwBlkSetConditionTypeId(PWGM_HBLOCK block, const PWP_UINT32 typeId)
Sets the condition data for a grid entity.
PWP_BOOL PwVlstReadFile(PWGM_HVERTEXLIST vertlist, FILE *file, const PWGM_XYZ_CLUSTERING fileClustering, const PWP_ENDIANNESS fileByteOrder, const PWP_ENUM_PRECISION filePrecision)
#define PWGM_ELEMDATA_VERT_SIZE
Maximum number of verts allowed per element.
Definition: apiGridModel.h:730
Data passed to a PWGM_ENDSTREAMCB callback function.
PWP_BOOL PwConSetConditionTypeName(PWGM_HCONNECTOR connector, const char *typeName)
Sets the condition data for a grid entity.
PWP_UINT32 PWGM_CONDKEY
The condition key integral type.
The 2D transform matrix data type.
Definition: apiGridModel.h:905
3D, 6-sided (block) grid element
Definition: apiGridModel.h:676
PWGM_STR_RANGE range
boundary ijk range
Definition: apiGridModel.h:957
PWP_UINT32 vertCnt
Number of vertices in the face.
Definition: apiGridModel.h:739
PWP_UINT32 face
The face&#39;s index in the model&#39;s index space.
PWGM_HBLOCK block2
connection block2 (donor)
Definition: apiGridModel.h:969
PWP_BOOL PwBlkNdxConnection(PWGM_HBLOCK block, PWP_UINT32 ndx, PWGM_CNXNDATA *pCnxnData)
Get the data for the block&#39;s nth connection.
PWGM_ELEMCOUNTS counts
The model&#39;s total element counts.
PWGM_ENUM_FACEORDER order
The requested cell face stream sequence order.
PWP_UINT32 id
grid-defined condition id
Definition: apiGridModel.h:648
PWP_BOOL PwModNdxBoundaryAndCondition(PWGM_HGRIDMODEL model, PWP_UINT32 ndx, PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData)
Get the PWGM_BNDRYDATA and PWGM_CONDDATA for the model&#39;s nth structured boundary. ...
PWP_ENUM_VALTYPE
Supported PWP-API getValue() transfer types.
Definition: apiPWP.h:698
#define PWP_DECLARE_HELEMGROUP(pname, name)
Declares a parented, strongly-typed, element group data handle type.
Definition: apiPWP.h:377
Grid element handle declaration.
Definition: apiGridModel.h:429
PWGM_XYZVAL z
z-component
Definition: apiGridModel.h:612
void * userData
The PwModStreamFaces user data ptr.
Data passed to a PWGM_FACESTREAMCB callback function.
PWP_BOOL PwBlkSetProperty(PWGM_HBLOCK block, const char *key, const char *val)
Sets the property named key to val.
PWP_BOOL PwAsmSetConditionTypeName(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const char *typeName)
Sets the condition data for a grid entity.
PWP_UINT PwVlstGetIndexDimensionality(PWGM_HVERTEXLIST h)
Get the index dimensionality of a vertex list.
unsigned long long PWP_UINT64
64-bit unsigned integer
Definition: apiPWP.h:245
unspecified
Definition: apiGridModel.h:938
PWP_BOOL PwBlkSetName(PWGM_HBLOCK h, const char *name)
Set a block&#39;s name.
Only used as a generic base handle for PWGM_HELEMENT.
Definition: apiGridModel.h:425
PWP_BOOL PwVlstSetXYZ2Data(PWGM_HVERTEXLIST h, const PWGM_INDEX2 ndx2, const PWGM_VERTDATA &v)
Set the XYZ of a point in a 2D structured vertex list using a PWGM_VERTDATA value.
The 3D transform matrix data type.
Definition: apiGridModel.h:894
InteriorFirst grouped by VCs then BCs.
BoundariesOnly grouped by VCs.
unsigned int PWP_UINT32
32-bit unsigned integer
Definition: apiPWP.h:212
PWP_BOOL PwBndryCondition(PWGM_HBNDRY boundary, PWGM_CONDDATA *pCondData)
Get the boundary&#39;s condition data.
PWGM_HBNDRY PwModEnumBoundaries(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model&#39;s boundaries.
PWGM_STR_RANGE range2
ijk connection range in block2 index space
Definition: apiGridModel.h:971
PWP_BOOL PwAsmSetConditionUserName(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const char *userName)
Sets the condition data for a grid entity.
2D, 4-sided grid element
Definition: apiGridModel.h:677
PWP_BOOL PwAsmFinalize(PWGM_HBLOCKASSEMBLER h)
Stitches together all the faces added to the assembler into cells and blocks.
PWGM_FACE_ID face
boundary face id
Definition: apiGridModel.h:956
PWGM_ENUM_FACETYPE
The facetypes supported by face streaming.
PWGM_HBLOCKASSEMBLER PwVlstCreateBlockAssembler(PWGM_HVERTEXLIST h)
Creates an unstructured block face assembler that uses vertices from an unstructured vertex list...
PWGM_HVERTEXLIST PwBlkGetVertexList(PWGM_HBLOCK h)
Get the vertex list associated with an unstructured or structured block.
PWP_UINT32 PwModBoundaryCount(PWGM_HGRIDMODEL model)
Get the number of structured grid boundaries in the model.
Pointwise Plugin API (PWP-API)
PWGM_ENUM_GRIDTYPE gridType
grid type
Definition: apiGridModel.h:981
PWP_BOOL PwXform3to2(const PWGM_INDEX_XFORM *pX3, PWGM_INDEX_XFORM2 *pX2)
Convert a 3D transform matrix to it&#39;s 2D equivalent.
const char * PwFaceOrderToText(PWGM_ENUM_FACEORDER faceOrder)
Maps a PWGM_ENUM_FACEORDER value to a human readable string.
Order by 3D, extruded, tri/quad grid element.
Definition: apiGridModel.h:709
PWP_BOOL PwConSetName(PWGM_HCONNECTOR h, const char *name)
Set a connector&#39;s name.
PWGM_HELEMENT domainElem
The domain cell element&#39;s handle.
PWGM_HGRIDMODEL model
The grid model.
one-to-one grid point match
Definition: apiGridModel.h:935
3D, 4-sided (tetrahedral) grid element
Definition: apiGridModel.h:679
PWP_BOOL PwVlstAllocate(PWGM_HVERTEXLIST h, const PWP_UINT count)
Allocates storage in an unstructured vertex list.
PWP_BOOL PwBlkNdxBoundary(PWGM_HBLOCK block, PWP_UINT32 ndx, PWGM_BNDRYDATA *pBndryData)
Get the data for the block&#39;s nth structured boundary.
PWGM_HGRIDMODEL model
The grid model.
void PWP_VOID
no value
Definition: apiPWP.h:319
PWGM_CNXNTYPE
Structured grid block-point association.
Definition: apiGridModel.h:934
#define PWP_DECLARE_HEGRPITEM(sname, name)
Declares a sub-element group data handle type.
Definition: apiPWP.h:407
PWP_BOOL PwConnection(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData)
Get the connection data.
PWGM_INDEX3(* PWGM_INDEX3MAPPERCB)(const PWGM_INDEX3 pwgmNdx, void *data)
The Custom Index3Scheme mapper callback function signature.
PWP_VOID PwModDefaultEnumElementOrder(PWGM_HGRIDMODEL model)
Reset the enumElements() ordering sequence to the default (none).
PWP_BOOL PwVertDataMod(PWGM_HVERTEX vertex, PWGM_VERTDATA *pVertData)
Get the vertex data relative to the model&#39;s index space.
PWP_UINT32(* PWGM_ENDSTREAMCB)(PWGM_ENDSTREAM_DATA *data)
The face stream callback function signature.
PWGM_HVERTEXLIST PwModCreateUnsVertexList(PWGM_HGRIDMODEL model, const PWP_ENUM_DIMENSION blkElemDimty)
Creates an empty, unstructured vertex list in a model.
PWP_BOOL PwUnsBlkSetElement(PWGM_HBLOCK h, const PWP_UINT ndx, const PWGM_ELEMDATA *eData)
Sets the connectivity for an unstructured block element.
PWGM_ENUM_ELEMTYPE type
One of the PWGM_ELEMTYPE_XXX values.
Definition: apiGridModel.h:738
PWGM_FACE_ID face1
face Id on block1
Definition: apiGridModel.h:966
2D, 3-sided grid element
Definition: apiGridModel.h:678
PWGM_HDOMAIN PwModEnumDomains(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model domain elements.
PWP_UINT32 vertCnt
Number of vertices.
PWGM_HGRIDMODEL model
The grid model.
PWGM_HBNDRY PwBlkEnumBoundaries(PWGM_HBLOCK block, PWP_UINT32 ndx)
Sequentially enumerate the block&#39;s boundaries.
PWP_UINT32 PwBlkBoundaryCount(PWGM_HBLOCK block)
Get the number of boundaries in the block.
Data passed to a PWGM_BEGINSTREAMCB callback function.
Face descriptor data type. Used for face assembler functions.
PWP_INT32 i
i-coordinate used for 2D grids
Definition: apiGridModel.h:871
const char * name
boundary name
Definition: apiGridModel.h:954
PWP_BOOL PwVlstSetXYZVal(PWGM_HVERTEXLIST h, const PWP_UINT ndx, const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val)
Set an XYZ component of a point in a 1D vertex list.
PWP_ENUM_PRECISION
File precision values.
Definition: apiPWP.h:804
PWP_BOOL PwBlkSetCondition(PWGM_HBLOCK block, const PWGM_CONDDATA &condData)
Sets the condition data for a grid entity.
PWP_BOOL PwBlkSetConditionUserName(PWGM_HBLOCK block, const char *userName)
Sets the condition data for a grid entity.
PWGM_FACEREF_DATA owner
Information about the block element that owns face.
PWP_BOOL PwModGetAttributeUINT(PWGM_HGRIDMODEL model, const char *name, PWP_UINT *val)
Get an attribute value as a specific type.
PWGM_STR_RANGE range1
ijk connection range in block1 index space
Definition: apiGridModel.h:967
An opaque handle to a grid vertex element.
Definition: apiGridModel.h:400
PWP_BOOL PwDomSetProperty(PWGM_HDOMAIN domain, const char *key, const char *val)
Sets the property named key to val.
PWP_BOOL PwVlstSetXYZ(PWGM_HVERTEXLIST h, const PWP_UINT ndx, const PWGM_XYZVAL x, const PWGM_XYZVAL y, const PWGM_XYZVAL z)
Set the XYZ of a point in a 1D vertex list.
#define PWP_DECLARE_HANDLE(name)
Declares a root-level, strongly-typed data handle type.
Definition: apiPWP.h:342
PWP_UINT32 PwBlkElementCount(PWGM_HBLOCK block, PWGM_ELEMCOUNTS *pCounts)
Get the number of block elements.
PWP_BOOL PwBlkCondition(PWGM_HBLOCK block, PWGM_CONDDATA *pCondData)
Get the block condition data.
PWP_UINT32 neighbor
The id of the cell sharing the face with the owner.
PWGM_HBLOCK PwModCreateStrBlock(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE blkSize)
Creates a structured block in a model.
PWGM_HELEMENT blockElem
The block cell element&#39;s handle.
PWP_BOOL PwElemDataMod(PWGM_HELEMENT element, PWGM_ELEMDATA *pElemData)
Get the element data relative to the model&#39;s index space.
PWGM_HELEMENT hBlkElement
The owning block&#39;s locally indexed element handle.
Definition: apiGridModel.h:751
PWP_UINT32 PwModVertexCount(PWGM_HGRIDMODEL model)
Get the number of model vertex elements.
PWGM_ENUM_FACETYPE type
One of the PWGM_FACETYPE_XXX types.
PWGM_HELEMENT PwDomEnumElements(PWGM_HDOMAIN domain, PWP_UINT32 ndx)
Sequentially enumerate the domain elements.
Unstructured grid.
Definition: apiGridModel.h:847
PWGM_STR_SIZE size
vertex-size
Definition: apiGridModel.h:982
PWP_BOOL PwBoundary(PWGM_HBNDRY boundary, PWGM_BNDRYDATA *pBndryData)
Get the boundary data.
PWGM_HDOMAIN PwModCreateStrDomain(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE domSize)
Creates a structured domain in a model.
PWGM_HELEMENT PwBlkEnumElements(PWGM_HBLOCK block, PWP_UINT32 ndx)
Sequentially enumerate the block elements.
PWP_BOOL ok
PWP_TRUE if streaming completed successfully.
PWP_BOOL PwModCustomIndex3SchemeReady(PWGM_HGRIDMODEL model, PWGM_INDEX3MAPPERCB cb, void *cbData)
Notifys the Pointwise export framework that the custom index3 map is ready.
PWP_BOOL PwUnsDomAllocateElementCounts(PWGM_HDOMAIN h, const PWGM_ELEMCOUNTS &counts)
Allocates element storage in an unstructured domain.
all cell faces in any order
InteriorFirst grouped by BCs.
PWGM_ENUM_XYZ
XYZ component type ids.
Definition: apiGridModel.h:823
PWP_BOOL PwAsmPushElementFace(PWGM_HBLOCKASSEMBLER h, const PWGM_ASSEMBLER_DATA *face)
Adds a face to an unstructured block face assembler.
PWP_BOOL PwModNdxBoundary(PWGM_HGRIDMODEL model, PWP_UINT32 ndx, PWGM_BNDRYDATA *pBndryData)
Get the data for the model&#39;s nth structured boundary.
PWGM_ENUM_IJK
IJK component type ids.
Definition: apiGridModel.h:988
Block data type.
Definition: apiGridModel.h:978
1D, linear grid element
Definition: apiGridModel.h:675
PWGM_FACE_ID
Structured grid block-face ids.
Definition: apiGridModel.h:912
An opaque handle to a structured block boundary.
Definition: apiGridModel.h:459
Order by 3D, 5-sided, quad-based grid element.
Definition: apiGridModel.h:711
PWP_BOOL PwInRange(PWGM_INDEX3 ijk, const PWGM_STR_RANGE *pRange)
Determines if an PWGM_INDEX3 is within a PWGM_STR_RANGE.
PWP_UINT32(* PWGM_FACESTREAMCB)(PWGM_FACESTREAM_DATA *data)
The face stream callback function signature.
PWGM_ENUM_FACEORDER
The orderings supported by face streaming.
PWP_BOOL PwDomCondition(PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData)
Get the domain condition data.
Element descriptor data type.
Definition: apiGridModel.h:737
PWGM_INDEX3 PwXform2Apply(const PWGM_INDEX_XFORM2 *pX2, PWGM_INDEX3 ijk)
Apply a PWGM_INDEX_XFORM2 transform to a PWGM_INDEX3 value.
PWGM_ELEMDATA elemData
Element descriptor data.
Definition: apiGridModel.h:750
An opaque handle to a structured, inter-block connection.
Definition: apiGridModel.h:484
float PWP_FLOAT
32-bit real
Definition: apiPWP.h:263
const char * name
connection name
Definition: apiGridModel.h:964
PWGM_ELEMDATA elemData
The face&#39;s element data.
Element count information.
Definition: apiGridModel.h:759
PWGM_HVERTEXLIST PwDomGetVertexList(PWGM_HDOMAIN h)
Get the vertex list associated with an unstructured or structured domain.
PWP_BOOL PwModCustomIndexSchemeReady(PWGM_HGRIDMODEL model, PWGM_INDEXMAPPERCB cb, void *cbData)
Notifys the Pointwise export framework that the custom index map is ready.
PWP_UINT32 cellFaceIndex
The cell&#39;s local face index (0..numCellFaces-1).
PWGM_HCNXN PwModEnumConnections(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model&#39;s connections.
PWGM_HCONNECTOR PwModCreateCon(PWGM_HGRIDMODEL model, PWP_UINT size)
Creates a connector in a model.
PWGM_HBLOCK block
handle
Definition: apiGridModel.h:980
PWGM_INDEX_XFORM from1to2
transforms block1 index to block2 index
Definition: apiGridModel.h:968
PWP_BOOL PwConSetConditionUserId(PWGM_HCONNECTOR connector, const PWP_UINT32 userId)
Sets the condition data for a grid entity.
PWP_UINT32 i
vertex index in parent&#39;s model-space
Definition: apiGridModel.h:613
An opaque handle to a grid connector element.
Definition: apiGridModel.h:509
const char * PwElemTypeToText(PWGM_ENUM_ELEMTYPE type)
Maps a PWGM_ENUM_ELEMTYPE value to a human readable string.
only boundary cell faces
static PWP_UINT32 beginCB(PWGM_BEGINSTREAM_DATA *data)
PWP_BOOL PwConSetCondition(PWGM_HCONNECTOR connector, const PWGM_CONDDATA &condData)
Sets the condition data for a grid entity.
Order by 2D, 4-sided grid element.
Definition: apiGridModel.h:703
all cell faces in interior, boundary order
PWGM_INDEX3 end
ending index
Definition: apiGridModel.h:884
PWP_BOOL PwUnsDomSetElement(PWGM_HDOMAIN h, const PWP_UINT ndx, const PWGM_ELEMDATA *eData)
Sets the connectivity for an unstructured domain element.
Structured grid ijk index data type.
Definition: apiGridModel.h:870
PWP_UINT32 tid
cae-defined condition id
Definition: apiGridModel.h:650
PWP_BOOL PwConSetConditionUserName(PWGM_HCONNECTOR connector, const char *userName)
Sets the condition data for a grid entity.
PWP_UINT32 totalNumFaces
The total number of faces in the entire model (= numBoundaryFaces + numInteriorFaces).
Order by 2D, 3-sided grid element.
Definition: apiGridModel.h:705
Order by 3D, 4-sided (tetrahedral) grid element.
Definition: apiGridModel.h:707
PWP_UINT32 PwModEnumElementCount(PWGM_HGRIDMODEL model, PWGM_ELEMCOUNTS *pCounts)
Get the number of enumerated model block elements.
PWP_UINT32 PwModBlockCount(PWGM_HGRIDMODEL model)
Get the number of block elements in the model.
PWGM_HBLOCK block
The handle of the block that owns this cell element.
PWP_UINT64(* PWGM_INDEXMAPPERCB)(const PWP_UINT64 pwgmNdx, void *data)
The Custom IndexScheme mapper callback function signature.
static PWP_UINT32 faceCB(PWGM_FACESTREAM_DATA *data)
PWP_BOOL PwAsmSetCellConditionKey(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const PWP_UINT32 cell)
Sets the condition data for a grid entity.
K-component id.
Definition: apiGridModel.h:991
PWGM_INDEX_XFORM from2to1
transforms block2 index to block1 index (== inverse(from1to2)
Definition: apiGridModel.h:972
PWP_BOOL PwAsmSetCellSpanConditionKey(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const PWP_UINT32 startCell, const PWP_UINT32 endCell)
Sets the condition data for a grid entity.
PWGM_ENUM_FACETYPE type
One of the PWGM_FACETYPE_XXX types.
const char * name
grid-defined condition name
Definition: apiGridModel.h:647
PWP_UINT32 PwBlkConnectionCount(PWGM_HBLOCK block)
Get the number of connections in the block.
PWP_BOOL PwVertIndexMod(PWGM_HVERTEX vertex, PWP_UINT32 *pIndex)
Get the vertex index relative to the model&#39;s index space.
PWP_UINT32 neighborCellIndex
The cell index for the block element on the other side of the face.
BoundaryFirst grouped by BCs.
PWGM_ENUM_ELEMTYPE
Element type ids.
Definition: apiGridModel.h:674
Structured grid ijk range data type.
Definition: apiGridModel.h:882
The cell face is on the grid&#39;s interior.
3D, 5-sided, quad-based grid element
Definition: apiGridModel.h:681
Structured grid ijk index data type.
Definition: apiGridModel.h:861
Vertex descriptor data type.
Definition: apiGridModel.h:609
PWP_ENUM_DIMENSION
Supported dimensionality values.
Definition: apiPWP.h:765
PWP_BOOL PwBlkNdxVertData(PWGM_HBLOCK block, PWGM_INDEX3 ndx3, PWGM_VERTDATA *pVertData)
Get the block&#39;s vertex data at the given index location.
0D, point grid element
Definition: apiGridModel.h:682
PWGM_HBLOCK block1
connection block1 (source)
Definition: apiGridModel.h:965
Z-component id.
Definition: apiGridModel.h:826
PWP_BOOL PwModGetAttributeString(PWGM_HGRIDMODEL model, const char *name, const char **val)
Get an attribute value as a specific type.
many-to-many grid point match
Definition: apiGridModel.h:937
int PWP_BOOL
logical value
Definition: apiPWP.h:305
PWP_BOOL PwModGetAttributeFLOAT(PWGM_HGRIDMODEL model, const char *name, PWP_FLOAT *val)
Get an attribute value as a specific type.
PWP_BOOL PwAsmSetProperty(PWGM_HBLOCKASSEMBLER assembler, const PWP_UINT32 propertySetId, const char *key, const char *val)
Sets the property named key to val.
PWP_BOOL PwVlstIsStructured(PWGM_HVERTEXLIST h)
Check the type of a vertex list.
PWP_BOOL PwBlkSetConditionUserId(PWGM_HBLOCK block, const PWP_UINT32 userId)
Sets the condition data for a grid entity.
PWP_BOOL PwConSetProperty(PWGM_HCONNECTOR connector, const char *key, const char *val)
Sets the property named key to val.
The cell face is on the grid&#39;s boundary.
PWP_BOOL PwVlstSetXYZVal3(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3, const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val)
Set an XYZ component of a point in a 3D structured vertex list.
The cell face is on the grid&#39;s interior.
3D, extruded, tri/quad grid element
Definition: apiGridModel.h:680
Information about a block cell element that touches a face.
static PWP_UINT32 endCB(PWGM_ENDSTREAM_DATA *data)
Grid vertex list handle declaration.
Definition: apiGridModel.h:538
I-component id.
Definition: apiGridModel.h:989
PWP_UINT32 numInteriorFaces
How many faces in totalNumFaces that are interior to the model.
only interior cell faces
PWP_BOOL PwModGetAttributeREAL(PWGM_HGRIDMODEL model, const char *name, PWP_REAL *val)
Get an attribute value as a specific type.
const char * type
cae-defined condition physical type name
Definition: apiGridModel.h:649
PWGM_HCNXN PwBlkEnumConnections(PWGM_HBLOCK block, PWP_UINT32 ndx)
Sequentially enumerate the block&#39;s connections.
PWGM_HBLOCK block
boundary block
Definition: apiGridModel.h:955
PWGM_HVERTEXLIST PwModCreateUnsVertexList3(PWGM_HGRIDMODEL model)
Creates an empty, unstructured vertex list in a model for 3-D blocks and 2-D domains.
PWP_BOOL PwBlock(PWGM_HBLOCK block, PWGM_BLOCKDATA *pBlockData)
Get the block data.
PWP_UINT32 PwModDomainCount(PWGM_HGRIDMODEL model)
Get the number of domain elements in the model.
Y-component id.
Definition: apiGridModel.h:825
PWP_BOOL PwDomSetCondition(PWGM_HDOMAIN domain, const PWGM_CONDDATA &condData)
Sets the condition data for a grid entity.
PWGM_INDEX3 beg
begining index
Definition: apiGridModel.h:883
PWP_INT32 j
j-coordinate used for 3D and 2D grids
Definition: apiGridModel.h:863
void * userData
The PwModStreamFaces user data ptr.
PWP_BOOL PwDomSetConditionUserId(PWGM_HDOMAIN domain, const PWP_UINT32 userId)
Sets the condition data for a grid entity.
PWGM_HVERTEX PwModEnumVertices(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model vertex elements.
PWP_BOOL PwDomSetName(PWGM_HDOMAIN h, const char *name)
Set a domain&#39;s name.
PWGM_ENUM_GRIDTYPE
Definition: apiGridModel.h:845
PWP_UINT32 PwDomElementCount(PWGM_HDOMAIN domain, PWGM_ELEMCOUNTS *pCounts)
Get the number of domain elements.
An opaque handle to a grid domain element.
Definition: apiGridModel.h:374
Enumerated model element descriptor data type.
Definition: apiGridModel.h:749
unstructured
Definition: apiGridModel.h:919
An opaque handle to an unstructured block assembler.
Definition: apiGridModel.h:568
PWP_BOOL PwVlstSetXYZData(PWGM_HVERTEXLIST h, const PWP_UINT ndx, const PWGM_VERTDATA &v)
Set the XYZ of a point in a 1D vertex list using a PWGM_VERTDATA value.
PWP_INT32 k
k-coordinate used for 3D grids only
Definition: apiGridModel.h:864
PWP_BOOL PwXform2to3(const PWGM_INDEX_XFORM2 *pX2, PWGM_INDEX_XFORM *pX3)
Convert a 2D transform matrix to it&#39;s 3D equivalent.
void * userData
The PwModStreamFaces user data ptr.
PWP_BOOL PwVlstIsUnstructured(PWGM_HVERTEXLIST h)
Check the type of a vertex list.
PWGM_HVERTEXLIST PwAsmGetVertexList(PWGM_HBLOCKASSEMBLER h)
Get the vertex list associated with an unstructured block assembler.
PWP_BOOL PwAsmSetConditionTypeId(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const PWP_UINT32 typeId)
Sets the condition data for a grid entity.
Only used as a generic base handle for PWGM_HVERTEXLIST.
Definition: apiGridModel.h:535
PWGM_HDOMAIN PwVlstCreateUnsDomain(PWGM_HVERTEXLIST h)
Creates an unstructured domain that uses vertices from an unstructured vertex list.
PWP_UINT32 PWP_UINT
unsigned integer same size as void*
Definition: apiPWP.h:287
PWP_BOOL PwModGetAttributeValue(PWGM_HGRIDMODEL model, const char *name, PWP_ENUM_VALTYPE bufType, void *buf, PWP_UINT count)
Get an attribute&#39;s value.
Order by 3D, 6-sided (block) grid element.
Definition: apiGridModel.h:701
PWP_BOOL PwDomSetConditionTypeName(PWGM_HDOMAIN domain, const char *typeName)
Sets the condition data for a grid entity.
PWGM_HDOMAIN PwVlstCreateUnsBoundary(PWGM_HVERTEXLIST h)
PWP_BOOL PwConSetConditionTypeId(PWGM_HCONNECTOR connector, const PWP_UINT32 typeId)
Sets the condition data for a grid entity.
PWGM_XYZVAL y
y-component
Definition: apiGridModel.h:611
one-to-many grid point match
Definition: apiGridModel.h:936
Condition descriptor data type.
Definition: apiGridModel.h:646
PWP_BOOL PwBlkNdxBoundaryAndCondition(PWGM_HBLOCK block, PWP_UINT32 ndx, PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData)
Get the PWGM_BNDRYDATA and PWGM_CONDDATA for the block&#39;s nth structured boundary. ...
PWP_ENDIANNESS
Flags used to indicate endianness or control endian behaviors in functions.
Definition: apiPWP.h:824
PWGM_XYZVAL x
x-component
Definition: apiGridModel.h:610
PWP_BOOL PwBlkSetExportName(PWGM_HBLOCK block, const char *name)
Set the name used to identify the block or group of blocks in the exported grid.
Order by VC id.
Definition: apiGridModel.h:713
PWP_BOOL PwUnsBlkAllocateElements(PWGM_HBLOCK h, const PWGM_ENUM_ELEMTYPE cellType, const PWP_UINT count)
Allocates element storage in an unstructured block.
Structured grid boundary data type.
Definition: apiGridModel.h:953
PWP_BOOL PwModNdxConnection(PWGM_HGRIDMODEL model, PWP_UINT32 ndx, PWGM_CNXNDATA *pCnxnData)
Get the data for the model&#39;s nth connection.
PWP_BOOL PwAsmSetCondition(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const PWGM_CONDDATA &condData)
Sets the condition data for a grid entity.
PWGM_HVERTEXLIST PwConGetVertexList(PWGM_HCONNECTOR h)
Get the vertex list associated with a connector.
PWGM_ENUM_IJK PwXformFollows(const PWGM_INDEX_XFORM *pX3, PWGM_ENUM_IJK localAxis, PWP_BOOL *pFlipped)
For a given localAxis, determine the corresponding axis in the transformed system.
PWGM_HDOMAIN domain
The handle of the boundary domain that contains this cell&#39;s side of the face.
PWP_ENUM_DIMENSION PwVlstGetBlkElemDimensionality(PWGM_HVERTEXLIST h)
Get the block element dimensionality of a vertex list.
PWP_BOOL PwModGetAttributeINT(PWGM_HGRIDMODEL model, const char *name, PWP_INT *val)
Get an attribute value as a specific type.
PWP_BOOL PwUnsDomAllocateElements(PWGM_HDOMAIN h, const PWGM_ENUM_ELEMTYPE cellType, const PWP_UINT count)
Allocates element storage in an unstructured domain.
PWGM_HELEMENT PwModEnumElements(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model&#39;s block elements.
PWP_INT32 PWP_INT
integer same size as void*
Definition: apiPWP.h:284
PWP_UINT32 owner
The id of the cell that owns the face.
PWP_BOOL PwDomSetConditionTypeId(PWGM_HDOMAIN domain, const PWP_UINT32 typeId)
Sets the condition data for a grid entity.
PWP_INT32 j
j-coordinate used for 2D grids
Definition: apiGridModel.h:872
PWGM_ENUM_IJK PwXform2Follows(const PWGM_INDEX_XFORM2 *pX2, PWGM_ENUM_IJK localAxis, PWP_BOOL *pFlipped)
For a given localAxis, determine the corresponding axis in the transformed system.
const char * name
name
Definition: apiGridModel.h:979
PWP_BOOL PwModGetAttributeUINT32(PWGM_HGRIDMODEL model, const char *name, PWP_UINT32 *val)
Get an attribute value as a specific type.
PWGM_INDEX3 PwXformApply(const PWGM_INDEX_XFORM *pX3, PWGM_INDEX3 ijk)
Apply a PWGM_INDEX_XFORM transform to a PWGM_INDEX3 value.
PWP_BOOL PwAsmSetConditionUserId(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const PWP_UINT32 userId)
Sets the condition data for a grid entity.
PWGM_HBLOCK PwVlstCreateUnsBlock(PWGM_HVERTEXLIST h)
Creates an unstructured block that uses vertices from an unstructured vertex list.
An opaque handle to a grid model.
Definition: apiGridModel.h:328
PWGM_ENUM_ELEMORDER
Types of element orderings.
Definition: apiGridModel.h:699
PWP_BOOL PwModStreamFaces(PWGM_HGRIDMODEL model, PWGM_ENUM_FACEORDER order, PWGM_BEGINSTREAMCB beginCB, PWGM_FACESTREAMCB faceCB, PWGM_ENDSTREAMCB endCB, void *userData)
Stream the grid model&#39;s faces to a callback function in the specified order.
PWP_BOOL PwVlstSetXYZ3(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3, const PWGM_XYZVAL x, const PWGM_XYZVAL y, const PWGM_XYZVAL z)
Set the XYZ of a point in a 3D structured vertex list.
An opaque handle to a grid block element.
Definition: apiGridModel.h:347
PWGM_HBLOCK PwModEnumBlocks(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model block elements.
BoundaryOnly grouped by BCs.
Structured grid, inter-block, connection data type.
Definition: apiGridModel.h:963
PWP_BOOL PwModGetAttributeBOOL(PWGM_HGRIDMODEL model, const char *name, PWP_BOOL *val)
Get an attribute value as a specific type.
PWP_UINT32 numBoundaryFaces
How many faces in totalNumFaces lie on the model&#39;s boundary.
PWP_BOOL PwVlstSetXYZVal2(PWGM_HVERTEXLIST h, const PWGM_INDEX2 ndx2, const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val)
Set an XYZ component of a point in a 2D structured vertex list.
PWGM_INDEX3 PW_DLL_IMPEXP PWGM_STR_SIZE
Structured grid ijk size data type.
Definition: apiGridModel.h:877
PWP_BOOL PwModAppendEnumElementOrder(PWGM_HGRIDMODEL model, PWGM_ENUM_ELEMORDER order)
Append an element order to the enumElements() ordering sequence.
Structured grid.
Definition: apiGridModel.h:846
PWP_REAL PWGM_XYZVAL
XYZ component data type.
Definition: apiGridModel.h:602
double PWP_REAL
64-bit real
Definition: apiPWP.h:266
PWP_BOOL PwBlkSetConditionTypeName(PWGM_HBLOCK block, const char *typeName)
Sets the condition data for a grid entity.
PWP_UINT32(* PWGM_BEGINSTREAMCB)(PWGM_BEGINSTREAM_DATA *data)
The begin stream callback function signature.
PWP_BOOL PwBlkSize(PWGM_HBLOCK block, PWGM_STR_SIZE *pSize)
Get the block&#39;s vertex-size.
PWP_BOOL PwVlstSetXYZ3Data(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3, const PWGM_VERTDATA &v)
Set the XYZ of a point in a 3D structured vertex list using a PWGM_VERTDATA value.
PWP_BOOL PwVlstSetXYZ2(PWGM_HVERTEXLIST h, const PWGM_INDEX2 ndx2, const PWGM_XYZVAL x, const PWGM_XYZVAL y, const PWGM_XYZVAL z)
Set the XYZ of a point in a 2D structured vertex list.
PWP_BOOL PwModGetAttributeEnum(PWGM_HGRIDMODEL model, const char *name, const char **val)
Get an attribute value as a specific type.
PWP_UINT32 PwModConnectionCount(PWGM_HGRIDMODEL model)
Get the number of structured grid connections in the model.
int PWP_INT32
32-bit integer
Definition: apiPWP.h:209
PWP_BOOL PwUnsBlkAllocateElementCounts(PWGM_HBLOCK h, const PWGM_ELEMCOUNTS &counts)
Allocates element storage in an unstructured block.
PWP_INT32 i
i-coordinate used for 3D and 2D grids
Definition: apiGridModel.h:862
PWP_BOOL PwModGetAttributeINT32(PWGM_HGRIDMODEL model, const char *name, PWP_INT32 *val)
Get an attribute value as a specific type.
PWP_BOOL PwDomSetConditionUserName(PWGM_HDOMAIN domain, const char *userName)
Sets the condition data for a grid entity.
PWP_BOOL PwElemDataModEnum(PWGM_HELEMENT element, PWGM_ENUMELEMDATA *pElemData)
Get the enumerated element data relative to the model&#39;s index space.
PWP_UINT32 cellIndex
The cell&#39;s index in the model&#39;s index space (0..totalNumCells-1)
PWP_BOOL PwVertXyzVal(PWGM_HVERTEX vertex, PWGM_ENUM_XYZ which, PWGM_XYZVAL *pVal)
Get a vertex&#39;s x, y, or z component value.
PWGM_FACE_ID face2
face Id on block2
Definition: apiGridModel.h:970
X-component id.
Definition: apiGridModel.h:824
all cell faces in boundary, interior order
J-component id.
Definition: apiGridModel.h:990