Lines Matching refs:CGNS_ENUMV
12 #if !defined(CGNS_ENUMV)
13 #define CGNS_ENUMV(a) a macro
77 element_type_tmp = CGNS_ENUMV(ElementTypeNull); in DMPlexCGNSGetPermutation_Internal()
83 element_type_tmp = CGNS_ENUMV(BAR_2); in DMPlexCGNSGetPermutation_Internal()
87 element_type_tmp = CGNS_ENUMV(BAR_3); in DMPlexCGNSGetPermutation_Internal()
91 element_type_tmp = CGNS_ENUMV(BAR_4); in DMPlexCGNSGetPermutation_Internal()
95 element_type_tmp = CGNS_ENUMV(BAR_5); in DMPlexCGNSGetPermutation_Internal()
105 element_type_tmp = CGNS_ENUMV(TRI_3); in DMPlexCGNSGetPermutation_Internal()
109 element_type_tmp = CGNS_ENUMV(TRI_6); in DMPlexCGNSGetPermutation_Internal()
113 element_type_tmp = CGNS_ENUMV(TRI_10); in DMPlexCGNSGetPermutation_Internal()
123 element_type_tmp = CGNS_ENUMV(QUAD_4); in DMPlexCGNSGetPermutation_Internal()
127 element_type_tmp = CGNS_ENUMV(QUAD_9); in DMPlexCGNSGetPermutation_Internal()
131 element_type_tmp = CGNS_ENUMV(QUAD_16); in DMPlexCGNSGetPermutation_Internal()
135 element_type_tmp = CGNS_ENUMV(QUAD_25); in DMPlexCGNSGetPermutation_Internal()
145 element_type_tmp = CGNS_ENUMV(TETRA_4); in DMPlexCGNSGetPermutation_Internal()
149 element_type_tmp = CGNS_ENUMV(TETRA_10); in DMPlexCGNSGetPermutation_Internal()
153 element_type_tmp = CGNS_ENUMV(TETRA_20); in DMPlexCGNSGetPermutation_Internal()
163 element_type_tmp = CGNS_ENUMV(HEXA_8); in DMPlexCGNSGetPermutation_Internal()
167 element_type_tmp = CGNS_ENUMV(HEXA_27); in DMPlexCGNSGetPermutation_Internal()
171 element_type_tmp = CGNS_ENUMV(HEXA_64); in DMPlexCGNSGetPermutation_Internal()
202 case CGNS_ENUMV(BAR_2): in CGNSElementTypeGetTopologyInfo()
203 case CGNS_ENUMV(BAR_3): in CGNSElementTypeGetTopologyInfo()
204 case CGNS_ENUMV(BAR_4): in CGNSElementTypeGetTopologyInfo()
205 case CGNS_ENUMV(BAR_5): in CGNSElementTypeGetTopologyInfo()
208 case CGNS_ENUMV(TRI_3): in CGNSElementTypeGetTopologyInfo()
209 case CGNS_ENUMV(TRI_6): in CGNSElementTypeGetTopologyInfo()
210 case CGNS_ENUMV(TRI_9): in CGNSElementTypeGetTopologyInfo()
211 case CGNS_ENUMV(TRI_10): in CGNSElementTypeGetTopologyInfo()
212 case CGNS_ENUMV(TRI_12): in CGNSElementTypeGetTopologyInfo()
213 case CGNS_ENUMV(TRI_15): in CGNSElementTypeGetTopologyInfo()
216 case CGNS_ENUMV(QUAD_4): in CGNSElementTypeGetTopologyInfo()
217 case CGNS_ENUMV(QUAD_8): in CGNSElementTypeGetTopologyInfo()
218 case CGNS_ENUMV(QUAD_9): in CGNSElementTypeGetTopologyInfo()
219 case CGNS_ENUMV(QUAD_12): in CGNSElementTypeGetTopologyInfo()
220 case CGNS_ENUMV(QUAD_16): in CGNSElementTypeGetTopologyInfo()
221 case CGNS_ENUMV(QUAD_P4_16): in CGNSElementTypeGetTopologyInfo()
222 case CGNS_ENUMV(QUAD_25): in CGNSElementTypeGetTopologyInfo()
225 case CGNS_ENUMV(TETRA_4): in CGNSElementTypeGetTopologyInfo()
226 case CGNS_ENUMV(TETRA_10): in CGNSElementTypeGetTopologyInfo()
227 case CGNS_ENUMV(TETRA_16): in CGNSElementTypeGetTopologyInfo()
228 case CGNS_ENUMV(TETRA_20): in CGNSElementTypeGetTopologyInfo()
229 case CGNS_ENUMV(TETRA_22): in CGNSElementTypeGetTopologyInfo()
230 case CGNS_ENUMV(TETRA_34): in CGNSElementTypeGetTopologyInfo()
231 case CGNS_ENUMV(TETRA_35): in CGNSElementTypeGetTopologyInfo()
234 case CGNS_ENUMV(PYRA_5): in CGNSElementTypeGetTopologyInfo()
235 case CGNS_ENUMV(PYRA_13): in CGNSElementTypeGetTopologyInfo()
236 case CGNS_ENUMV(PYRA_14): in CGNSElementTypeGetTopologyInfo()
237 case CGNS_ENUMV(PYRA_21): in CGNSElementTypeGetTopologyInfo()
238 case CGNS_ENUMV(PYRA_29): in CGNSElementTypeGetTopologyInfo()
239 case CGNS_ENUMV(PYRA_P4_29): in CGNSElementTypeGetTopologyInfo()
240 case CGNS_ENUMV(PYRA_30): in CGNSElementTypeGetTopologyInfo()
241 case CGNS_ENUMV(PYRA_50): in CGNSElementTypeGetTopologyInfo()
242 case CGNS_ENUMV(PYRA_55): in CGNSElementTypeGetTopologyInfo()
245 case CGNS_ENUMV(PENTA_6): in CGNSElementTypeGetTopologyInfo()
246 case CGNS_ENUMV(PENTA_15): in CGNSElementTypeGetTopologyInfo()
247 case CGNS_ENUMV(PENTA_18): in CGNSElementTypeGetTopologyInfo()
248 case CGNS_ENUMV(PENTA_24): in CGNSElementTypeGetTopologyInfo()
249 case CGNS_ENUMV(PENTA_33): in CGNSElementTypeGetTopologyInfo()
250 case CGNS_ENUMV(PENTA_38): in CGNSElementTypeGetTopologyInfo()
251 case CGNS_ENUMV(PENTA_40): in CGNSElementTypeGetTopologyInfo()
252 case CGNS_ENUMV(PENTA_66): in CGNSElementTypeGetTopologyInfo()
253 case CGNS_ENUMV(PENTA_75): in CGNSElementTypeGetTopologyInfo()
256 case CGNS_ENUMV(HEXA_8): in CGNSElementTypeGetTopologyInfo()
257 case CGNS_ENUMV(HEXA_20): in CGNSElementTypeGetTopologyInfo()
258 case CGNS_ENUMV(HEXA_27): in CGNSElementTypeGetTopologyInfo()
259 case CGNS_ENUMV(HEXA_32): in CGNSElementTypeGetTopologyInfo()
260 case CGNS_ENUMV(HEXA_44): in CGNSElementTypeGetTopologyInfo()
261 case CGNS_ENUMV(HEXA_56): in CGNSElementTypeGetTopologyInfo()
262 case CGNS_ENUMV(HEXA_64): in CGNSElementTypeGetTopologyInfo()
263 case CGNS_ENUMV(HEXA_98): in CGNSElementTypeGetTopologyInfo()
264 case CGNS_ENUMV(HEXA_125): in CGNSElementTypeGetTopologyInfo()
267 case CGNS_ENUMV(MIXED): in CGNSElementTypeGetTopologyInfo()
297 case CGNS_ENUMV(BAR_2): in CGNSElementTypeGetDiscretizationInfo()
301 case CGNS_ENUMV(BAR_3): in CGNSElementTypeGetDiscretizationInfo()
305 case CGNS_ENUMV(BAR_4): in CGNSElementTypeGetDiscretizationInfo()
309 case CGNS_ENUMV(BAR_5): in CGNSElementTypeGetDiscretizationInfo()
313 case CGNS_ENUMV(TRI_3): in CGNSElementTypeGetDiscretizationInfo()
317 case CGNS_ENUMV(TRI_6): in CGNSElementTypeGetDiscretizationInfo()
321 case CGNS_ENUMV(TRI_10): in CGNSElementTypeGetDiscretizationInfo()
325 case CGNS_ENUMV(TRI_15): in CGNSElementTypeGetDiscretizationInfo()
329 case CGNS_ENUMV(QUAD_4): in CGNSElementTypeGetDiscretizationInfo()
333 case CGNS_ENUMV(QUAD_9): in CGNSElementTypeGetDiscretizationInfo()
337 case CGNS_ENUMV(QUAD_16): in CGNSElementTypeGetDiscretizationInfo()
341 case CGNS_ENUMV(QUAD_25): in CGNSElementTypeGetDiscretizationInfo()
345 case CGNS_ENUMV(TETRA_4): in CGNSElementTypeGetDiscretizationInfo()
349 case CGNS_ENUMV(TETRA_10): in CGNSElementTypeGetDiscretizationInfo()
353 case CGNS_ENUMV(TETRA_20): in CGNSElementTypeGetDiscretizationInfo()
357 case CGNS_ENUMV(TETRA_35): in CGNSElementTypeGetDiscretizationInfo()
361 case CGNS_ENUMV(PYRA_5): in CGNSElementTypeGetDiscretizationInfo()
365 case CGNS_ENUMV(PYRA_14): in CGNSElementTypeGetDiscretizationInfo()
369 case CGNS_ENUMV(PYRA_30): in CGNSElementTypeGetDiscretizationInfo()
373 case CGNS_ENUMV(PYRA_55): in CGNSElementTypeGetDiscretizationInfo()
377 case CGNS_ENUMV(PENTA_6): in CGNSElementTypeGetDiscretizationInfo()
381 case CGNS_ENUMV(PENTA_18): in CGNSElementTypeGetDiscretizationInfo()
385 case CGNS_ENUMV(PENTA_40): in CGNSElementTypeGetDiscretizationInfo()
389 case CGNS_ENUMV(PENTA_75): in CGNSElementTypeGetDiscretizationInfo()
393 case CGNS_ENUMV(HEXA_8): in CGNSElementTypeGetDiscretizationInfo()
397 case CGNS_ENUMV(HEXA_27): in CGNSElementTypeGetDiscretizationInfo()
401 case CGNS_ENUMV(HEXA_64): in CGNSElementTypeGetDiscretizationInfo()
405 case CGNS_ENUMV(HEXA_125): in CGNSElementTypeGetDiscretizationInfo()
409 case CGNS_ENUMV(MIXED): in CGNSElementTypeGetDiscretizationInfo()
424 *cd = CGNS_ENUMV(RealSingle); in PetscCGNSDataType()
427 *cd = CGNS_ENUMV(RealDouble); in PetscCGNSDataType()
430 *cd = CGNS_ENUMV(ComplexDouble); in PetscCGNSDataType()
535 …PetscCheck(zonetype != CGNS_ENUMV(Structured), PETSC_COMM_SELF, PETSC_ERR_LIB, "Can only handle Un… in DMPlexCreateCGNS_Internal_Serial()
539 if (cellType == CGNS_ENUMV(MIXED)) { in DMPlexCreateCGNS_Internal_Serial()
587 if (cellType == CGNS_ENUMV(MIXED)) { in DMPlexCreateCGNS_Internal_Serial()
655 …PetscCallCGNSReadData(cg_coord_read(cgid, B, z, buffer, CGNS_ENUMV(RealSingle), range_min, range_m… in DMPlexCreateCGNS_Internal_Serial()
698 if (pointtype == CGNS_ENUMV(ElementRange)) { in DMPlexCreateCGNS_Internal_Serial()
701 } else if (pointtype == CGNS_ENUMV(ElementList)) { in DMPlexCreateCGNS_Internal_Serial()
704 } else if (pointtype == CGNS_ENUMV(PointRange)) { in DMPlexCreateCGNS_Internal_Serial()
712 … if (gridloc == CGNS_ENUMV(Vertex)) PetscCall(DMLabelSetValue(label, c - vertStart[z - 1], 1)); in DMPlexCreateCGNS_Internal_Serial()
715 } else if (pointtype == CGNS_ENUMV(PointList)) { in DMPlexCreateCGNS_Internal_Serial()
722 …if (gridloc == CGNS_ENUMV(Vertex)) PetscCall(DMLabelSetValue(label, points[c] - vertStart[z - 1], … in DMPlexCreateCGNS_Internal_Serial()
816 …PetscCheck(sectionCellTypes[s] != CGNS_ENUMV(NGON_n) && sectionCellTypes[s] != CGNS_ENUMV(NFACE_n)… in DMPlexCGNS_CreateCornersConnectivitySection()
833 if (sectionCellTypes[s] == CGNS_ENUMV(MIXED)) { in DMPlexCGNS_CreateCornersConnectivitySection()
1732 read_with_double = datatype == CGNS_ENUMV(RealDouble) ? PETSC_TRUE : PETSC_FALSE; in DMPlexCreateCGNS_Internal_Parallel()
2036 PetscCallCGNSWrite(cg_dataclass_write(CGNS_ENUMV(NormalizedByDimensional)), dm, viewer); in DMView_PlexCGNS()
2100 …PetscCallCGNSWrite(cg_zone_write(cgv->file_num, base, "Zone", isize, CGNS_ENUMV(Unstructured), &zo… in DMView_PlexCGNS()
2113 …PetscCallCGNSWrite(cgp_coord_write(cgv->file_num, base, zone, CGNS_ENUMV(RealDouble), coord_name, … in DMView_PlexCGNS()
2115 PetscCallCGNSWrite(cg_exponents_write(CGNS_ENUMV(RealDouble), exponents), dm, viewer); in DMView_PlexCGNS()
2121 CGNS_ENUMT(ElementType_t) element_type = CGNS_ENUMV(ElementTypeNull); in DMView_PlexCGNS()
2190 …PetscCallCGNSWrite(cg_sol_write(cgv->file_num, base, zone, "CellInfo", CGNS_ENUMV(CellCenter), &so… in DMView_PlexCGNS()
2191 …PetscCallCGNSWrite(cgp_field_write(cgv->file_num, base, zone, sol, CGNS_ENUMV(Integer), "Rank", &f… in DMView_PlexCGNS()
2201 …PetscCallCGNSWrite(cgp_field_write(cgv->file_num, base, zone, sol, CGNS_ENUMV(Integer), "CellSet",… in DMView_PlexCGNS()
2216 CGNS_ENUMT(ElementType_t) element_type = CGNS_ENUMV(ElementTypeNull); in DMView_PlexCGNS()
2346 …GNSWrite(cg_boco_write(cgv->file_num, base, zone, bc_name, CGNS_ENUMV(BCTypeNull), CGNS_ENUMV(Poin… in DMView_PlexCGNS()
2361 CGNS_ENUMT(GridLocation_t) grid_loc = CGNS_ENUMV(GridLocationNull); in DMView_PlexCGNS()
2362 if (topo_dim == 3) grid_loc = CGNS_ENUMV(FaceCenter); in DMView_PlexCGNS()
2363 else if (topo_dim == 2) grid_loc = CGNS_ENUMV(EdgeCenter); in DMView_PlexCGNS()
2364 else if (topo_dim == 1) grid_loc = CGNS_ENUMV(Vertex); in DMView_PlexCGNS()
2407 else if (cStart == pStart && cEnd == pEnd) local_grid_loc = CGNS_ENUMV(CellCenter); in VecView_Plex_Local_CGNS()
2408 else local_grid_loc = CGNS_ENUMV(Vertex); in VecView_Plex_Local_CGNS()
2413 …CGNS_ENUMV(CellCenter)) || (global_grid_loc == CGNS_ENUMV(Vertex)), PetscObjectComm((PetscObject)v… in VecView_Plex_Local_CGNS()
2418 case CGNS_ENUMV(Vertex): { in VecView_Plex_Local_CGNS()
2421 case CGNS_ENUMV(CellCenter): { in VecView_Plex_Local_CGNS()
2471 case CGNS_ENUMV(Vertex): { in VecView_Plex_Local_CGNS()
2476 case CGNS_ENUMV(CellCenter): { in VecView_Plex_Local_CGNS()
2487 case CGNS_ENUMV(Vertex): { in VecView_Plex_Local_CGNS()
2491 case CGNS_ENUMV(CellCenter): { in VecView_Plex_Local_CGNS()
2583 …PetscCheck(datatype == CGNS_ENUMV(RealDouble), PETSC_COMM_SELF, PETSC_ERR_ARG_NOTSAMETYPE, "Field … in VecLoad_Plex_CGNS_Internal()