Lines Matching refs:cell_dim
842 PetscInt numCorners, cell_dim, *conn_sb_seg; in DMPlexCGNS_CreateCornersConnectivitySection() local
848 … PetscCall(CGNSElementTypeGetTopologyInfo(cellTypes_[c], &dm_cell_type, &numCorners, &cell_dim)); in DMPlexCGNS_CreateCornersConnectivitySection()
849 if (global_cell_dim == -1) global_cell_dim = cell_dim; in DMPlexCGNS_CreateCornersConnectivitySection()
851 …cell_dim == global_cell_dim, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Can only combine cells of… in DMPlexCGNS_CreateCornersConnectivitySection()
862 PetscInt numCorners, cell_dim; in DMPlexCGNS_CreateCornersConnectivitySection() local
869 …scCall(CGNSElementTypeGetTopologyInfo(sectionCellTypes[s], &dm_cell_type, &numCorners, &cell_dim)); in DMPlexCGNS_CreateCornersConnectivitySection()
870 if (global_cell_dim == -1) global_cell_dim = cell_dim; in DMPlexCGNS_CreateCornersConnectivitySection()
872 …cell_dim == global_cell_dim, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Can only combine cells of… in DMPlexCGNS_CreateCornersConnectivitySection()
1605 PetscInt cell_dim; in DMPlexCreateCGNS_Internal_Parallel() local
1610 PetscCall(CGNSElementTypeGetTopologyInfo(cellType, &dm_cell_type, &numCorners, &cell_dim)); in DMPlexCreateCGNS_Internal_Parallel()
1612 if (cell_dim == dim) cell_section_ids[num_cell_sections++] = index_sect; in DMPlexCreateCGNS_Internal_Parallel()
1613 else if (cell_dim == dim - 1) face_section_ids[num_face_sections++] = index_sect; in DMPlexCreateCGNS_Internal_Parallel()