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-2021 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
635  // 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
691  // 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
722  // 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
835  // 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
855  // 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
928  // 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
947  // 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
1000  // 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
1026  // 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
1051  // 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 
1198 typedef PWP_UINT64(*PWGM_INDEXMAPPERCB)(const PWP_UINT64 pwgmNdx, void *data);
1199 
1200 
1206 typedef PWGM_INDEX3(*PWGM_INDEX3MAPPERCB)(const PWGM_INDEX3 pwgmNdx, void *data);
1207 
1211 //*********************************************
1212 // PWGM-API functions
1213 //*********************************************
1214 
1215 /***********************************************************/
1225 /***********************************************************/
1238 PW_DLLEXPORT PWP_UINT32
1240 
1241 
1265 PW_DLLEXPORT PWGM_HBLOCK
1267 
1268 
1279 PW_DLLEXPORT PWP_BOOL
1280 PwBlkCondition(PWGM_HBLOCK block, PWGM_CONDDATA *pCondData);
1281 
1282 
1293 PW_DLLEXPORT PWP_BOOL
1294 PwBlock(PWGM_HBLOCK block, PWGM_BLOCKDATA *pBlockData);
1295 
1296 
1327 PW_DLLEXPORT PWP_BOOL
1328 PwBlkSetExportName(PWGM_HBLOCK block, const char *name);
1329 
1330 
1401 PW_DLLEXPORT PWP_BOOL
1402 PwModGetAttributeValue(PWGM_HGRIDMODEL model, const char *name,
1403  PWP_ENUM_VALTYPE bufType, void *buf, PWP_UINT count);
1404 
1405 
1465 PWP_BOOL
1467 PwModGetAttributeString(PWGM_HGRIDMODEL model, const char *name, const char ** val);
1468 
1469 PWP_BOOL
1470 PwModGetAttributeUINT(PWGM_HGRIDMODEL model, const char *name, PWP_UINT *val);
1471 
1472 PWP_BOOL
1473 PwModGetAttributeUINT32(PWGM_HGRIDMODEL model, const char *name, PWP_UINT32 *val);
1474 
1475 PWP_BOOL
1476 PwModGetAttributeINT(PWGM_HGRIDMODEL model, const char *name, PWP_INT *val);
1477 
1478 PWP_BOOL
1479 PwModGetAttributeINT32(PWGM_HGRIDMODEL model, const char *name, PWP_INT32 *val);
1480 
1481 PWP_BOOL
1482 PwModGetAttributeREAL(PWGM_HGRIDMODEL model, const char *name, PWP_REAL *val);
1483 
1484 PWP_BOOL
1485 PwModGetAttributeFLOAT(PWGM_HGRIDMODEL model, const char *name, PWP_FLOAT *val);
1486 
1487 PWP_BOOL
1488 PwModGetAttributeBOOL(PWGM_HGRIDMODEL model, const char *name, PWP_BOOL *val);
1489 
1490 PWP_BOOL
1491 PwModGetAttributeEnum(PWGM_HGRIDMODEL model, const char *name, const char ** val);
1493 
1497 /***********************************************************/
1502 #if !defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
1503 
1509 PW_DLLEXPORT PWP_UINT32
1511 
1512 
1559 PW_DLLEXPORT PWGM_HDOMAIN
1561 
1562 
1586 PW_DLLEXPORT PWGM_HVERTEX
1588 
1589 
1597 PW_DLLEXPORT PWP_UINT32
1599 
1600 
1623 PW_DLLEXPORT PWP_BOOL
1625  void *cbData);
1626 
1627 
1694 PW_DLLEXPORT PWP_BOOL
1697  PWGM_ENDSTREAMCB endCB, void *userData);
1698 
1699 
1710 PW_DLLEXPORT PWP_UINT32
1712 
1713 
1729 PW_DLLEXPORT PWGM_HELEMENT
1731 
1732 
1796 PW_DLLEXPORT PWP_BOOL
1798 
1799 
1813 PW_DLLEXPORT PWP_VOID
1815 
1816 
1827 PW_DLLEXPORT PWP_UINT32
1829 
1830 
1856 PW_DLLEXPORT PWGM_HELEMENT
1858 
1859 
1870 PW_DLLEXPORT PWP_UINT32
1872 
1873 
1886 PW_DLLEXPORT PWGM_HELEMENT
1888 
1889 
1900 PW_DLLEXPORT PWP_BOOL
1901 PwDomCondition(PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData);
1902 
1903 
1916 PW_DLLEXPORT PWP_BOOL
1917 PwVertDataMod(PWGM_HVERTEX vertex, PWGM_VERTDATA *pVertData);
1918 
1919 
1932 PW_DLLEXPORT PWP_BOOL
1933 PwVertIndexMod(PWGM_HVERTEX vertex, PWP_UINT32 *pIndex);
1934 
1935 
1951 PW_DLLEXPORT PWP_BOOL
1952 PwVertXyzVal(PWGM_HVERTEX vertex, PWGM_ENUM_XYZ which, PWGM_XYZVAL *pVal);
1953 
1954 
1965 PW_DLLEXPORT PWP_BOOL
1966 PwElemDataMod(PWGM_HELEMENT element, PWGM_ELEMDATA *pElemData);
1967 
1968 
1979 PW_DLLEXPORT PWP_BOOL
1981 
1982 
1991 const char *
1993 
1994 
2002 const char *
2004 
2005 #endif // !defined(PWGM_HIDE_UNSTRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2006 
2009 /***********************************************************/
2014 #if !defined(PWGM_HIDE_STRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2015 
2026 PW_DLLEXPORT PWP_BOOL
2027 PwBlkSize(PWGM_HBLOCK block, PWGM_STR_SIZE *pSize);
2028 
2029 
2043 PW_DLLEXPORT PWP_BOOL
2044 PwBlkNdxVertData(PWGM_HBLOCK block, PWGM_INDEX3 ndx3, PWGM_VERTDATA *pVertData);
2045 
2046 
2069 PW_DLLEXPORT PWP_BOOL
2071  void *cbData);
2072 
2073 
2079 PW_DLLEXPORT PWP_UINT32
2081 
2082 
2104 PW_DLLEXPORT PWGM_HCNXN
2106 
2107 
2118 PW_DLLEXPORT PWP_BOOL
2119 PwConnection(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData);
2120 
2121 
2140 PW_DLLEXPORT PWP_BOOL
2142 
2143 
2149 PW_DLLEXPORT PWP_UINT32
2151 
2152 
2174 PW_DLLEXPORT PWGM_HBNDRY
2176 
2177 
2188 PW_DLLEXPORT PWP_BOOL
2189 PwBoundary(PWGM_HBNDRY boundary, PWGM_BNDRYDATA *pBndryData);
2190 
2191 
2202 PW_DLLEXPORT PWP_BOOL
2203 PwBndryCondition(PWGM_HBNDRY boundary, PWGM_CONDDATA *pCondData);
2204 
2205 
2224 PW_DLLEXPORT PWP_BOOL
2226 
2227 
2254 PW_DLLEXPORT PWP_BOOL
2256  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
2257 
2258 
2264 PW_DLLEXPORT PWP_UINT32
2266 
2267 
2289 PW_DLLEXPORT PWGM_HBNDRY
2291 
2292 
2311 PW_DLLEXPORT PWP_BOOL
2312 PwBlkNdxBoundary(PWGM_HBLOCK block, PWP_UINT32 ndx, PWGM_BNDRYDATA *pBndryData);
2313 
2314 
2341 PW_DLLEXPORT PWP_BOOL
2343  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
2344 
2345 
2351 PW_DLLEXPORT PWP_UINT32
2353 
2354 
2376 PW_DLLEXPORT PWGM_HCNXN
2378 
2379 
2398 PW_DLLEXPORT PWP_BOOL
2400  PWGM_CNXNDATA *pCnxnData);
2401 
2402 
2403 /***********************************************************/
2429 PWP_BOOL
2431 
2432 
2452 PWP_BOOL
2454 
2455 
2467 PwXformApply(const PWGM_INDEX_XFORM *pX3, PWGM_INDEX3 ijk);
2468 
2469 
2486 PwXformFollows(const PWGM_INDEX_XFORM *pX3, PWGM_ENUM_IJK localAxis,
2487  PWP_BOOL *pFlipped);
2488 
2489 
2503 
2504 
2521 PwXform2Follows(const PWGM_INDEX_XFORM2 *pX2, PWGM_ENUM_IJK localAxis,
2522  PWP_BOOL *pFlipped);
2523 
2524 
2535 PWP_BOOL
2536 PwInRange(PWGM_INDEX3 ijk, const PWGM_STR_RANGE *pRange);
2537 
2540 #endif // !defined(PWGM_HIDE_STRUCTURED_API) && !defined(PWGM_HIDE_EXPORT_API)
2541 
2547 /***********************************************************/
2556 #if !defined(PWGM_HIDE_IMPORT_API)
2557 
2558 /***********************************************************/
2569 /*---------------------------------------------------------*/
2593 PW_DLLEXPORT PWGM_HVERTEXLIST
2595 
2596 /*---------------------------------------------------------*/
2620 PW_DLLEXPORT PWGM_HVERTEXLIST
2622 
2623 /*---------------------------------------------------------*/
2640 PW_DLLEXPORT PWGM_HVERTEXLIST
2642 
2643 /*---------------------------------------------------------*/
2657 PW_DLLEXPORT PWP_BOOL
2658 PwConSetName(PWGM_HCONNECTOR h, const char *name);
2659 
2660 /*---------------------------------------------------------*/
2674 PW_DLLEXPORT PWP_BOOL
2675 PwBlkSetName(PWGM_HBLOCK h, const char *name);
2676 
2677 /*---------------------------------------------------------*/
2691 PW_DLLEXPORT PWP_BOOL
2692 PwDomSetName(PWGM_HDOMAIN h, const char *name);
2693 
2694 /*---------------------------------------------------------*/
2704 PW_DLLEXPORT PWP_BOOL
2706 
2707 /*---------------------------------------------------------*/
2717 PW_DLLEXPORT PWP_BOOL
2719 
2720 /*---------------------------------------------------------*/
2730 PW_DLLEXPORT PWP_UINT
2732 
2733 /*---------------------------------------------------------*/
2745 PW_DLLEXPORT PWP_ENUM_DIMENSION
2747 
2748 /*---------------------------------------------------------*/
2776 PW_DLLEXPORT PWP_BOOL
2778  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2779 
2780 /*---------------------------------------------------------*/
2804 PW_DLLEXPORT PWP_BOOL
2805 PwVlstSetXYZ(PWGM_HVERTEXLIST h, const PWP_UINT ndx, const PWGM_XYZVAL x,
2806  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2807 
2808 /*---------------------------------------------------------*/
2833 PW_DLLEXPORT PWP_BOOL
2835 
2836 /*---------------------------------------------------------*/
2864 PW_DLLEXPORT PWP_BOOL
2866  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2867 
2868 /*---------------------------------------------------------*/
2891 PW_DLLEXPORT PWP_BOOL
2892 PwVlstSetXYZ2(PWGM_HVERTEXLIST h, const PWGM_INDEX2 ndx2, const PWGM_XYZVAL x,
2893  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2894 
2895 /*---------------------------------------------------------*/
2921 PW_DLLEXPORT PWP_BOOL
2923  const PWGM_VERTDATA &v);
2924 
2925 /*---------------------------------------------------------*/
2953 PW_DLLEXPORT PWP_BOOL
2955  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
2956 
2957 /*---------------------------------------------------------*/
2980 PW_DLLEXPORT PWP_BOOL
2981 PwVlstSetXYZ3(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3, const PWGM_XYZVAL x,
2982  const PWGM_XYZVAL y, const PWGM_XYZVAL z);
2983 
2984 /*---------------------------------------------------------*/
3010 PW_DLLEXPORT PWP_BOOL
3012 
3013 /*---------------------------------------------------------*/
3037 PW_DLLEXPORT PWP_BOOL
3038 PwBlkSetProperty(PWGM_HBLOCK block, const char *key, const char *val);
3039 
3040 /*---------------------------------------------------------*/
3064 PW_DLLEXPORT PWP_BOOL
3065 PwDomSetProperty(PWGM_HDOMAIN domain, const char *key, const char *val);
3066 
3067 /*---------------------------------------------------------*/
3091 PW_DLLEXPORT PWP_BOOL
3092 PwConSetProperty(PWGM_HCONNECTOR connector, const char *key, const char *val);
3093 
3094 /*---------------------------------------------------------*/
3123 PW_DLLEXPORT PWP_BOOL
3124 PwAsmSetProperty(PWGM_HBLOCKASSEMBLER assembler, const PWP_UINT32 propertySetId,
3125  const char *key, const char *val);
3126 
3127 /*---------------------------------------------------------*/
3145 PW_DLLEXPORT PWP_BOOL
3146 PwBlkSetConditionUserName(PWGM_HBLOCK block, const char *userName);
3147 
3148 /*---------------------------------------------------------*/
3166 PW_DLLEXPORT PWP_BOOL
3167 PwBlkSetConditionUserId(PWGM_HBLOCK block, const PWP_UINT32 userId);
3168 
3169 /*---------------------------------------------------------*/
3194 PW_DLLEXPORT PWP_BOOL
3195 PwBlkSetConditionTypeName(PWGM_HBLOCK block, const char *typeName);
3196 
3197 /*---------------------------------------------------------*/
3222 PW_DLLEXPORT PWP_BOOL
3223 PwBlkSetConditionTypeId(PWGM_HBLOCK block, const PWP_UINT32 typeId);
3224 
3225 /*---------------------------------------------------------*/
3253 PW_DLLEXPORT PWP_BOOL
3254 PwBlkSetCondition(PWGM_HBLOCK block, const PWGM_CONDDATA &condData);
3255 
3256 
3257 /*---------------------------------------------------------*/
3275 PW_DLLEXPORT PWP_BOOL
3276 PwDomSetConditionUserName(PWGM_HDOMAIN domain, const char *userName);
3277 
3278 /*---------------------------------------------------------*/
3296 PW_DLLEXPORT PWP_BOOL
3297 PwDomSetConditionUserId(PWGM_HDOMAIN domain, const PWP_UINT32 userId);
3298 
3299 /*---------------------------------------------------------*/
3324 PW_DLLEXPORT PWP_BOOL
3325 PwDomSetConditionTypeName(PWGM_HDOMAIN domain, const char *typeName);
3326 
3327 /*---------------------------------------------------------*/
3352 PW_DLLEXPORT PWP_BOOL
3353 PwDomSetConditionTypeId(PWGM_HDOMAIN domain, const PWP_UINT32 typeId);
3354 
3355 /*---------------------------------------------------------*/
3383 PW_DLLEXPORT PWP_BOOL
3384 PwDomSetCondition(PWGM_HDOMAIN domain, const PWGM_CONDDATA &condData);
3385 
3386 
3387 /*---------------------------------------------------------*/
3405 PW_DLLEXPORT PWP_BOOL
3406 PwConSetConditionUserName(PWGM_HCONNECTOR connector, const char *userName);
3407 
3408 /*---------------------------------------------------------*/
3426 PW_DLLEXPORT PWP_BOOL
3427 PwConSetConditionUserId(PWGM_HCONNECTOR connector, const PWP_UINT32 userId);
3428 
3429 /*---------------------------------------------------------*/
3454 PW_DLLEXPORT PWP_BOOL
3455 PwConSetConditionTypeName(PWGM_HCONNECTOR connector, const char *typeName);
3456 
3457 /*---------------------------------------------------------*/
3482 PW_DLLEXPORT PWP_BOOL
3483 PwConSetConditionTypeId(PWGM_HCONNECTOR connector, const PWP_UINT32 typeId);
3484 
3485 /*---------------------------------------------------------*/
3513 PW_DLLEXPORT PWP_BOOL
3514 PwConSetCondition(PWGM_HCONNECTOR connector, const PWGM_CONDDATA &condData);
3515 
3516 
3517 /*---------------------------------------------------------*/
3539 PW_DLLEXPORT PWP_BOOL
3541  const PWGM_CONDKEY key, const char *userName);
3542 
3543 /*---------------------------------------------------------*/
3565 PW_DLLEXPORT PWP_BOOL
3567  const PWP_UINT32 userId);
3568 
3569 /*---------------------------------------------------------*/
3598 PW_DLLEXPORT PWP_BOOL
3600  const PWGM_CONDKEY key, const char *typeName);
3601 
3602 /*---------------------------------------------------------*/
3631 PW_DLLEXPORT PWP_BOOL
3633  const PWP_UINT32 typeId);
3634 
3635 /*---------------------------------------------------------*/
3675 PW_DLLEXPORT PWP_BOOL
3677  const PWGM_CONDDATA &condData);
3678 
3679 /*---------------------------------------------------------*/
3706 PW_DLLEXPORT PWP_BOOL
3708  const PWGM_CONDKEY key, const PWP_UINT32 startCell,
3709  const PWP_UINT32 endCell);
3710 
3711 /*---------------------------------------------------------*/
3734 PW_DLLEXPORT PWP_BOOL
3736  const PWP_UINT32 cell);
3737 
3738 
3739 
3741 /*---------------------------------------------------------*/
3765 PW_DLLEXPORT PWP_BOOL
3766 PwVlstReadFile(PWGM_HVERTEXLIST h, FILE *file,
3767  const PWGM_XYZ_CLUSTERING fileClustering,
3768  const PWP_ENDIANNESS fileByteOrder, const PWP_ENUM_PRECISION filePrecision);
3770 
3774 /***********************************************************/
3785 /*---------------------------------------------------------*/
3812 PW_DLLEXPORT PWGM_HVERTEXLIST
3814  const PWP_ENUM_DIMENSION blkElemDimty);
3815 
3816 /*---------------------------------------------------------*/
3834 PW_DLLEXPORT PWGM_HVERTEXLIST
3836 
3837 /*---------------------------------------------------------*/
3855 PW_DLLEXPORT PWGM_HVERTEXLIST
3857 
3858 /*---------------------------------------------------------*/
3872 PW_DLLEXPORT PWP_BOOL
3873 PwVlstAllocate(PWGM_HVERTEXLIST h, const PWP_UINT count);
3874 
3875 /*---------------------------------------------------------*/
3899 PW_DLLEXPORT PWGM_HBLOCK
3901 
3902 /*---------------------------------------------------------*/
3927 PW_DLLEXPORT PWP_BOOL
3929  const PWP_UINT count);
3930 
3931 /*---------------------------------------------------------*/
3953 PW_DLLEXPORT PWP_BOOL
3955 
3956 /*---------------------------------------------------------*/
3977 PW_DLLEXPORT PWP_BOOL
3978 PwUnsBlkSetElement(PWGM_HBLOCK h, const PWP_UINT ndx, const PWGM_ELEMDATA *eData);
3979 
3980 /*---------------------------------------------------------*/
4009 
4014 PW_DLLEXPORT PWGM_HDOMAIN
4016 
4020 PW_DLLEXPORT PWGM_HDOMAIN
4022 
4024 
4025 /*---------------------------------------------------------*/
4050 PW_DLLEXPORT PWP_BOOL
4052  const PWP_UINT count);
4053 
4054 /*---------------------------------------------------------*/
4077 PW_DLLEXPORT PWP_BOOL
4079 
4080 /*---------------------------------------------------------*/
4101 PW_DLLEXPORT PWP_BOOL
4103  const PWGM_ELEMDATA *eData);
4104 
4105 /*---------------------------------------------------------*/
4136 PW_DLLEXPORT PWGM_HBLOCKASSEMBLER
4138 
4139 /*---------------------------------------------------------*/
4153 PW_DLLEXPORT PWP_BOOL
4155 
4156 /*---------------------------------------------------------*/
4171 PW_DLLEXPORT PWP_BOOL
4173 
4174 /*---------------------------------------------------------*/
4187 PW_DLLEXPORT PWGM_HVERTEXLIST
4189 
4193 /***********************************************************/
4204 /*---------------------------------------------------------*/
4225 PW_DLLEXPORT PWGM_HCONNECTOR
4227 
4228 /*---------------------------------------------------------*/
4254 PW_DLLEXPORT PWGM_HBLOCK
4255 PwModCreateStrBlock(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE blkSize);
4256 
4257 /*---------------------------------------------------------*/
4283 PW_DLLEXPORT PWGM_HDOMAIN
4284 PwModCreateStrDomain(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE domSize);
4285 
4288 #endif // !defined(PWGM_HIDE_IMPORT_API)
4289 
4299 /*---------------------------------------------------------*/
4300 /* COMMON GRID EXPORT CALLBACKS */
4301 /*---------------------------------------------------------*/
4302 
4303 typedef PWP_UINT32
4304 PwModBlockCount_t(PWGM_HGRIDMODEL model);
4305 
4306 typedef PWGM_HBLOCK
4307 PwModEnumBlocks_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4308 
4309 typedef PWP_BOOL
4310 PwBlkCondition_t(PWGM_HBLOCK block, PWGM_CONDDATA *pCondData);
4311 
4312 typedef PWP_BOOL
4313 PwBlock_t(PWGM_HBLOCK block, PWGM_BLOCKDATA *pBlockData);
4314 
4315 typedef PWP_BOOL
4316 PwBlkSetExportName_t(PWGM_HBLOCK block, const char *name);
4317 
4318 typedef PWP_BOOL
4319 PwModGetAttributeValue_t(PWGM_HGRIDMODEL model, const char *name,
4320  PWP_ENUM_VALTYPE bufType, void *buf, PWP_UINT count);
4321 
4322 
4323 /*---------------------------------------------------------*/
4324 /* UNSTRUCTURED GRID EXPORT CALLBACKS */
4325 /*---------------------------------------------------------*/
4326 
4327 typedef PWP_UINT32
4328 PwModDomainCount_t(PWGM_HGRIDMODEL model);
4329 
4330 typedef PWGM_HDOMAIN
4331 PwModEnumDomains_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4332 
4333 typedef PWGM_HVERTEX
4334 PwModEnumVertices_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4335 
4336 typedef PWP_UINT32
4337 PwModVertexCount_t(PWGM_HGRIDMODEL model);
4338 
4339 typedef PWP_BOOL
4340 PwModCustomIndexSchemeReady_t(PWGM_HGRIDMODEL model, PWGM_INDEXMAPPERCB cb,
4341  void *data);
4342 
4343 typedef PWP_BOOL
4344 PwModStreamFaces_t(PWGM_HGRIDMODEL model, PWGM_ENUM_FACEORDER order,
4346  PWGM_ENDSTREAMCB endCB, void *userData);
4347 
4348 typedef PWP_UINT32
4349 PwModEnumElementCount_t(PWGM_HGRIDMODEL model, PWGM_ELEMCOUNTS *pCounts);
4350 
4351 typedef PWP_BOOL
4352 PwModAppendEnumElementOrder_t(PWGM_HGRIDMODEL model, PWGM_ENUM_ELEMORDER order);
4353 
4354 typedef PWGM_HELEMENT
4355 PwModEnumElements_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4356 
4357 //---------------------------
4358 typedef PWP_UINT32
4359 PwBlkElementCount_t(PWGM_HBLOCK block, PWGM_ELEMCOUNTS *pCounts);
4360 
4361 typedef PWGM_HELEMENT
4362 PwBlkEnumElements_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
4363 
4364 //---------------------------
4365 typedef PWP_UINT32
4366 PwDomElementCount_t(PWGM_HDOMAIN domain, PWGM_ELEMCOUNTS *pCounts);
4367 
4368 typedef PWGM_HELEMENT
4369 PwDomEnumElements_t(PWGM_HDOMAIN domain, PWP_UINT32 ndx);
4370 
4371 typedef PWP_BOOL
4372 PwDomCondition_t(PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData);
4373 
4374 //---------------------------
4375 typedef PWP_BOOL
4376 PwVertDataMod_t(PWGM_HVERTEX vertex, PWGM_VERTDATA *pVertData);
4377 
4378 typedef PWP_BOOL
4379 PwVertIndexMod_t(PWGM_HVERTEX vertex, PWP_UINT32 *pIndex);
4380 
4381 typedef PWP_BOOL
4382 PwVertXyzVal_t(PWGM_HVERTEX vertex, PWGM_ENUM_XYZ which, PWGM_XYZVAL *pVal);
4383 
4384 //---------------------------
4385 typedef PWP_BOOL
4386 PwElemDataMod_t(PWGM_HELEMENT element, PWGM_ELEMDATA *pElemData);
4387 
4388 typedef PWP_BOOL
4389 PwElemDataModEnum_t(PWGM_HELEMENT element, PWGM_ENUMELEMDATA *pElemData);
4390 
4391 
4392 
4393 /*---------------------------------------------------------*/
4394 /* STRUCTURED GRID EXPORT CALLBACKS */
4395 /*---------------------------------------------------------*/
4396 
4397 typedef PWP_UINT32
4398 PwModBoundaryCount_t(PWGM_HGRIDMODEL model);
4399 
4400 typedef PWGM_HBNDRY
4401 PwModEnumBoundaries_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4402 
4403 typedef PWP_UINT32
4404 PwModConnectionCount_t(PWGM_HGRIDMODEL model);
4405 
4406 typedef PWGM_HCNXN
4407 PwModEnumConnections_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx);
4408 
4409 typedef PWP_BOOL
4410 PwModNdxBoundary_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
4411  PWGM_BNDRYDATA *pBndryData);
4412 
4413 typedef PWP_BOOL
4414 PwModNdxBoundaryAndCondition_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
4415  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
4416 
4417 typedef PWP_BOOL
4418 PwModNdxConnection_t(PWGM_HGRIDMODEL model, PWP_UINT32 ndx,
4419  PWGM_CNXNDATA *pCnxnData);
4420 
4421 //---------------------------
4422 typedef PWP_BOOL
4423 PwBlkSize_t(PWGM_HBLOCK block, PWGM_STR_SIZE *pSize);
4424 
4425 typedef PWP_BOOL
4426 PwBlkNdxVertData_t(PWGM_HBLOCK block, PWGM_INDEX3 ndx3,
4427  PWGM_VERTDATA *pVertData);
4428 
4429 typedef PWP_BOOL
4430 PwModCustomIndex3SchemeReady_t(PWGM_HGRIDMODEL model, PWGM_INDEX3MAPPERCB cb,
4431  void *data);
4432 
4433 typedef PWP_UINT32
4434 PwBlkBoundaryCount_t(PWGM_HBLOCK block);
4435 
4436 typedef PWGM_HBNDRY
4437 PwBlkEnumBoundaries_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
4438 
4439 typedef PWP_UINT32
4440 PwBlkConnectionCount_t(PWGM_HBLOCK block);
4441 
4442 typedef PWGM_HCNXN
4443 PwBlkEnumConnections_t(PWGM_HBLOCK block, PWP_UINT32 ndx);
4444 
4445 typedef PWP_BOOL
4446 PwBlkNdxBoundary_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
4447  PWGM_BNDRYDATA *pBndryData);
4448 
4449 typedef PWP_BOOL
4450 PwBlkNdxBoundaryAndCondition_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
4451  PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData);
4452 
4453 typedef PWP_BOOL
4454 PwBlkNdxConnection_t(PWGM_HBLOCK block, PWP_UINT32 ndx,
4455  PWGM_CNXNDATA *pCnxnData);
4456 
4457 
4458 //---------------------------
4459 typedef PWP_BOOL
4460 PwBoundary_t(PWGM_HBNDRY boundary, PWGM_BNDRYDATA *pBndryData);
4461 
4462 typedef PWP_BOOL
4463 PwBndryCondition_t(PWGM_HBNDRY boundary, PWGM_CONDDATA *pCondData);
4464 
4465 typedef PWP_BOOL
4466 PwConnection_t(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData);
4467 
4468 //---------------------------
4469 typedef PWP_BOOL
4470 PwNOTIMPLEMENTED_t();
4471 
4472 
4473 /*---------------------------------------------------------*/
4474 /* COMMON GRID IMPORT CALLBACKS */
4475 /*---------------------------------------------------------*/
4476 
4477 typedef PWGM_HCONNECTOR
4478 PwModCreateCon_t(PWGM_HGRIDMODEL model, PWP_UINT size);
4479 
4480 typedef PWGM_HVERTEXLIST
4481 PwBlkGetVertexList_t(PWGM_HBLOCK h);
4482 
4483 typedef PWGM_HVERTEXLIST
4484 PwDomGetVertexList_t(PWGM_HDOMAIN h);
4485 
4486 typedef PWGM_HVERTEXLIST
4487 PwConGetVertexList_t(PWGM_HCONNECTOR h);
4488 
4489 typedef PWP_BOOL
4490 PwConSetName_t(PWGM_HCONNECTOR h, const char *name);
4491 
4492 typedef PWP_BOOL
4493 PwBlkSetName_t(PWGM_HBLOCK h, const char *name);
4494 
4495 typedef PWP_BOOL
4496 PwDomSetName_t(PWGM_HDOMAIN h, const char *name);
4497 
4498 typedef PWP_BOOL
4499 PwVlstIsUnstructured_t(PWGM_HVERTEXLIST h);
4500 
4501 typedef PWP_UINT
4502 PwVlstGetIndexDimensionality_t(PWGM_HVERTEXLIST h);
4503 
4504 typedef PWP_ENUM_DIMENSION
4505 PwVlstGetBlkElemDimensionality_t(PWGM_HVERTEXLIST h);
4506 
4507 typedef PWP_BOOL
4508 PwVlstSetXYZVal3_t(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3,
4509  const PWGM_ENUM_XYZ which, const PWGM_XYZVAL val);
4510 
4511 typedef PWP_BOOL
4512 PwVlstSetXYZ3_t(PWGM_HVERTEXLIST h, const PWGM_INDEX3 ndx3,
4513  const PWGM_XYZVAL x, const PWGM_XYZVAL y, const PWGM_XYZVAL z);
4514 
4515 typedef PWP_BOOL
4516 PwVlstReadFile_t(PWGM_HVERTEXLIST h, FILE *file,
4517  const PWGM_XYZ_CLUSTERING fileClustering,
4518  const PWP_ENDIANNESS fileByteOrder, const PWP_ENUM_PRECISION filePrecision);
4519 
4520 typedef PWP_BOOL
4521 PwBlkSetProperty_t(PWGM_HBLOCK h, const char *key, const char *val);
4522 
4523 typedef PWP_BOOL
4524 PwDomSetProperty_t(PWGM_HDOMAIN h, const char *key, const char *val);
4525 
4526 typedef PWP_BOOL
4527 PwConSetProperty_t(PWGM_HCONNECTOR h, const char *key, const char *val);
4528 
4529 typedef PWP_BOOL
4530 PwAsmSetProperty_t(PWGM_HBLOCKASSEMBLER h, const PWP_UINT32 propertySetId,
4531  const char *key, const char *val);
4532 
4533 typedef PWP_BOOL
4534 PwAsmSetCellSpanConditionKey_t(PWGM_HBLOCKASSEMBLER assembler,
4535  const PWGM_CONDKEY key, const PWP_UINT32 startCell,
4536  const PWP_UINT32 endCell);
4537 
4538 
4539 /*---------------------------------------------------------*/
4540 /* UNSTRUCTURED GRID IMPORT CALLBACKS */
4541 /*---------------------------------------------------------*/
4542 
4543 typedef PWGM_HVERTEXLIST
4544 PwModCreateUnsVertexList_t(PWGM_HGRIDMODEL model,
4545  const PWP_ENUM_DIMENSION blkElemDimty);
4546 
4547 typedef PWP_BOOL
4548 PwVlstAllocate_t(PWGM_HVERTEXLIST h, const PWP_UINT count);
4549 
4550 typedef PWGM_HBLOCK
4551 PwVlstCreateUnsBlock_t(PWGM_HVERTEXLIST h);
4552 
4553 typedef PWP_BOOL
4554 PwUnsBlkAllocateElements_t(PWGM_HBLOCK h, const PWGM_ENUM_ELEMTYPE cellType,
4555  const PWP_UINT count);
4556 
4557 typedef PWP_BOOL
4558 PwUnsBlkSetElement_t(PWGM_HBLOCK h, const PWP_UINT ndx,
4559  const PWGM_ELEMDATA *eData);
4560 
4561 typedef PWGM_HDOMAIN
4562 PwVlstCreateUnsDomain_t(PWGM_HVERTEXLIST h);
4563 
4564 typedef PWP_BOOL
4565 PwUnsDomAllocateElements_t(PWGM_HDOMAIN h, const PWGM_ENUM_ELEMTYPE cellType,
4566  const PWP_UINT count);
4567 
4568 typedef PWP_BOOL
4569 PwUnsDomSetElement_t(PWGM_HDOMAIN h, const PWP_UINT ndx,
4570  const PWGM_ELEMDATA *eData);
4571 
4572 typedef PWGM_HBLOCKASSEMBLER
4573 PwVlstCreateBlockAssembler_t(PWGM_HVERTEXLIST h);
4574 
4575 typedef PWP_BOOL
4576 PwAsmPushElementFace_t(PWGM_HBLOCKASSEMBLER h, const PWGM_ASSEMBLER_DATA *face);
4577 
4578 typedef PWP_BOOL
4579 PwAsmFinalize_t(PWGM_HBLOCKASSEMBLER h);
4580 
4581 typedef PWGM_HVERTEXLIST
4582 PwAsmGetVertexList_t(PWGM_HBLOCKASSEMBLER h);
4583 
4584 
4585 /*---------------------------------------------------------*/
4586 /* STRUCTURED GRID IMPORT CALLBACKS */
4587 /*---------------------------------------------------------*/
4588 
4589 typedef PWGM_HBLOCK
4590 PwModCreateStrBlock_t(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE blkSize);
4591 
4592 typedef PWGM_HDOMAIN
4593 PwModCreateStrDomain_t(PWGM_HGRIDMODEL model, const PWGM_STR_SIZE domSize);
4594 
4596 
4597 
4598 // PWGM-API function-pointer types
4599 
4603 struct PW_DLL_IMPEXP PWGM_HGRIDMODEL_OUT_IMPL {
4604  PwModBlockCount_t * PwModBlockCountCB;
4605  PwModDomainCount_t * PwModDomainCountCB;
4606  PwModEnumBlocks_t * PwModEnumBlocksCB;
4607  PwModEnumDomains_t * PwModEnumDomainsCB;
4608  PwModEnumVertices_t * PwModEnumVerticesCB;
4609  PwModVertexCount_t * PwModVertexCountCB;
4610  PwModCustomIndexSchemeReady_t * PwModCustomIndexSchemeReadyCB;
4611 
4612  PwBlkElementCount_t * PwBlkElementCountCB;
4613  PwBlkEnumElements_t * PwBlkEnumElementsCB;
4614  PwNOTIMPLEMENTED_t * PwBlkEnumVerticesCB;
4615  PwNOTIMPLEMENTED_t * PwBlkVertexCountCB;
4616  PwBlkCondition_t * PwBlkConditionCB;
4617  PwBlock_t * PwBlockCB;
4618  PwBlkSetExportName_t * PwBlkSetExportNameCB;
4619 
4620  PwDomElementCount_t * PwDomElementCountCB;
4621  PwDomEnumElements_t * PwDomEnumElementsCB;
4622  PwNOTIMPLEMENTED_t * PwDomEnumVerticesCB;
4623  PwNOTIMPLEMENTED_t * PwDomVertexCountCB;
4624  PwDomCondition_t * PwDomConditionCB;
4625 
4626  PwVertDataMod_t * PwVertDataModCB;
4627  PwNOTIMPLEMENTED_t * PwVertDataBlkCB;
4628  PwNOTIMPLEMENTED_t * PwVertDataDomCB;
4629  PwVertIndexMod_t * PwVertIndexModCB;
4630  PwNOTIMPLEMENTED_t * PwVertIndexBlkCB;
4631  PwNOTIMPLEMENTED_t * PwVertIndexDomCB;
4632  PwVertXyzVal_t * PwVertXyzValCB;
4633 
4634  PwElemDataMod_t * PwElemDataModCB;
4635  PwNOTIMPLEMENTED_t * PwElemDataBlkCB;
4636  PwNOTIMPLEMENTED_t * PwElemDataDomCB;
4637 
4638  /*---------------------------------------------------------*/
4639  /* STRUCTURED GRID ADDITIONS */
4640  /*---------------------------------------------------------*/
4641 
4642  PwModBoundaryCount_t * PwModBoundaryCountCB;
4643  PwModEnumBoundaries_t * PwModEnumBoundariesCB;
4644  PwModConnectionCount_t * PwModConnectionCountCB;
4645  PwModEnumConnections_t * PwModEnumConnectionsCB;
4646  PwModNdxBoundary_t * PwModNdxBoundaryCB;
4647  PwModNdxBoundaryAndCondition_t * PwModNdxBoundaryAndConditionCB;
4648  PwModNdxConnection_t * PwModNdxConnectionCB;
4649 
4650  PwBlkSize_t * PwBlkSizeCB;
4651  PwBlkNdxVertData_t * PwBlkNdxVertDataCB;
4652  PwModCustomIndex3SchemeReady_t * PwModCustomIndex3SchemeReadyCB;
4653  PwBlkBoundaryCount_t * PwBlkBoundaryCountCB;
4654  PwBlkEnumBoundaries_t * PwBlkEnumBoundariesCB;
4655  PwBlkConnectionCount_t * PwBlkConnectionCountCB;
4656  PwBlkEnumConnections_t * PwBlkEnumConnectionsCB;
4657  PwBlkNdxBoundary_t * PwBlkNdxBoundaryCB;
4658  PwBlkNdxBoundaryAndCondition_t * PwBlkNdxBoundaryAndConditionCB;
4659  PwBlkNdxConnection_t * PwBlkNdxConnectionCB;
4660 
4661  PwBoundary_t * PwBoundaryCB;
4662  PwBndryCondition_t * PwBndryConditionCB;
4663  PwConnection_t * PwConnectionCB;
4664 
4665  /*---------------------------------------------------------*/
4666  /* CELL FACE STREAMING ADDITIONS */
4667  /*---------------------------------------------------------*/
4668 
4669  PwModStreamFaces_t * PwModStreamFacesCB;
4670  PwModEnumElementCount_t * PwModEnumElementCountCB;
4671  PwModEnumElements_t * PwModEnumElementsCB;
4672  PwElemDataModEnum_t * PwElemDataModEnumCB;
4673  PwModAppendEnumElementOrder_t * PwModAppendEnumElementOrderCB;
4674 
4675  /*---------------------------------------------------------*/
4676  /* SOLVER ATTRIBUTE ADDITIONS */
4677  /*---------------------------------------------------------*/
4678 
4679  PwModGetAttributeValue_t * PwModGetAttributeValueCB;
4680 };
4681 
4682 
4683 /*---------------------------------------------------------*/
4687 struct PW_DLL_IMPEXP PWGM_HGRIDMODEL_IN_IMPL {
4688 
4689  // Common Grid Model Import API Calls
4690  PwModCreateCon_t * PwModCreateConCB;
4691  PwBlkGetVertexList_t * PwBlkGetVertexListCB;
4692  PwDomGetVertexList_t * PwDomGetVertexListCB;
4693  PwConGetVertexList_t * PwConGetVertexListCB;
4694  PwConSetName_t * PwConSetNameCB;
4695  PwBlkSetName_t * PwBlkSetNameCB;
4696  PwDomSetName_t * PwDomSetNameCB;
4697  PwVlstIsUnstructured_t * PwVlstIsUnstructuredCB;
4698  PwVlstGetIndexDimensionality_t * PwVlstGetIndexDimensionalityCB;
4699  PwVlstGetBlkElemDimensionality_t * PwVlstGetBlkElemDimensionalityCB;
4700  PwVlstSetXYZVal3_t * PwVlstSetXYZVal3CB;
4701  PwVlstSetXYZ3_t * PwVlstSetXYZ3CB;
4702  PwVlstReadFile_t * PwVlstReadFileCB;
4703  PwBlkSetProperty_t * PwBlkSetPropertyCB;
4704  PwDomSetProperty_t * PwDomSetPropertyCB;
4705  PwConSetProperty_t * PwConSetPropertyCB;
4706  PwAsmSetProperty_t * PwAsmSetPropertyCB;
4707  PwAsmSetCellSpanConditionKey_t * PwAsmSetCellSpanConditionKeyCB;
4708 
4709 
4710  // Unstructured Grid Model Import API Calls
4711  PwModCreateUnsVertexList_t * PwModCreateUnsVertexListCB;
4712  PwVlstAllocate_t * PwVlstAllocateCB;
4713  PwVlstCreateUnsBlock_t * PwVlstCreateUnsBlockCB;
4714  PwUnsBlkAllocateElements_t * PwUnsBlkAllocateElementsCB;
4715  PwUnsBlkSetElement_t * PwUnsBlkSetElementCB;
4716  PwVlstCreateUnsDomain_t * PwVlstCreateUnsDomainCB;
4717  PwUnsDomAllocateElements_t * PwUnsDomAllocateElementsCB;
4718  PwUnsDomSetElement_t * PwUnsDomSetElementCB;
4719  PwVlstCreateBlockAssembler_t * PwVlstCreateBlockAssemblerCB;
4720  PwAsmPushElementFace_t * PwAsmPushElementFaceCB;
4721  PwAsmFinalize_t * PwAsmFinalizeCB;
4722  PwAsmGetVertexList_t * PwAsmGetVertexListCB;
4723 
4724  // Structured Grid Model Import API Calls
4725  PwModCreateStrBlock_t * PwModCreateStrBlockCB;
4726  PwModCreateStrDomain_t * PwModCreateStrDomainCB;
4727 };
4728  // sdkINTERNALS
4730 
4734 /***********************************************************/
4752 } // extern "C"
4753 
4754 #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 connector.
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 text value of a property identified by key.
PWP_BOOL PwAsmSetConditionTypeName(PWGM_HBLOCKASSEMBLER assembler, const PWGM_CONDKEY key, const char *typeName)
Sets the type name of the condition identified by key.
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 user name of the condition identified by key.
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, structured 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 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)
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 text value of a property identified by key.
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, structured 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, 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: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 connector.
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 connector.
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 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: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, unstructured 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)
Tags a single cells with the condition identified by key.
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)
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: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 text value of a property identified by key.
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 text value of a property identified by key.
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 domain.
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 domain.
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 type id of the condition identified by key.
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 domain.
PWGM_HDOMAIN PwVlstCreateUnsBoundary(PWGM_HVERTEXLIST h)
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: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 of the condition identified by key.
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 domain.
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 user id of the condition identified by key.
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 name for a domain.
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