Pointwise Plugin SDK
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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  * (C) 2021 Cadence Design Systems, Inc. All rights reserved worldwide.
8  *
9  ***************************************************************************/
10 
11 // See comments in core code for information on adding new PWGM API functions.
12 
13 #include <stdio.h>
14 
15 #include "apiPWP.h"
16 
17 #if defined(WINDOWS) && defined(SHOW_PWGM_MESSAGES)
18 # if !defined(PWGM_HIDE_EXPORT_API)
19 
20 # define PWGM_HIDE_IMPORT_API
21 # if !defined(PWGM_HIDE_UNSTRUCTURED_API) && defined(PWGM_HIDE_STRUCTURED_API)
22 # pragma message ("FYI: Using Unstructured Export PWGM API")
23 # elif defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_STRUCTURED_API)
24 # pragma message ("FYI: Using Structured Export PWGM API")
25 # elif !defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_STRUCTURED_API)
26 # pragma message ("WARNING: Using Hybrid Export PWGM API")
27 # else //defined(PWGM_HIDE_UNSTRUCTURED_API) && defined(PWGM_HIDE_STRUCTURED_API)
28 # error ("ERROR: Export PWGM API is INVISIBLE!")
29 # endif
30 
31 # else // !defined(PWGM_HIDE_EXPORT_API)
32 
33 # pragma message ("FYI: Using Import PWGM API")
34 
35 # endif // !defined(PWGM_HIDE_EXPORT_API)
36 #endif // WINDOWS && SHOW_PWP_MESSAGES
37 
38 
58 #undef PW_DLL_IMPEXP
59 #ifdef BUILD_GGPLUGIN
60 # define PW_DLL_IMPEXP PW_DLLEXPORT
61 #else
62 # define PW_DLL_IMPEXP PW_DLLIMPORT
63 #endif
64  // sdkINTERNALS
65 
66 /*
67 
68 The Pointwise CAE Plugin API
69  Using C++
70  CAE Plugin Classes
71  Grid Model Classes
72  Using C
73  Progress Handling
74  CAE Plugin File Handling
75  CAE Value to Text Functions
76  CAEP Message Handling
77  CAEP Variable Manager Tools
78  CAEP Macros
79  GRDP Message Handling
80  GRDP Variable Manager Tools
81  GRDP Macros
82  Pointwise Grid Model API Specification (PWGM-API)
83  Platform Endian Handling
84  Unformatted FORTRAN File Handling
85 Pointwise Grid Import Plugin API
86  Using C++
87  GRDP Plugin Classes
88  Grid Model Classes
89  Using C
90 The Pointwise Grid Model API
91  Using C++
92  Using C
93 Miscellaneous Data Types and Classes
94 The Low Level Plugin API Functions
95  Pointwise CAE Plugin API Specification (CAEP-API)
96  Pointwise Grid Import Plugin API Specification (GRDP-API)
97  Pointwise Plugin API Specification (PWP-API)
98 
99 */
100 
101 extern "C" {
102 
103 /***********************************************************/
107 /***********************************************************/
135 /***********************************************************/
154 /***********************************************************/ // end DOXGRP_APIPWGM_IMPORT
166 
167  // DOXGRP_APIPWGM_IMPORT_UNS
214 
215  // DOXGRP_APIPWGM_IMPORT_STR
242 
243 
244 
245 /***********************************************************/
249 /***********************************************************/
328 #define PWGM_HGRIDMODEL_ISVALID(h) PWP_HANDLE_ISVALID(h)
329 
332 #define PWGM_HGRIDMODEL_INIT PWP_HANDLE_INIT
333 
334 #define PWGM_HGRIDMODEL_SET(h, v) PWP_HANDLE_SET(h, v)
335 
336 #define PWGM_HGRIDMODEL_SET_INVALID(h) PWGM_HGRIDMODEL_SET(h, PWP_HANDLE_INIT)
337 
338 #define PWGM_HGRIDMODEL_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)h)
339 
340 #define PWGM_HGRIDMODEL_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)h)
341  // sdkINTERNALS
342 
346 
348 #define PWGM_HBLOCK_ISVALID(h) PWP_HEGRP_ISVALID(h)
349 
352 #define PWGM_HBLOCK_INIT PWP_HEGRP_INIT
353 
354 #define PWGM_HBLOCK_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
355 
356 #define PWGM_HBLOCK_SET_INVALID(h) PWGM_HBLOCK_SET(h, 0, PWP_BADID)
357 
358 #define PWGM_HBLOCK_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
359 
360 #define PWGM_HBLOCK_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWP_HEGRP_H(h))
361  // sdkINTERNALS
362 
364 #define PWGM_HBLOCK_H(h) PWP_HEGRP_H(h)
365 
366 #define PWGM_HBLOCK_ID(h) PWP_HEGRP_ID(h)
367 
368 #define PWGM_HBLOCK_MODEL(h) PWP_HEGRP_H(h)
369 
374 #define PWGM_HDOMAIN_ISVALID(h) PWP_HEGRP_ISVALID(h)
375 
378 #define PWGM_HDOMAIN_INIT PWP_HEGRP_INIT
379 
380 #define PWGM_HDOMAIN_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
381 
382 #define PWGM_HDOMAIN_SET_INVALID(h) PWGM_HDOMAIN_SET(h, 0, PWP_BADID)
383 
384 #define PWGM_HDOMAIN_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
385 
386 #define PWGM_HDOMAIN_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWP_HEGRP_H(h))
387  // sdkINTERNALS
388 
390 #define PWGM_HDOMAIN_H(h) PWP_HEGRP_H(h)
391 
392 #define PWGM_HDOMAIN_ID(h) PWP_HEGRP_ID(h)
393 
394 #define PWGM_HDOMAIN_MODEL(h) PWP_HEGRP_H(h)
395 
400 #define PWGM_HVERTEX_ISVALID(h) PWP_HEGRP_ISVALID(h)
401 
404 #define PWGM_HVERTEX_INIT PWP_HEGRP_INIT
405 
406 #define PWGM_HVERTEX_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
407 
408 #define PWGM_HVERTEX_SET_INVALID(h) PWGM_HVERTEX_SET(h, 0, PWP_BADID)
409 
410 #define PWGM_HVERTEX_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
411  // sdkINTERNALS
412 
414 #define PWGM_HVERTEX_H(h) PWP_HEGRP_H(h)
415 
416 #define PWGM_HVERTEX_ID(h) PWP_HEGRP_ID(h)
417 
418 #define PWGM_HVERTEX_MODEL(h) PWP_HEGRP_H(h)
419 
420 
424 
425 
429 #define PWGM_HELEMENT_ISVALID(h) PWP_HEGI_ISVALID(h)
430 
433 #define PWGM_HELEMENT_INIT PWP_HEGI_INIT
434 
435 #define PWGM_HELEMENT_SET(h,p,tt,sv,v) PWP_HEGI_SET(h,p,tt,sv,v)
436 
437 #define PWGM_HELEMENT_SET_INVALID(h) PWGM_HELEMENT_SET(h, 0, PWP_BADTYPE, \
438  PWP_BADID, PWP_BADID)
439 
440 #define PWGM_HELEMENT_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWGM_HELEMENT_MODEL(h))
441  // sdkINTERNALS
442 
444 #define PWGM_HELEMENT_H(h) PWP_HEGI_H(h)
445 
446 #define PWGM_HELEMENT_PID(h) PWP_HEGI_PID(h)
447 
448 #define PWGM_HELEMENT_PTYPE(h) PWP_HEGI_PTYPE(h)
449 
450 #define PWGM_HELEMENT_ID(h) PWP_HEGI_ID(h)
451 
452 #define PWGM_HELEMENT_MODEL(h) PWP_HEGI_H(h)
453 
454 
459 #define PWGM_HBNDRY_ISVALID(h) PWP_HEGRP_ISVALID(h)
460 
463 # define PWGM_HBNDRY_INIT PWP_HEGRP_INIT
464 
465 # define PWGM_HBNDRY_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
466 
467 # define PWGM_HBNDRY_SET_INVALID(h) PWGM_HBNDRY_SET(h, 0, PWP_BADID)
468 
469 #define PWGM_HBNDRY_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
470  // sdkINTERNALS
471 
473 #define PWGM_HBNDRY_H(h) PWP_HEGRP_H(h)
474 
475 #define PWGM_HBNDRY_ID(h) PWP_HEGRP_ID(h)
476 
477 #define PWGM_HBNDRY_MODEL(h) PWP_HEGRP_H(h)
478 
479 
484 #define PWGM_HCNXN_ISVALID(h) PWP_HEGRP_ISVALID(h)
485 
488 # define PWGM_HCNXN_INIT PWP_HEGRP_INIT
489 
490 # define PWGM_HCNXN_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
491 
492 # define PWGM_HCNXN_SET_INVALID(h) PWGM_HCNXN_SET(h, 0, PWP_BADID)
493 
494 #define PWGM_HCNXN_OUT_GMIMPL(h) ((PWGM_HGRIDMODEL_OUT_IMPL*)PWP_HEGRP_H(h))
495  // sdkINTERNALS
496 
498 #define PWGM_HCNXN_H(h) PWP_HEGRP_H(h)
499 
500 #define PWGM_HCNXN_ID(h) PWP_HEGRP_ID(h)
501 
502 #define PWGM_HCNXN_MODEL(h) PWP_HEGRP_H(h)
503 
504 
505 //---------------------------------------------------------------------------
509 #define PWGM_HCONNECTOR_ISVALID(h) PWP_HEGRP_ISVALID(h)
510 
513 #define PWGM_HCONNECTOR_INIT PWP_HEGRP_INIT
514 #define PWGM_HCONNECTOR_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
516 #define PWGM_HCONNECTOR_SET_INVALID(h) PWGM_HCONNECTOR_SET(h, 0, PWP_BADID)
518 #define PWGM_HCONNECTOR_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWP_HEGRP_H(h))
520 
523 #define PWGM_HCONNECTOR_H(h) PWP_HEGRP_H(h)
524 #define PWGM_HCONNECTOR_ID(h) PWP_HEGRP_ID(h)
526 #define PWGM_HCONNECTOR_MODEL(h) PWP_HEGRP_H(h)
528 
529 
530 //---------------------------------------------------------------------------
534 
538 #define PWGM_HVERTEXLIST_ISVALID(h) PWP_HEGI_ISVALID(h)
539 
542 #define PWGM_HVERTEXLIST_INIT PWP_HEGI_INIT
543 
544 #define PWGM_HVERTEXLIST_SET(h,p,tt,sv,v) PWP_HEGI_SET(h,p,tt,sv,v)
545 
546 #define PWGM_HVERTEXLIST_SET_INVALID(h) PWGM_HVERTEXLIST_SET(h, 0, \
547  PWP_BADTYPE, PWP_BADID, PWP_BADID)
548 
549 #define PWGM_HVERTEXLIST_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWGM_HVERTEXLIST_MODEL(h))
550  // sdkINTERNALS
551 
553 #define PWGM_HVERTEXLIST_H(h) PWP_HEGI_H(h)
554 
555 #define PWGM_HVERTEXLIST_PID(h) PWP_HEGI_PID(h)
556 
557 #define PWGM_HVERTEXLIST_PTYPE(h) PWP_HEGI_PTYPE(h)
558 
559 #define PWGM_HVERTEXLIST_ID(h) PWP_HEGI_ID(h)
560 
561 #define PWGM_HVERTEXLIST_MODEL(h) PWP_HEGI_H(h)
562 
563 
564 //---------------------------------------------------------------------------
568 #define PWGM_HBLOCKASSEMBLER_ISVALID(h) PWP_HEGRP_ISVALID(h)
569 
572 #define PWGM_HBLOCKASSEMBLER_INIT PWP_HEGRP_INIT
573 #define PWGM_HBLOCKASSEMBLER_SET(h, p, v) PWP_HEGRP_SET(h, p, v)
575 #define PWGM_HBLOCKASSEMBLER_SET_INVALID(h) PWGM_HBLOCKASSEMBLER_SET(h, 0, PWP_BADID)
577 #define PWGM_HBLOCKASSEMBLER_IN_GMIMPL(h) ((PWGM_HGRIDMODEL_IN_IMPL*)PWP_HEGRP_H(h))
579 
582 #define PWGM_HBLOCKASSEMBLER_H(h) PWP_HEGRP_H(h)
583 #define PWGM_HBLOCKASSEMBLER_ID(h) PWP_HEGRP_ID(h)
585 #define PWGM_HBLOCKASSEMBLER_MODEL(h) PWP_HEGRP_H(h)
587 
591 /*---------------------------------------------------------*/
592 /* UNSTRUCTURED AND STRUCTURED GRID DATATYPES */
593 /*---------------------------------------------------------*/
594 
595 
601 
602 
607 struct PW_DLL_IMPEXP PWGM_VERTDATA {
608  PWGM_XYZVAL x;
609  PWGM_XYZVAL y;
610  PWGM_XYZVAL z;
612 };
613 
614 
616 /*---------------------------------------------------------*/
621 enum PWGM_XYZ_CLUSTERING {
622  PWGM_CLUSTERING_XYXY,
623  PWGM_CLUSTERING_XXYY,
624  PWGM_CLUSTERING_XYZXYZ,
625  PWGM_CLUSTERING_XXYYZZ,
626 
630  PWGM_CLUSTERING_SIZE,
631  PWGM_CLUSTERING_LAST = PWGM_CLUSTERING_SIZE - 1
633  // sdkINTERNALS
634 };
636 
637 
644 struct PW_DLL_IMPEXP PWGM_CONDDATA {
645  const char * name;
647  const char * type;
649 };
650 
655 #define PWGM_UNSPECIFIED_COND_ID PWP_UINT32(2147483647)
656 
661 #define PWGM_UNSPECIFIED_TYPE_ID PWP_UINT32(0)
662 
663 
664 /*---------------------------------------------------------*/
665 /* UNSTRUCTURED GRID DATATYPES */
666 /*---------------------------------------------------------*/
667 
681  /* add new enum values before this line */
682 
686  PWGM_ELEMTYPE_SIZE,
687  PWGM_ELEMTYPE_LAST = PWGM_ELEMTYPE_SIZE-1
689  // sdkINTERNALS
690 };
691 
692 
712  /* add new enum values before this line */
713 
717  PWGM_ELEMORDER_SIZE,
718  PWGM_ELEMORDER_LAST = PWGM_ELEMORDER_SIZE-1
720  // sdkINTERNALS
721 };
722 
723 
728 #define PWGM_ELEMDATA_VERT_SIZE 8
729 
730 
735 struct PW_DLL_IMPEXP PWGM_ELEMDATA {
740 };
741 
742 
747 struct PW_DLL_IMPEXP PWGM_ENUMELEMDATA {
750 };
751 
752 
757 struct PW_DLL_IMPEXP PWGM_ELEMCOUNTS {
763  PWP_UINT32 count[PWGM_ELEMTYPE_SIZE];
764 };
765 
771 #define PWGM_ECNT_Point(ecs) (ecs).count[PWGM_ELEMTYPE_POINT]
772 
777 #define PWGM_ECNT_Bar(ecs) (ecs).count[PWGM_ELEMTYPE_BAR]
778 
783 #define PWGM_ECNT_Hex(ecs) (ecs).count[PWGM_ELEMTYPE_HEX]
784 
789 #define PWGM_ECNT_Quad(ecs) (ecs).count[PWGM_ELEMTYPE_QUAD]
790 
795 #define PWGM_ECNT_Tri(ecs) (ecs).count[PWGM_ELEMTYPE_TRI]
796 
801 #define PWGM_ECNT_Tet(ecs) (ecs).count[PWGM_ELEMTYPE_TET]
802 
807 #define PWGM_ECNT_Wedge(ecs) (ecs).count[PWGM_ELEMTYPE_WEDGE]
808 
813 #define PWGM_ECNT_Pyramid(ecs) (ecs).count[PWGM_ELEMTYPE_PYRAMID]
814 
815 
816 
825  // add new enum values before this line
826 
830  PWGM_XYZ_SIZE,
831  PWGM_XYZ_LAST = PWGM_XYZ_SIZE-1
833  // sdkINTERNALS
834 };
835 
836 
837 
838 /*---------------------------------------------------------*/
839 /* STRUCTURED GRID DATATYPES */
840 /*---------------------------------------------------------*/
841 
846 
850  PWGM_GRIDTYPE_SIZE,
851  PWGM_GRIDTYPE_LAST = PWGM_GRIDTYPE_SIZE-1
853  // sdkINTERNALS
854 };
855 
856 
859 struct PW_DLL_IMPEXP PWGM_INDEX3 {
863 };
864 
865 /*---------------------------------------------------------*/
868 struct PW_DLL_IMPEXP PWGM_INDEX2 {
871 };
872 
875 typedef PWGM_INDEX3 PW_DLL_IMPEXP PWGM_STR_SIZE;
876 
877 
880 struct PW_DLL_IMPEXP PWGM_STR_RANGE {
883 };
884 
885 
892 struct PW_DLL_IMPEXP PWGM_INDEX_XFORM {
893  PWP_INT32 m[3][4];
894 };
895 
896 
903 struct PW_DLL_IMPEXP PWGM_INDEX_XFORM2 {
904  PWP_INT32 m[2][3];
905 };
906 
907 
918  // add new enum values before this line
919 
923  PWGM_FACE_SIZE,
924  PWGM_FACE_LAST = PWGM_FACE_SIZE-1
926  // sdkINTERNALS
927 };
928 
929 
937  // add new enum values before this line
938 
942  PWGM_CNXNTYPE_SIZE,
943  PWGM_CNXNTYPE_LAST = PWGM_FACE_SIZE-1
945  // sdkINTERNALS
946 };
947 
948 
951 struct PW_DLL_IMPEXP PWGM_BNDRYDATA {
952  const char *name;
956 };
957 
958 
961 struct PW_DLL_IMPEXP PWGM_CNXNDATA {
962  const char *name;
971 };
972 
973 
976 struct PW_DLL_IMPEXP PWGM_BLOCKDATA {
977  const char *name;
980  PWGM_STR_SIZE size;
981 };
982 
983 
990  // add new enum values before this line
991 
995  PWGM_IJK_SIZE,
996  PWGM_IJK_LAST = PWGM_IJK_SIZE-1
998  // sdkINTERNALS
999 };
1000 
1001 
1008 
1012 
1016  // add new enum values before this line
1017 
1021  PWGM_FACETYPE_SIZE,
1022  PWGM_FACETYPE_LAST = PWGM_FACETYPE_SIZE-1
1024  // sdkINTERNALS
1025 };
1026 
1027 
1041  // add new enum values before this line
1042 
1046  PWGM_FACEORDER_SIZE,
1047  PWGM_FACEORDER_LAST = PWGM_FACEORDER_SIZE-1
1049  // sdkINTERNALS
1050 };
1051 
1052 
1055 struct PW_DLL_IMPEXP PWGM_BEGINSTREAM_DATA {
1062  void *userData;
1063 };
1064 
1065 
1071 
1072 
1075 struct PW_DLL_IMPEXP PWGM_FACEREF_DATA {
1078 
1083 
1085  //PWP_UINT32 blockFace; TODO make this work
1086 
1089 
1092 
1096 
1099 };
1100 
1101 
1104 struct PW_DLL_IMPEXP PWGM_FACESTREAM_DATA {
1107 
1110 
1114 
1117 
1122 
1126 
1128  void *userData;
1129 };
1130 
1131 
1137 
1138 
1141 struct PW_DLL_IMPEXP PWGM_ENDSTREAM_DATA {
1144  void *userData;
1145 };
1146 
1147 
1153 
1161 
1163 #define PWGM_CONDKEY_UNDEF PWP_UINT32_UNDEF
1164 
1165 
1166 /*---------------------------------------------------------*/
1182 struct PW_DLL_IMPEXP PWGM_ASSEMBLER_DATA {
1185  PWP_UINT32 index[4];
1188 };
1189 
1190 
1196 typedef PWP_UINT64(*PWGM_INDEXMAPPERCB)(const PWP_UINT64 pwgmNdx, void *data);
1197 
1198 
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 
1621 PW_DLLEXPORT PWP_BOOL
1623  void *cbData);
1624 
1625 
1692 PW_DLLEXPORT PWP_BOOL
1695  PWGM_ENDSTREAMCB endCB, void *userData);
1696 
1697 
1708 PW_DLLEXPORT PWP_UINT32
1710 
1711 
1727 PW_DLLEXPORT PWGM_HELEMENT
1729 
1730 
1794 PW_DLLEXPORT PWP_BOOL
1796 
1797 
1811 PW_DLLEXPORT PWP_VOID
1813 
1814 
1825 PW_DLLEXPORT PWP_UINT32
1827 
1828 
1854 PW_DLLEXPORT PWGM_HELEMENT
1856 
1857 
1868 PW_DLLEXPORT PWP_UINT32
1870 
1871 
1884 PW_DLLEXPORT PWGM_HELEMENT
1886 
1887 
1898 PW_DLLEXPORT PWP_BOOL
1899 PwDomCondition(PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData);
1900 
1901 
1914 PW_DLLEXPORT PWP_BOOL
1915 PwVertDataMod(PWGM_HVERTEX vertex, PWGM_VERTDATA *pVertData);
1916 
1917 
1930 PW_DLLEXPORT PWP_BOOL
1931 PwVertIndexMod(PWGM_HVERTEX vertex, PWP_UINT32 *pIndex);
1932 
1933 
1949 PW_DLLEXPORT PWP_BOOL
1950 PwVertXyzVal(PWGM_HVERTEX vertex, PWGM_ENUM_XYZ which, PWGM_XYZVAL *pVal);
1951 
1952 
1963 PW_DLLEXPORT PWP_BOOL
1964 PwElemDataMod(PWGM_HELEMENT element, PWGM_ELEMDATA *pElemData);
1965 
1966 
1977 PW_DLLEXPORT PWP_BOOL
1979 
1980 
1989 const char *
1991 
1992 
2000 const char *
2002 
2003 #endif // !defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2004 
2007 /***********************************************************/
2012 #if !defined(PWGM_HIDE_STRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2013 
2024 PW_DLLEXPORT PWP_BOOL
2025 PwBlkSize(PWGM_HBLOCK block, PWGM_STR_SIZE *pSize);
2026 
2027 
2041 PW_DLLEXPORT PWP_BOOL
2042 PwBlkNdxVertData(PWGM_HBLOCK block, PWGM_INDEX3 ndx3, PWGM_VERTDATA *pVertData);
2043 
2044 
2067 PW_DLLEXPORT PWP_BOOL
2069  void *cbData);
2070 
2071 
2077 PW_DLLEXPORT PWP_UINT32
2079 
2080 
2102 PW_DLLEXPORT PWGM_HCNXN
2104 
2105 
2116 PW_DLLEXPORT PWP_BOOL
2117 PwConnection(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData);
2118 
2119 
2138 PW_DLLEXPORT PWP_BOOL
2140 
2141 
2147 PW_DLLEXPORT PWP_UINT32
2149 
2150 
2172 PW_DLLEXPORT PWGM_HBNDRY
2174 
2175 
2186 PW_DLLEXPORT PWP_BOOL
2187 PwBoundary(PWGM_HBNDRY boundary, PWGM_BNDRYDATA *pBndryData);
2188 
2189 
2200 PW_DLLEXPORT PWP_BOOL
2201 PwBndryCondition(PWGM_HBNDRY boundary, PWGM_CONDDATA *pCondData);
2202 
2203 
2222 PW_DLLEXPORT PWP_BOOL
2224 
2225 
2252 PW_DLLEXPORT PWP_BOOL
2254  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
2255 
2256 
2262 PW_DLLEXPORT PWP_UINT32
2264 
2265 
2287 PW_DLLEXPORT PWGM_HBNDRY
2289 
2290 
2309 PW_DLLEXPORT PWP_BOOL
2310 PwBlkNdxBoundary(PWGM_HBLOCK block, PWP_UINT32 ndx, PWGM_BNDRYDATA *pBndryData);
2311 
2312 
2339 PW_DLLEXPORT PWP_BOOL
2341  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
2342 
2343 
2349 PW_DLLEXPORT PWP_UINT32
2351 
2352 
2374 PW_DLLEXPORT PWGM_HCNXN
2376 
2377 
2396 PW_DLLEXPORT PWP_BOOL
2398  PWGM_CNXNDATA *pCnxnData);
2399 
2400 
2401 /***********************************************************/
2427 PWP_BOOL
2429 
2430 
2450 PWP_BOOL
2452 
2453 
2465 PwXformApply(const PWGM_INDEX_XFORM *pX3, PWGM_INDEX3 ijk);
2466 
2467 
2484 PwXformFollows(const PWGM_INDEX_XFORM *pX3, PWGM_ENUM_IJK localAxis,
2485  PWP_BOOL *pFlipped);
2486 
2487 
2501 
2502 
2519 PwXform2Follows(const PWGM_INDEX_XFORM2 *pX2, PWGM_ENUM_IJK localAxis,
2520  PWP_BOOL *pFlipped);
2521 
2522 
2533 PWP_BOOL
2534 PwInRange(PWGM_INDEX3 ijk, const PWGM_STR_RANGE *pRange);
2535 
2538 #endif // !defined(PWGM_HIDE_STRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2539 
2545 /***********************************************************/
2554 #if !defined(PWGM_HIDE_IMPORT_API)
2555 
2556 /***********************************************************/
2567 /*---------------------------------------------------------*/
2591 PW_DLLEXPORT PWGM_HVERTEXLIST
2593 
2594 /*---------------------------------------------------------*/
2618 PW_DLLEXPORT PWGM_HVERTEXLIST
2620 
2621 /*---------------------------------------------------------*/
2638 PW_DLLEXPORT PWGM_HVERTEXLIST
2640 
2641 /*---------------------------------------------------------*/
2655 PW_DLLEXPORT PWP_BOOL
2656 PwConSetName(PWGM_HCONNECTOR h, const char *name);
2657 
2658 /*---------------------------------------------------------*/
2672 PW_DLLEXPORT PWP_BOOL
2673 PwBlkSetName(PWGM_HBLOCK h, const char *name);
2674 
2675 /*---------------------------------------------------------*/
2689 PW_DLLEXPORT PWP_BOOL
2690 PwDomSetName(PWGM_HDOMAIN h, const char *name);
2691 
2692 /*---------------------------------------------------------*/
2702 PW_DLLEXPORT PWP_BOOL
2704 
2705 /*---------------------------------------------------------*/
2715 PW_DLLEXPORT PWP_BOOL
2717 
2718 /*---------------------------------------------------------*/
2728 PW_DLLEXPORT PWP_UINT
2730 
2731 /*---------------------------------------------------------*/
2743 PW_DLLEXPORT PWP_ENUM_DIMENSION
2745 
2746 /*---------------------------------------------------------*/
2774 PW_DLLEXPORT PWP_BOOL
2776  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2777 
2778 /*---------------------------------------------------------*/
2802 PW_DLLEXPORT PWP_BOOL
2803 PwVlstSetXYZ(PWGM_HVERTEXLIST h, const PWP_UINT ndx, const PWGM_XYZVAL x,
2804  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2805 
2806 /*---------------------------------------------------------*/
2831 PW_DLLEXPORT PWP_BOOL
2833 
2834 /*---------------------------------------------------------*/
2862 PW_DLLEXPORT PWP_BOOL
2864  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2865 
2866 /*---------------------------------------------------------*/
2889 PW_DLLEXPORT PWP_BOOL
2890 PwVlstSetXYZ2(PWGM_HVERTEXLIST h, const PWGM_INDEX2 ndx2, const PWGM_XYZVAL x,
2891  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2892 
2893 /*---------------------------------------------------------*/
2919 PW_DLLEXPORT PWP_BOOL
2921  const PWGM_VERTDATA &v);
2922 
2923 /*---------------------------------------------------------*/
2951 PW_DLLEXPORT PWP_BOOL
2953  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2954 
2955 /*---------------------------------------------------------*/
2978 PW_DLLEXPORT PWP_BOOL
2979 PwVlstSetXYZ3(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3, const PWGM_XYZVAL x,
2980  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2981 
2982 /*---------------------------------------------------------*/
3008 PW_DLLEXPORT PWP_BOOL
3010 
3011 /*---------------------------------------------------------*/
3035 PW_DLLEXPORT PWP_BOOL
3036 PwBlkSetProperty(PWGM_HBLOCK block, const char *key, const char *val);
3037 
3038 /*---------------------------------------------------------*/
3062 PW_DLLEXPORT PWP_BOOL
3063 PwDomSetProperty(PWGM_HDOMAIN domain, const char *key, const char *val);
3064 
3065 /*---------------------------------------------------------*/
3089 PW_DLLEXPORT PWP_BOOL
3090 PwConSetProperty(PWGM_HCONNECTOR connector, const char *key, const char *val);
3091 
3092 /*---------------------------------------------------------*/
3121 PW_DLLEXPORT PWP_BOOL
3122 PwAsmSetProperty(PWGM_HBLOCKASSEMBLER assembler, const PWP_UINT32 propertySetId,
3123  const char *key, const char *val);
3124 
3125 /*---------------------------------------------------------*/
3143 PW_DLLEXPORT PWP_BOOL
3144 PwBlkSetConditionUserName(PWGM_HBLOCK block, const char *userName);
3145 
3146 /*---------------------------------------------------------*/
3164 PW_DLLEXPORT PWP_BOOL
3165 PwBlkSetConditionUserId(PWGM_HBLOCK block, const PWP_UINT32 userId);
3166 
3167 /*---------------------------------------------------------*/
3192 PW_DLLEXPORT PWP_BOOL
3193 PwBlkSetConditionTypeName(PWGM_HBLOCK block, const char *typeName);
3194 
3195 /*---------------------------------------------------------*/
3220 PW_DLLEXPORT PWP_BOOL
3221 PwBlkSetConditionTypeId(PWGM_HBLOCK block, const PWP_UINT32 typeId);
3222 
3223 /*---------------------------------------------------------*/
3251 PW_DLLEXPORT PWP_BOOL
3252 PwBlkSetCondition(PWGM_HBLOCK block, const PWGM_CONDDATA &condData);
3253 
3254 
3255 /*---------------------------------------------------------*/
3273 PW_DLLEXPORT PWP_BOOL
3274 PwDomSetConditionUserName(PWGM_HDOMAIN domain, const char *userName);
3275 
3276 /*---------------------------------------------------------*/
3294 PW_DLLEXPORT PWP_BOOL
3295 PwDomSetConditionUserId(PWGM_HDOMAIN domain, const PWP_UINT32 userId);
3296 
3297 /*---------------------------------------------------------*/
3322 PW_DLLEXPORT PWP_BOOL
3323 PwDomSetConditionTypeName(PWGM_HDOMAIN domain, const char *typeName);
3324 
3325 /*---------------------------------------------------------*/
3350 PW_DLLEXPORT PWP_BOOL
3351 PwDomSetConditionTypeId(PWGM_HDOMAIN domain, const PWP_UINT32 typeId);
3352 
3353 /*---------------------------------------------------------*/
3381 PW_DLLEXPORT PWP_BOOL
3382 PwDomSetCondition(PWGM_HDOMAIN domain, const PWGM_CONDDATA &condData);
3383 
3384 
3385 /*---------------------------------------------------------*/
3403 PW_DLLEXPORT PWP_BOOL
3404 PwConSetConditionUserName(PWGM_HCONNECTOR connector, const char *userName);
3405 
3406 /*---------------------------------------------------------*/
3424 PW_DLLEXPORT PWP_BOOL
3425 PwConSetConditionUserId(PWGM_HCONNECTOR connector, const PWP_UINT32 userId);
3426 
3427 /*---------------------------------------------------------*/
3452 PW_DLLEXPORT PWP_BOOL
3453 PwConSetConditionTypeName(PWGM_HCONNECTOR connector, const char *typeName);
3454 
3455 /*---------------------------------------------------------*/
3480 PW_DLLEXPORT PWP_BOOL
3481 PwConSetConditionTypeId(PWGM_HCONNECTOR connector, const PWP_UINT32 typeId);
3482 
3483 /*---------------------------------------------------------*/
3511 PW_DLLEXPORT PWP_BOOL
3512 PwConSetCondition(PWGM_HCONNECTOR connector, const PWGM_CONDDATA &condData);
3513 
3514 
3515 /*---------------------------------------------------------*/
3537 PW_DLLEXPORT PWP_BOOL
3539  const PWGM_CONDKEY key, const char *userName);
3540 
3541 /*---------------------------------------------------------*/
3563 PW_DLLEXPORT PWP_BOOL
3564 PwAsmSetConditionUserId(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key,
3565  const PWP_UINT32 userId);
3566 
3567 /*---------------------------------------------------------*/
3596 PW_DLLEXPORT PWP_BOOL
3598  const PWGM_CONDKEY key, const char *typeName);
3599 
3600 /*---------------------------------------------------------*/
3629 PW_DLLEXPORT PWP_BOOL
3630 PwAsmSetConditionTypeId(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key,
3631  const PWP_UINT32 typeId);
3632 
3633 /*---------------------------------------------------------*/
3673 PW_DLLEXPORT PWP_BOOL
3674 PwAsmSetCondition(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key,
3675  const PWGM_CONDDATA &condData);
3676 
3677 /*---------------------------------------------------------*/
3704 PW_DLLEXPORT PWP_BOOL
3706  const PWGM_CONDKEY key, const PWP_UINT32 startCell,
3707  const PWP_UINT32 endCell);
3708 
3709 /*---------------------------------------------------------*/
3732 PW_DLLEXPORT PWP_BOOL
3733 PwAsmSetCellConditionKey(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key,
3734  const PWP_UINT32 cell);
3735 
3736 
3737 
3739 /*---------------------------------------------------------*/
3763 PW_DLLEXPORT PWP_BOOL
3764 PwVlstReadFile(PWGM_HVERTEXLIST h, FILE *file,
3765  const PWGM_XYZ_CLUSTERING fileClustering,
3766  const PWP_ENDIANNESS fileByteOrder, const PWP_ENUM_PRECISION filePrecision);
3768 
3772 /***********************************************************/
3783 /*---------------------------------------------------------*/
3810 PW_DLLEXPORT PWGM_HVERTEXLIST
3812  const PWP_ENUM_DIMENSION blkElemDimty);
3813 
3814 /*---------------------------------------------------------*/
3832 PW_DLLEXPORT PWGM_HVERTEXLIST
3834 
3835 /*---------------------------------------------------------*/
3853 PW_DLLEXPORT PWGM_HVERTEXLIST
3855 
3856 /*---------------------------------------------------------*/
3870 PW_DLLEXPORT PWP_BOOL
3871 PwVlstAllocate(PWGM_HVERTEXLIST h, const PWP_UINT count);
3872 
3873 /*---------------------------------------------------------*/
3897 PW_DLLEXPORT PWGM_HBLOCK
3899 
3900 /*---------------------------------------------------------*/
3925 PW_DLLEXPORT PWP_BOOL
3927  const PWP_UINT count);
3928 
3929 /*---------------------------------------------------------*/
3951 PW_DLLEXPORT PWP_BOOL
3953 
3954 /*---------------------------------------------------------*/
3975 PW_DLLEXPORT PWP_BOOL
3976 PwUnsBlkSetElement(PWGM_HBLOCK h, const PWP_UINT ndx, const PWGM_ELEMDATA *eData);
3977 
3978 /*---------------------------------------------------------*/
4007 
4012 PW_DLLEXPORT PWGM_HDOMAIN
4014 
4018 PW_DLLEXPORT PWGM_HDOMAIN
4020 
4022 
4023 /*---------------------------------------------------------*/
4048 PW_DLLEXPORT PWP_BOOL
4050  const PWP_UINT count);
4051 
4052 /*---------------------------------------------------------*/
4075 PW_DLLEXPORT PWP_BOOL
4077 
4078 /*---------------------------------------------------------*/
4099 PW_DLLEXPORT PWP_BOOL
4101  const PWGM_ELEMDATA *eData);
4102 
4103 /*---------------------------------------------------------*/
4134 PW_DLLEXPORT PWGM_HBLOCKASSEMBLER
4136 
4137 /*---------------------------------------------------------*/
4151 PW_DLLEXPORT PWP_BOOL
4153 
4154 /*---------------------------------------------------------*/
4169 PW_DLLEXPORT PWP_BOOL
4171 
4172 /*---------------------------------------------------------*/
4185 PW_DLLEXPORT PWGM_HVERTEXLIST
4187 
4191 /***********************************************************/
4202 /*---------------------------------------------------------*/
4223 PW_DLLEXPORT PWGM_HCONNECTOR
4225 
4226 /*---------------------------------------------------------*/
4252 PW_DLLEXPORT PWGM_HBLOCK
4253 PwModCreateStrBlock(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE blkSize);
4254 
4255 /*---------------------------------------------------------*/
4281 PW_DLLEXPORT PWGM_HDOMAIN
4282 PwModCreateStrDomain(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE domSize);
4283 
4286 #endif // !defined(PWGM_HIDE_IMPORT_API)
4287 
4297 /*---------------------------------------------------------*/
4298 /* COMMON GRID EXPORT CALLBACKS */
4299 /*---------------------------------------------------------*/
4300 
4301 typedef PWP_UINT32
4302 PwModBlockCount_t(PWGM_HGRIDMODEL model);
4303 
4304 typedef PWGM_HBLOCK
4305 PwModEnumBlocks_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4306 
4307 typedef PWP_BOOL
4308 PwBlkCondition_t(PWGM_HBLOCK block, PWGM_CONDDATA *pCondData);
4309 
4310 typedef PWP_BOOL
4311 PwBlock_t(PWGM_HBLOCK block, PWGM_BLOCKDATA *pBlockData);
4312 
4313 typedef PWP_BOOL
4314 PwBlkSetExportName_t(PWGM_HBLOCK block, const char *name);
4315 
4316 typedef PWP_BOOL
4317 PwModGetAttributeValue_t(PWGM_HGRIDMODEL model, const char *name,
4318  PWP_ENUM_VALTYPE bufType, void *buf, PWP_UINT count);
4319 
4320 
4321 /*---------------------------------------------------------*/
4322 /* UNSTRUCTURED GRID EXPORT CALLBACKS */
4323 /*---------------------------------------------------------*/
4324 
4325 typedef PWP_UINT32
4326 PwModDomainCount_t(PWGM_HGRIDMODEL model);
4327 
4328 typedef PWGM_HDOMAIN
4329 PwModEnumDomains_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4330 
4331 typedef PWGM_HVERTEX
4332 PwModEnumVertices_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4333 
4334 typedef PWP_UINT32
4335 PwModVertexCount_t(PWGM_HGRIDMODEL model);
4336 
4337 typedef PWP_BOOL
4338 PwModCustomIndexSchemeReady_t(PWGM_HGRIDMODEL model, PWGM_INDEXMAPPERCB cb,
4339  void *data);
4340 
4341 typedef PWP_BOOL
4342 PwModStreamFaces_t(PWGM_HGRIDMODEL model, PWGM_ENUM_FACEORDER order,
4344  PWGM_ENDSTREAMCB endCB, void *userData);
4345 
4346 typedef PWP_UINT32
4347 PwModEnumElementCount_t(PWGM_HGRIDMODEL model, PWGM_ELEMCOUNTS *pCounts);
4348 
4349 typedef PWP_BOOL
4350 PwModAppendEnumElementOrder_t(PWGM_HGRIDMODEL model, PWGM_ENUM_ELEMORDER order);
4351 
4352 typedef PWGM_HELEMENT
4353 PwModEnumElements_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4354 
4355 //---------------------------
4356 typedef PWP_UINT32
4357 PwBlkElementCount_t(PWGM_HBLOCK block, PWGM_ELEMCOUNTS *pCounts);
4358 
4359 typedef PWGM_HELEMENT
4360 PwBlkEnumElements_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
4361 
4362 //---------------------------
4363 typedef PWP_UINT32
4364 PwDomElementCount_t(PWGM_HDOMAIN domain, PWGM_ELEMCOUNTS *pCounts);
4365 
4366 typedef PWGM_HELEMENT
4367 PwDomEnumElements_t(PWGM_HDOMAIN domain, PWP_UINT32 ndx);
4368 
4369 typedef PWP_BOOL
4370 PwDomCondition_t(PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData);
4371 
4372 //---------------------------
4373 typedef PWP_BOOL
4374 PwVertDataMod_t(PWGM_HVERTEX vertex, PWGM_VERTDATA *pVertData);
4375 
4376 typedef PWP_BOOL
4377 PwVertIndexMod_t(PWGM_HVERTEX vertex, PWP_UINT32 *pIndex);
4378 
4379 typedef PWP_BOOL
4380 PwVertXyzVal_t(PWGM_HVERTEX vertex, PWGM_ENUM_XYZ which, PWGM_XYZVAL *pVal);
4381 
4382 //---------------------------
4383 typedef PWP_BOOL
4384 PwElemDataMod_t(PWGM_HELEMENT element, PWGM_ELEMDATA *pElemData);
4385 
4386 typedef PWP_BOOL
4387 PwElemDataModEnum_t(PWGM_HELEMENT element, PWGM_ENUMELEMDATA *pElemData);
4388 
4389 
4390 
4391 /*---------------------------------------------------------*/
4392 /* STRUCTURED GRID EXPORT CALLBACKS */
4393 /*---------------------------------------------------------*/
4394 
4395 typedef PWP_UINT32
4396 PwModBoundaryCount_t(PWGM_HGRIDMODEL model);
4397 
4398 typedef PWGM_HBNDRY
4399 PwModEnumBoundaries_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4400 
4401 typedef PWP_UINT32
4402 PwModConnectionCount_t(PWGM_HGRIDMODEL model);
4403 
4404 typedef PWGM_HCNXN
4405 PwModEnumConnections_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4406 
4407 typedef PWP_BOOL
4408 PwModNdxBoundary_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
4409  PWGM_BNDRYDATA *pBndryData);
4410 
4411 typedef PWP_BOOL
4412 PwModNdxBoundaryAndCondition_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
4413  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
4414 
4415 typedef PWP_BOOL
4416 PwModNdxConnection_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
4417  PWGM_CNXNDATA *pCnxnData);
4418 
4419 //---------------------------
4420 typedef PWP_BOOL
4421 PwBlkSize_t(PWGM_HBLOCK block, PWGM_STR_SIZE *pSize);
4422 
4423 typedef PWP_BOOL
4424 PwBlkNdxVertData_t(PWGM_HBLOCK block, PWGM_INDEX3 ndx3,
4425  PWGM_VERTDATA *pVertData);
4426 
4427 typedef PWP_BOOL
4428 PwModCustomIndex3SchemeReady_t(PWGM_HGRIDMODEL model, PWGM_INDEX3MAPPERCB cb,
4429  void *data);
4430 
4431 typedef PWP_UINT32
4432 PwBlkBoundaryCount_t(PWGM_HBLOCK block);
4433 
4434 typedef PWGM_HBNDRY
4435 PwBlkEnumBoundaries_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
4436 
4437 typedef PWP_UINT32
4438 PwBlkConnectionCount_t(PWGM_HBLOCK block);
4439 
4440 typedef PWGM_HCNXN
4441 PwBlkEnumConnections_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
4442 
4443 typedef PWP_BOOL
4444 PwBlkNdxBoundary_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
4445  PWGM_BNDRYDATA *pBndryData);
4446 
4447 typedef PWP_BOOL
4448 PwBlkNdxBoundaryAndCondition_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
4449  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
4450 
4451 typedef PWP_BOOL
4452 PwBlkNdxConnection_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
4453  PWGM_CNXNDATA *pCnxnData);
4454 
4455 
4456 //---------------------------
4457 typedef PWP_BOOL
4458 PwBoundary_t(PWGM_HBNDRY boundary, PWGM_BNDRYDATA *pBndryData);
4459 
4460 typedef PWP_BOOL
4461 PwBndryCondition_t(PWGM_HBNDRY boundary, PWGM_CONDDATA *pCondData);
4462 
4463 typedef PWP_BOOL
4464 PwConnection_t(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData);
4465 
4466 //---------------------------
4467 typedef PWP_BOOL
4468 PwNOTIMPLEMENTED_t();
4469 
4470 
4471 /*---------------------------------------------------------*/
4472 /* COMMON GRID IMPORT CALLBACKS */
4473 /*---------------------------------------------------------*/
4474 
4475 typedef PWGM_HCONNECTOR
4476 PwModCreateCon_t(PWGM_HGRIDMODEL model, PWP_UINT size);
4477 
4478 typedef PWGM_HVERTEXLIST
4479 PwBlkGetVertexList_t(PWGM_HBLOCK h);
4480 
4481 typedef PWGM_HVERTEXLIST
4482 PwDomGetVertexList_t(PWGM_HDOMAIN h);
4483 
4484 typedef PWGM_HVERTEXLIST
4485 PwConGetVertexList_t(PWGM_HCONNECTOR h);
4486 
4487 typedef PWP_BOOL
4488 PwConSetName_t(PWGM_HCONNECTOR h, const char *name);
4489 
4490 typedef PWP_BOOL
4491 PwBlkSetName_t(PWGM_HBLOCK h, const char *name);
4492 
4493 typedef PWP_BOOL
4494 PwDomSetName_t(PWGM_HDOMAIN h, const char *name);
4495 
4496 typedef PWP_BOOL
4497 PwVlstIsUnstructured_t(PWGM_HVERTEXLIST h);
4498 
4499 typedef PWP_UINT
4500 PwVlstGetIndexDimensionality_t(PWGM_HVERTEXLIST h);
4501 
4502 typedef PWP_ENUM_DIMENSION
4503 PwVlstGetBlkElemDimensionality_t(PWGM_HVERTEXLIST h);
4504 
4505 typedef PWP_BOOL
4506 PwVlstSetXYZVal3_t(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3,
4507  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
4508 
4509 typedef PWP_BOOL
4510 PwVlstSetXYZ3_t(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3,
4511  const PWGM_XYZVAL x, const PWGM_XYZVAL y, const PWGM_XYZVAL z);
4512 
4513 typedef PWP_BOOL
4514 PwVlstReadFile_t(PWGM_HVERTEXLIST h, FILE *file,
4515  const PWGM_XYZ_CLUSTERING fileClustering,
4516  const PWP_ENDIANNESS fileByteOrder, const PWP_ENUM_PRECISION filePrecision);
4517 
4518 typedef PWP_BOOL
4519 PwBlkSetProperty_t(PWGM_HBLOCK h, const char *key, const char *val);
4520 
4521 typedef PWP_BOOL
4522 PwDomSetProperty_t(PWGM_HDOMAIN h, const char *key, const char *val);
4523 
4524 typedef PWP_BOOL
4525 PwConSetProperty_t(PWGM_HCONNECTOR h, const char *key, const char *val);
4526 
4527 typedef PWP_BOOL
4528 PwAsmSetProperty_t(PWGM_HBLOCKASSEMBLER h, const PWP_UINT32 propertySetId,
4529  const char *key, const char *val);
4530 
4531 typedef PWP_BOOL
4532 PwAsmSetCellSpanConditionKey_t(PWGM_HBLOCKASSEMBLER assembler,
4533  const PWGM_CONDKEY key, const PWP_UINT32 startCell,
4534  const PWP_UINT32 endCell);
4535 
4536 
4537 /*---------------------------------------------------------*/
4538 /* UNSTRUCTURED GRID IMPORT CALLBACKS */
4539 /*---------------------------------------------------------*/
4540 
4541 typedef PWGM_HVERTEXLIST
4542 PwModCreateUnsVertexList_t(PWGM_HGRIDMODEL model,
4543  const PWP_ENUM_DIMENSION blkElemDimty);
4544 
4545 typedef PWP_BOOL
4546 PwVlstAllocate_t(PWGM_HVERTEXLIST h, const PWP_UINT count);
4547 
4548 typedef PWGM_HBLOCK
4549 PwVlstCreateUnsBlock_t(PWGM_HVERTEXLIST h);
4550 
4551 typedef PWP_BOOL
4552 PwUnsBlkAllocateElements_t(PWGM_HBLOCK h, const PWGM_ENUM_ELEMTYPE cellType,
4553  const PWP_UINT count);
4554 
4555 typedef PWP_BOOL
4556 PwUnsBlkSetElement_t(PWGM_HBLOCK h, const PWP_UINT ndx,
4557  const PWGM_ELEMDATA *eData);
4558 
4559 typedef PWGM_HDOMAIN
4560 PwVlstCreateUnsDomain_t(PWGM_HVERTEXLIST h);
4561 
4562 typedef PWP_BOOL
4563 PwUnsDomAllocateElements_t(PWGM_HDOMAIN h, const PWGM_ENUM_ELEMTYPE cellType,
4564  const PWP_UINT count);
4565 
4566 typedef PWP_BOOL
4567 PwUnsDomSetElement_t(PWGM_HDOMAIN h, const PWP_UINT ndx,
4568  const PWGM_ELEMDATA *eData);
4569 
4570 typedef PWGM_HBLOCKASSEMBLER
4571 PwVlstCreateBlockAssembler_t(PWGM_HVERTEXLIST h);
4572 
4573 typedef PWP_BOOL
4574 PwAsmPushElementFace_t(PWGM_HBLOCKASSEMBLER h, const PWGM_ASSEMBLER_DATA *face);
4575 
4576 typedef PWP_BOOL
4577 PwAsmFinalize_t(PWGM_HBLOCKASSEMBLER h);
4578 
4579 typedef PWGM_HVERTEXLIST
4580 PwAsmGetVertexList_t(PWGM_HBLOCKASSEMBLER h);
4581 
4582 
4583 /*---------------------------------------------------------*/
4584 /* STRUCTURED GRID IMPORT CALLBACKS */
4585 /*---------------------------------------------------------*/
4586 
4587 typedef PWGM_HBLOCK
4588 PwModCreateStrBlock_t(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE blkSize);
4589 
4590 typedef PWGM_HDOMAIN
4591 PwModCreateStrDomain_t(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE domSize);
4592 
4594 
4595 
4596 // PWGM-API function-pointer types
4597 
4601 struct PW_DLL_IMPEXP PWGM_HGRIDMODEL_OUT_IMPL {
4602  PwModBlockCount_t * PwModBlockCountCB;
4603  PwModDomainCount_t * PwModDomainCountCB;
4604  PwModEnumBlocks_t * PwModEnumBlocksCB;
4605  PwModEnumDomains_t * PwModEnumDomainsCB;
4606  PwModEnumVertices_t * PwModEnumVerticesCB;
4607  PwModVertexCount_t * PwModVertexCountCB;
4608  PwModCustomIndexSchemeReady_t * PwModCustomIndexSchemeReadyCB;
4609 
4610  PwBlkElementCount_t * PwBlkElementCountCB;
4611  PwBlkEnumElements_t * PwBlkEnumElementsCB;
4612  PwNOTIMPLEMENTED_t * PwBlkEnumVerticesCB;
4613  PwNOTIMPLEMENTED_t * PwBlkVertexCountCB;
4614  PwBlkCondition_t * PwBlkConditionCB;
4615  PwBlock_t * PwBlockCB;
4616  PwBlkSetExportName_t * PwBlkSetExportNameCB;
4617 
4618  PwDomElementCount_t * PwDomElementCountCB;
4619  PwDomEnumElements_t * PwDomEnumElementsCB;
4620  PwNOTIMPLEMENTED_t * PwDomEnumVerticesCB;
4621  PwNOTIMPLEMENTED_t * PwDomVertexCountCB;
4622  PwDomCondition_t * PwDomConditionCB;
4623 
4624  PwVertDataMod_t * PwVertDataModCB;
4625  PwNOTIMPLEMENTED_t * PwVertDataBlkCB;
4626  PwNOTIMPLEMENTED_t * PwVertDataDomCB;
4627  PwVertIndexMod_t * PwVertIndexModCB;
4628  PwNOTIMPLEMENTED_t * PwVertIndexBlkCB;
4629  PwNOTIMPLEMENTED_t * PwVertIndexDomCB;
4630  PwVertXyzVal_t * PwVertXyzValCB;
4631 
4632  PwElemDataMod_t * PwElemDataModCB;
4633  PwNOTIMPLEMENTED_t * PwElemDataBlkCB;
4634  PwNOTIMPLEMENTED_t * PwElemDataDomCB;
4635 
4636  /*---------------------------------------------------------*/
4637  /* STRUCTURED GRID ADDITIONS */
4638  /*---------------------------------------------------------*/
4639 
4640  PwModBoundaryCount_t * PwModBoundaryCountCB;
4641  PwModEnumBoundaries_t * PwModEnumBoundariesCB;
4642  PwModConnectionCount_t * PwModConnectionCountCB;
4643  PwModEnumConnections_t * PwModEnumConnectionsCB;
4644  PwModNdxBoundary_t * PwModNdxBoundaryCB;
4645  PwModNdxBoundaryAndCondition_t * PwModNdxBoundaryAndConditionCB;
4646  PwModNdxConnection_t * PwModNdxConnectionCB;
4647 
4648  PwBlkSize_t * PwBlkSizeCB;
4649  PwBlkNdxVertData_t * PwBlkNdxVertDataCB;
4650  PwModCustomIndex3SchemeReady_t * PwModCustomIndex3SchemeReadyCB;
4651  PwBlkBoundaryCount_t * PwBlkBoundaryCountCB;
4652  PwBlkEnumBoundaries_t * PwBlkEnumBoundariesCB;
4653  PwBlkConnectionCount_t * PwBlkConnectionCountCB;
4654  PwBlkEnumConnections_t * PwBlkEnumConnectionsCB;
4655  PwBlkNdxBoundary_t * PwBlkNdxBoundaryCB;
4656  PwBlkNdxBoundaryAndCondition_t * PwBlkNdxBoundaryAndConditionCB;
4657  PwBlkNdxConnection_t * PwBlkNdxConnectionCB;
4658 
4659  PwBoundary_t * PwBoundaryCB;
4660  PwBndryCondition_t * PwBndryConditionCB;
4661  PwConnection_t * PwConnectionCB;
4662 
4663  /*---------------------------------------------------------*/
4664  /* CELL FACE STREAMING ADDITIONS */
4665  /*---------------------------------------------------------*/
4666 
4667  PwModStreamFaces_t * PwModStreamFacesCB;
4668  PwModEnumElementCount_t * PwModEnumElementCountCB;
4669  PwModEnumElements_t * PwModEnumElementsCB;
4670  PwElemDataModEnum_t * PwElemDataModEnumCB;
4671  PwModAppendEnumElementOrder_t * PwModAppendEnumElementOrderCB;
4672 
4673  /*---------------------------------------------------------*/
4674  /* SOLVER ATTRIBUTE ADDITIONS */
4675  /*---------------------------------------------------------*/
4676 
4677  PwModGetAttributeValue_t * PwModGetAttributeValueCB;
4678 };
4679 
4680 
4681 /*---------------------------------------------------------*/
4685 struct PW_DLL_IMPEXP PWGM_HGRIDMODEL_IN_IMPL {
4686 
4687  // Common Grid Model Import API Calls
4688  PwModCreateCon_t * PwModCreateConCB;
4689  PwBlkGetVertexList_t * PwBlkGetVertexListCB;
4690  PwDomGetVertexList_t * PwDomGetVertexListCB;
4691  PwConGetVertexList_t * PwConGetVertexListCB;
4692  PwConSetName_t * PwConSetNameCB;
4693  PwBlkSetName_t * PwBlkSetNameCB;
4694  PwDomSetName_t * PwDomSetNameCB;
4695  PwVlstIsUnstructured_t * PwVlstIsUnstructuredCB;
4696  PwVlstGetIndexDimensionality_t * PwVlstGetIndexDimensionalityCB;
4697  PwVlstGetBlkElemDimensionality_t * PwVlstGetBlkElemDimensionalityCB;
4698  PwVlstSetXYZVal3_t * PwVlstSetXYZVal3CB;
4699  PwVlstSetXYZ3_t * PwVlstSetXYZ3CB;
4700  PwVlstReadFile_t * PwVlstReadFileCB;
4701  PwBlkSetProperty_t * PwBlkSetPropertyCB;
4702  PwDomSetProperty_t * PwDomSetPropertyCB;
4703  PwConSetProperty_t * PwConSetPropertyCB;
4704  PwAsmSetProperty_t * PwAsmSetPropertyCB;
4705  PwAsmSetCellSpanConditionKey_t * PwAsmSetCellSpanConditionKeyCB;
4706 
4707 
4708  // Unstructured Grid Model Import API Calls
4709  PwModCreateUnsVertexList_t * PwModCreateUnsVertexListCB;
4710  PwVlstAllocate_t * PwVlstAllocateCB;
4711  PwVlstCreateUnsBlock_t * PwVlstCreateUnsBlockCB;
4712  PwUnsBlkAllocateElements_t * PwUnsBlkAllocateElementsCB;
4713  PwUnsBlkSetElement_t * PwUnsBlkSetElementCB;
4714  PwVlstCreateUnsDomain_t * PwVlstCreateUnsDomainCB;
4715  PwUnsDomAllocateElements_t * PwUnsDomAllocateElementsCB;
4716  PwUnsDomSetElement_t * PwUnsDomSetElementCB;
4717  PwVlstCreateBlockAssembler_t * PwVlstCreateBlockAssemblerCB;
4718  PwAsmPushElementFace_t * PwAsmPushElementFaceCB;
4719  PwAsmFinalize_t * PwAsmFinalizeCB;
4720  PwAsmGetVertexList_t * PwAsmGetVertexListCB;
4721 
4722  // Structured Grid Model Import API Calls
4723  PwModCreateStrBlock_t * PwModCreateStrBlockCB;
4724  PwModCreateStrDomain_t * PwModCreateStrDomainCB;
4725 };
4726  // sdkINTERNALS
4728 
4732 /***********************************************************/
4750 } // extern "C"
4751 
4752 #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:728
Data passed to a PWGM_ENDSTREAMCB callback function.
PWP_BOOL PwConSetConditionTypeName(PWGM_HCONNECTOR connector, const char *typeName)
Sets the condition data for a connector.
PWP_UINT32 PWGM_CONDKEY
The condition key integral type.
The 2D transform matrix data type.
Definition: apiGridModel.h:903
3D, 6-sided (block) grid element
Definition: apiGridModel.h:674
PWP_UINT64(* PWGM_INDEXMAPPERCB)(const PWP_UINT64 pwgmNdx, void *data)
The custom, unstructured IndexScheme mapper callback function signature.
PWGM_STR_RANGE range
boundary ijk range
Definition: apiGridModel.h:955
PWP_UINT32 vertCnt
Number of vertices in the face.
Definition: apiGridModel.h:737
PWP_UINT32 face
The face&#39;s index in the model&#39;s index space.
PWGM_HBLOCK block2
connection block2 (donor)
Definition: apiGridModel.h:967
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:646
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:696
#define PWP_DECLARE_HELEMGROUP(pname, name)
Declares a parented, strongly-typed, element group data handle type.
Definition: apiPWP.h:375
Grid element handle declaration.
Definition: apiGridModel.h:427
PWGM_XYZVAL z
z-component
Definition: apiGridModel.h:610
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 text value of a property identified by key.
PWP_BOOL PwAsmSetConditionTypeName(PWGM_HBLOCKASSEMBLER h, const PWGM_CONDKEY key, const char *typeName)
Sets the type name of the condition identified by key.
PWP_UINT PwVlstGetIndexDimensionality(PWGM_HVERTEXLIST vertlist)
Get the index dimensionality of a vertex list.
unsigned long long PWP_UINT64
64-bit unsigned integer
Definition: apiPWP.h:243
unspecified
Definition: apiGridModel.h:936
PWP_BOOL PwBlkSetName(PWGM_HBLOCK block, const char *name)
Set a block&#39;s name.
Only used as a generic base handle for PWGM_HELEMENT.
Definition: apiGridModel.h:423
PWP_BOOL PwVlstSetXYZ2Data(PWGM_HVERTEXLIST vertlist, 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:892
InteriorFirst grouped by VCs then BCs.
BoundariesOnly grouped by VCs.
unsigned int PWP_UINT32
32-bit unsigned integer
Definition: apiPWP.h:210
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:969
PWP_BOOL PwAsmSetConditionUserName(PWGM_HBLOCKASSEMBLER h, const PWGM_CONDKEY key, const char *userName)
Sets the user name of the condition identified by key.
2D, 4-sided grid element
Definition: apiGridModel.h:675
PWP_BOOL PwAsmFinalize(PWGM_HBLOCKASSEMBLER blkAsm)
Stitches together all the faces added to the assembler into cells and blocks.
PWGM_FACE_ID face
boundary face id
Definition: apiGridModel.h:954
PWGM_ENUM_FACETYPE
The facetypes supported by face streaming.
PWGM_HBLOCKASSEMBLER PwVlstCreateBlockAssembler(PWGM_HVERTEXLIST vertlist)
Creates an unstructured block face assembler that uses vertices from an unstructured vertex list...
PWGM_HVERTEXLIST PwBlkGetVertexList(PWGM_HBLOCK block)
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:979
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:707
PWP_BOOL PwConSetName(PWGM_HCONNECTOR connector, 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:933
3D, 4-sided (tetrahedral) grid element
Definition: apiGridModel.h:677
PWP_UINT32(* PWGM_ENDSTREAMCB)(PWGM_ENDSTREAM_DATA *data)
The face stream callback function signature.
PWP_BOOL PwVlstAllocate(PWGM_HVERTEXLIST vertlist, const PWP_UINT n)
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:317
PWGM_CNXNTYPE
Structured grid block-point association.
Definition: apiGridModel.h:932
#define PWP_DECLARE_HEGRPITEM(sname, name)
Declares a sub-element group data handle type.
Definition: apiPWP.h:405
PWP_BOOL PwConnection(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData)
Get the connection data.
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.
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 block, 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:736
PWGM_FACE_ID face1
face Id on block1
Definition: apiGridModel.h:964
2D, 3-sided grid element
Definition: apiGridModel.h:676
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:869
const char * name
boundary name
Definition: apiGridModel.h:952
PWP_BOOL PwVlstSetXYZVal(PWGM_HVERTEXLIST vertlist, 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:802
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 name 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)
PWGM_STR_RANGE range1
ijk connection range in block1 index space
Definition: apiGridModel.h:965
An opaque handle to a grid vertex element.
Definition: apiGridModel.h:398
PWP_BOOL PwDomSetProperty(PWGM_HDOMAIN domain, const char *key, const char *val)
Sets the text value of a property identified by key.
PWP_BOOL PwVlstSetXYZ(PWGM_HVERTEXLIST vertlist, 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:340
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:749
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:845
PWGM_STR_SIZE size
vertex-size
Definition: apiGridModel.h:980
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 *data)
Notifys the Pointwise export framework that the custom, structured index3 map is ready.
PWP_BOOL PwUnsDomAllocateElementCounts(PWGM_HDOMAIN domain, 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:821
PWP_BOOL PwAsmPushElementFace(PWGM_HBLOCKASSEMBLER blkAsm, 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:986
Block data type.
Definition: apiGridModel.h:976
1D, linear grid element
Definition: apiGridModel.h:673
PWGM_FACE_ID
Structured grid block-face ids.
Definition: apiGridModel.h:910
An opaque handle to a structured block boundary.
Definition: apiGridModel.h:457
Order by 3D, 5-sided, quad-based grid element.
Definition: apiGridModel.h:709
PWP_BOOL PwInRange(PWGM_INDEX3 ijk, const PWGM_STR_RANGE *pRange)
Determines if an PWGM_INDEX3 is within a PWGM_STR_RANGE.
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:735
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:748
An opaque handle to a structured, inter-block connection.
Definition: apiGridModel.h:482
float PWP_FLOAT
32-bit real
Definition: apiPWP.h:261
const char * name
connection name
Definition: apiGridModel.h:962
PWGM_ELEMDATA elemData
The face&#39;s element data.
Element count information.
Definition: apiGridModel.h:757
PWGM_HVERTEXLIST PwDomGetVertexList(PWGM_HDOMAIN domain)
Get the vertex list associated with an unstructured or structured domain.
PWP_BOOL PwModCustomIndexSchemeReady(PWGM_HGRIDMODEL model, PWGM_INDEXMAPPERCB cb, void *data)
Notifys the Pointwise export framework that the custom, unstructured 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:978
PWGM_INDEX_XFORM from1to2
transforms block1 index to block2 index
Definition: apiGridModel.h:966
PWP_BOOL PwConSetConditionUserId(PWGM_HCONNECTOR connector, const PWP_UINT32 userId)
Sets the condition data for a connector.
PWP_UINT32 i
vertex index in parent&#39;s model-space
Definition: apiGridModel.h:611
An opaque handle to a grid connector element.
Definition: apiGridModel.h:507
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 connector.
PWP_UINT32(* PWGM_FACESTREAMCB)(PWGM_FACESTREAM_DATA *data)
The face stream callback function signature.
Order by 2D, 4-sided grid element.
Definition: apiGridModel.h:701
all cell faces in interior, boundary order
PWGM_INDEX3 end
ending index
Definition: apiGridModel.h:882
PWP_BOOL PwUnsDomSetElement(PWGM_HDOMAIN domain, 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:868
PWP_UINT32 tid
cae-defined condition id
Definition: apiGridModel.h:648
PWP_BOOL PwConSetConditionUserName(PWGM_HCONNECTOR connector, const char *userName)
Sets the condition name for a connector.
PWP_UINT32 totalNumFaces
The total number of faces in the entire model (= numBoundaryFaces + numInteriorFaces).
Order by 2D, 3-sided grid element.
Definition: apiGridModel.h:703
Order by 3D, 4-sided (tetrahedral) grid element.
Definition: apiGridModel.h:705
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.
static PWP_UINT32 faceCB(PWGM_FACESTREAM_DATA *data)
PWP_BOOL PwAsmSetCellConditionKey(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const PWP_UINT32 cell)
Tags a single cells with the condition identified by key.
K-component id.
Definition: apiGridModel.h:989
PWGM_INDEX_XFORM from2to1
transforms block2 index to block1 index (== inverse(from1to2)
Definition: apiGridModel.h:970
PWP_BOOL PwAsmSetCellSpanConditionKey(PWGM_HBLOCKASSEMBLER blkAsm, const PWGM_CONDKEY key, const PWP_UINT32 startCell, const PWP_UINT32 endCell)
Tags a contiguous span of cells with the condition identified by key.
PWGM_ENUM_FACETYPE type
One of the PWGM_FACETYPE_XXX types.
const char * name
grid-defined condition name
Definition: apiGridModel.h:645
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:672
Structured grid ijk range data type.
Definition: apiGridModel.h:880
The cell face is on the grid&#39;s interior.
3D, 5-sided, quad-based grid element
Definition: apiGridModel.h:679
Structured grid ijk index data type.
Definition: apiGridModel.h:859
Vertex descriptor data type.
Definition: apiGridModel.h:607
PWP_ENUM_DIMENSION
Supported dimensionality values.
Definition: apiPWP.h:763
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:680
PWP_UINT32(* PWGM_BEGINSTREAMCB)(PWGM_BEGINSTREAM_DATA *data)
The begin stream callback function signature.
PWGM_HBLOCK block1
connection block1 (source)
Definition: apiGridModel.h:963
Z-component id.
Definition: apiGridModel.h:824
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:935
int PWP_BOOL
logical value
Definition: apiPWP.h:303
PWP_BOOL PwModGetAttributeFLOAT(PWGM_HGRIDMODEL model, const char *name, PWP_FLOAT *val)
PWP_BOOL PwAsmSetProperty(PWGM_HBLOCKASSEMBLER blkAsm, const PWP_UINT32 propertySetId, const char *key, const char *val)
Sets the text value of a property identified by key.
PWP_BOOL PwVlstIsStructured(PWGM_HVERTEXLIST vertlist)
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 text value of a property identified by key.
The cell face is on the grid&#39;s boundary.
PWP_BOOL PwVlstSetXYZVal3(PWGM_HVERTEXLIST vertlist, 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:678
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:536
I-component id.
Definition: apiGridModel.h:987
PWGM_INDEX3(* PWGM_INDEX3MAPPERCB)(const PWGM_INDEX3 pwgmNdx, void *data)
The custom, structured Index3Scheme mapper callback function signature.
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)
const char * type
cae-defined condition physical type name
Definition: apiGridModel.h:647
PWGM_HCNXN PwBlkEnumConnections(PWGM_HBLOCK block, PWP_UINT32 ndx)
Sequentially enumerate the block&#39;s connections.
PWGM_HBLOCK block
boundary block
Definition: apiGridModel.h:953
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:823
PWP_BOOL PwDomSetCondition(PWGM_HDOMAIN domain, const PWGM_CONDDATA &condData)
Sets the condition data for a domain.
PWGM_INDEX3 beg
begining index
Definition: apiGridModel.h:881
PWP_INT32 j
j-coordinate used for 3D and 2D grids
Definition: apiGridModel.h:861
void * userData
The PwModStreamFaces user data ptr.
PWP_BOOL PwDomSetConditionUserId(PWGM_HDOMAIN domain, const PWP_UINT32 userId)
Sets the condition data for a domain.
PWGM_HVERTEX PwModEnumVertices(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model vertex elements.
PWP_BOOL PwDomSetName(PWGM_HDOMAIN domain, const char *name)
Set a domain&#39;s name.
PWGM_ENUM_GRIDTYPE
Definition: apiGridModel.h:843
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:372
Enumerated model element descriptor data type.
Definition: apiGridModel.h:747
unstructured
Definition: apiGridModel.h:917
An opaque handle to an unstructured block assembler.
Definition: apiGridModel.h:566
PWP_BOOL PwVlstSetXYZData(PWGM_HVERTEXLIST vertlist, 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:862
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 vertlist)
Check the type of a vertex list.
PWGM_HVERTEXLIST PwAsmGetVertexList(PWGM_HBLOCKASSEMBLER blkAsm)
Get the vertex list associated with an unstructured block assembler.
PWP_BOOL PwAsmSetConditionTypeId(PWGM_HBLOCKASSEMBLER h, const PWGM_CONDKEY key, const PWP_UINT32 typeId)
Sets the type id of the condition identified by key.
Only used as a generic base handle for PWGM_HVERTEXLIST.
Definition: apiGridModel.h:533
PWGM_HDOMAIN PwVlstCreateUnsDomain(PWGM_HVERTEXLIST vertlist)
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:285
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:699
PWP_BOOL PwDomSetConditionTypeName(PWGM_HDOMAIN domain, const char *typeName)
Sets the condition data for a domain.
PWGM_HDOMAIN PwVlstCreateUnsBoundary(PWGM_HVERTEXLIST vertlist)
PWP_BOOL PwConSetConditionTypeId(PWGM_HCONNECTOR connector, const PWP_UINT32 typeId)
Sets the condition data for a connector.
PWGM_XYZVAL y
y-component
Definition: apiGridModel.h:609
one-to-many grid point match
Definition: apiGridModel.h:934
Condition descriptor data type.
Definition: apiGridModel.h:644
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:822
PWGM_XYZVAL x
x-component
Definition: apiGridModel.h:608
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:711
PWP_BOOL PwUnsBlkAllocateElements(PWGM_HBLOCK block, const PWGM_ENUM_ELEMTYPE cellType, const PWP_UINT count)
Allocates element storage in an unstructured block.
Structured grid boundary data type.
Definition: apiGridModel.h:951
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 h, const PWGM_CONDKEY key, const PWGM_CONDDATA &condData)
Sets the condition data of the condition identified by key.
PWGM_HVERTEXLIST PwConGetVertexList(PWGM_HCONNECTOR connector)
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 vertlist)
Get the block element dimensionality of a vertex list.
PWP_BOOL PwModGetAttributeINT(PWGM_HGRIDMODEL model, const char *name, PWP_INT *val)
PWP_BOOL PwUnsDomAllocateElements(PWGM_HDOMAIN domain, const PWGM_ENUM_ELEMTYPE cellType, const PWP_UINT n)
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:282
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 domain.
PWP_INT32 j
j-coordinate used for 2D grids
Definition: apiGridModel.h:870
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:977
PWP_BOOL PwModGetAttributeUINT32(PWGM_HGRIDMODEL model, const char *name, PWP_UINT32 *val)
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 h, const PWGM_CONDKEY key, const PWP_UINT32 userId)
Sets the user id of the condition identified by key.
PWGM_HBLOCK PwVlstCreateUnsBlock(PWGM_HVERTEXLIST vertlist)
Creates an unstructured block that uses vertices from an unstructured vertex list.
An opaque handle to a grid model.
Definition: apiGridModel.h:326
PWGM_ENUM_ELEMORDER
Types of element orderings.
Definition: apiGridModel.h:697
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 vertlist, 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:345
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:961
PWP_BOOL PwModGetAttributeBOOL(PWGM_HGRIDMODEL model, const char *name, PWP_BOOL *val)
PWP_UINT32 numBoundaryFaces
How many faces in totalNumFaces lie on the model&#39;s boundary.
PWP_BOOL PwVlstSetXYZVal2(PWGM_HVERTEXLIST vertlist, 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:875
PWP_BOOL PwModAppendEnumElementOrder(PWGM_HGRIDMODEL model, PWGM_ENUM_ELEMORDER order)
Append an element order to the enumElements() ordering sequence.
Structured grid.
Definition: apiGridModel.h:844
PWP_REAL PWGM_XYZVAL
XYZ component data type.
Definition: apiGridModel.h:600
double PWP_REAL
64-bit real
Definition: apiPWP.h:264
PWP_BOOL PwBlkSetConditionTypeName(PWGM_HBLOCK block, const char *typeName)
Sets the condition data for a grid entity.
PWP_BOOL PwBlkSize(PWGM_HBLOCK block, PWGM_STR_SIZE *pSize)
Get the block&#39;s vertex-size.
PWP_BOOL PwVlstSetXYZ3Data(PWGM_HVERTEXLIST vertlist, 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 vertlist, 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)
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:207
PWP_BOOL PwUnsBlkAllocateElementCounts(PWGM_HBLOCK block, 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:860
PWP_BOOL PwModGetAttributeINT32(PWGM_HGRIDMODEL model, const char *name, PWP_INT32 *val)
PWP_BOOL PwDomSetConditionUserName(PWGM_HDOMAIN domain, const char *userName)
Sets the condition name for a domain.
PWP_BOOL PwElemDataModEnum(PWGM_HELEMENT element, PWGM_ENUMELEMDATA *pEnumElemData)
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:968
X-component id.
Definition: apiGridModel.h:822
all cell faces in boundary, interior order
J-component id.
Definition: apiGridModel.h:988