Home
last modified time | relevance | path

Searched refs:conn (Results 1 – 11 of 11) sorted by relevance

/petsc/src/dm/impls/moab/
H A Ddmmoab.cxx663 PetscErrorCode DMMoabGetVertexCoordinates(DM dm, PetscInt nconn, const moab::EntityHandle *conn, Pe… in DMMoabGetVertexCoordinates() argument
670 PetscAssertPointer(conn, 3); in DMMoabGetVertexCoordinates()
676 …merr = dmmoab->hierarchy->get_coordinates(const_cast<moab::EntityHandle *>(conn), nconn, dmmoab->h… in DMMoabGetVertexCoordinates()
679 merr = dmmoab->mbiface->get_coords(conn, nconn, vpos); in DMMoabGetVertexCoordinates()
702 …etVertexConnectivity(DM dm, moab::EntityHandle vhandle, PetscInt *nconn, moab::EntityHandle **conn) in DMMoabGetVertexConnectivity() argument
710 PetscAssertPointer(conn, 4); in DMMoabGetVertexConnectivity()
719 if (conn) { in DMMoabGetVertexConnectivity()
720 PetscCall(PetscMalloc(sizeof(moab::EntityHandle) * connect.size(), conn)); in DMMoabGetVertexConnectivity()
721 PetscCall(PetscArraycpy(*conn, &connect[0], connect.size())); in DMMoabGetVertexConnectivity()
742 …reVertexConnectivity(DM dm, moab::EntityHandle ehandle, PetscInt *nconn, moab::EntityHandle **conn) in DMMoabRestoreVertexConnectivity() argument
[all …]
H A Ddmmbutil.cxx261 moab::EntityHandle *conn; in DMMoab_GenerateElements_Private() local
267 merr = iface->get_element_connect(nelems, 2, moab::MBEDGE, 0, starte, conn); in DMMoab_GenerateElements_Private()
274 merr = iface->get_element_connect(nelems, 3, moab::MBTRI, 0, starte, conn); in DMMoab_GenerateElements_Private()
278 merr = iface->get_element_connect(nelems, 4, moab::MBQUAD, 0, starte, conn); in DMMoab_GenerateElements_Private()
287 merr = iface->get_element_connect(nelems, 4, moab::MBTET, 0, starte, conn); in DMMoab_GenerateElements_Private()
291 merr = iface->get_element_connect(nelems, 8, moab::MBHEX, 0, starte, conn); in DMMoab_GenerateElements_Private()
314 …ir<PetscInt, PetscInt> entoffset = DMMoab_SetElementConnectivity_Private(genCtx, ix, corner, conn); in DMMoab_GenerateElements_Private()
332 merr = iface->update_adjacencies(starte, nelems, nvperelem, conn); in DMMoab_GenerateElements_Private()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h171 p4est_connectivity_t *conn; member
246 PetscCallP4est(p4est_connectivity_destroy, ((*topo)->conn)); in DMFTopologyDestroy_pforest()
267 …PetscCallP4estReturn((*topo)->conn, p4est_connectivity_new_brick, ((int)N[0], (int)N[1], (P[0] == … in DMFTopologyCreateBrick_pforest()
269 …PetscCallP4estReturn((*topo)->conn, p8est_connectivity_new_brick, ((int)N[0], (int)N[1], (int)N[2]… in DMFTopologyCreateBrick_pforest()
271 numVerts = (*topo)->conn->num_vertices; in DMFTopologyCreateBrick_pforest()
272 vertices = (*topo)->conn->vertices; in DMFTopologyCreateBrick_pforest()
279 PetscCall(PforestConnectivityEnumerateFacets((*topo)->conn, &(*topo)->tree_face_to_uniq)); in DMFTopologyCreateBrick_pforest()
329 PetscCallP4estReturn((*topo)->conn, p4est_connectivity_new_byname, (name)); in DMFTopologyCreate_pforest()
340 PetscCallP4estReturn((*topo)->geom, p8est_geometry_new_shell, ((*topo)->conn, R2, R1)); in DMFTopologyCreate_pforest()
349 PetscCallP4estReturn((*topo)->geom, p8est_geometry_new_sphere, ((*topo)->conn, R2, R1, R0)); in DMFTopologyCreate_pforest()
[all …]
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1162 …ices, PetscSection connSection, const PetscInt face_ids[], const PetscInt conn[], PetscSF *cg2plex… in DMPlexCGNS_MatchCGNSFacesToPlexFaces() argument
1187 for (PetscInt v = 0; v < conn_size; ++v) PetscCall(PetscHSetIAdd(vhash, conn[v])); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1223 PetscCall(PetscFindInt(conn[foffset + 0], nuniq_face_verts, uniq_face_verts, &idx)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1234 PetscCall(PetscFindInt(conn[foffset + v], nuniq_face_verts, uniq_face_verts, &idx)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1357 …PetscCall(PetscSectionMigrateData(*cg2plexSF, MPIU_INT, connSection, conn, connDistSection, (void … in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1817 PetscInt *face_ids, *conn, *plexFaces; in DMPlexCreateCGNS_Internal_Parallel() local
1821 …e, zone, num_face_sections, face_section_ids, &connSection, NULL, &face_ids, &cgnsLayouts, &conn)); in DMPlexCreateCGNS_Internal_Parallel()
1825 if (view_connectivity) PetscCall(PetscSectionArrayView(connSection, conn, PETSC_INT, NULL)); in DMPlexCreateCGNS_Internal_Parallel()
1827 …*dm, nuniq_verts, uniq_verts, myownede, NVertices, connSection, face_ids, conn, &cg2plexSF, &plexF… in DMPlexCreateCGNS_Internal_Parallel()
1913 PetscCall(PetscFree(conn)); in DMPlexCreateCGNS_Internal_Parallel()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexpartition.c318 Mat conn, CSR; in DMPlexCreatePartitionerGraph_ViaMat() local
393 PetscCall(MatCreate(PetscObjectComm((PetscObject)dm), &conn)); in DMPlexCreatePartitionerGraph_ViaMat()
394 PetscCall(MatSetSizes(conn, floc, cloc, M, N)); in DMPlexCreatePartitionerGraph_ViaMat()
395 PetscCall(MatSetType(conn, MATMPIAIJ)); in DMPlexCreatePartitionerGraph_ViaMat()
398 PetscCall(MatMPIAIJSetPreallocation(conn, m, NULL, m, NULL)); in DMPlexCreatePartitionerGraph_ViaMat()
416 PetscCall(MatSetValues(conn, 1, &row, 1, &col, &v, INSERT_VALUES)); in DMPlexCreatePartitionerGraph_ViaMat()
425 PetscCall(MatSetValues(conn, 1, &row, 1, &col, &v, INSERT_VALUES)); in DMPlexCreatePartitionerGraph_ViaMat()
433 PetscCall(MatAssemblyBegin(conn, MAT_FINAL_ASSEMBLY)); in DMPlexCreatePartitionerGraph_ViaMat()
434 PetscCall(MatAssemblyEnd(conn, MAT_FINAL_ASSEMBLY)); in DMPlexCreatePartitionerGraph_ViaMat()
437 PetscCall(MatTransposeMatMult(conn, conn, MAT_INITIAL_MATRIX, PETSC_DETERMINE, &CSR)); in DMPlexCreatePartitionerGraph_ViaMat()
[all …]
H A Dplexvtu.c54 PetscVTKInt *conn, *offsets; in DMPlexGetVTKConnectivity() local
59 PetscCall(PetscMalloc3(piece->nconn, &conn, piece->ncells, &offsets, piece->ncells, &types)); in DMPlexGetVTKConnectivity()
90 if (!localized) PetscCall(PetscVTKIntCast(closure[v] - vStart, &conn[countconn++])); in DMPlexGetVTKConnectivity()
91 else PetscCall(PetscVTKIntCast(startoffset + nC, &conn[countconn++])); in DMPlexGetVTKConnectivity()
97 …for (nC = 0; nC < dof / dim; nC++) PetscCall(PetscVTKIntCast(startoffset + nC, &conn[countconn++])… in DMPlexGetVTKConnectivity()
102 for (i = 0; i < n; ++i) cone[i] = conn[s + i]; in DMPlexGetVTKConnectivity()
104 for (i = 0; i < n; ++i) PetscCall(PetscVTKIntCast(cone[i], &conn[s + i])); in DMPlexGetVTKConnectivity()
116 *oconn = conn; in DMPlexGetVTKConnectivity()
/petsc/src/sys/webclient/
H A Dbox.c19 static int PetscBoxWebServer_Private(struct mg_connection *conn) in PetscBoxWebServer_Private() argument
21 const struct mg_request_info *request_info = mg_get_request_info(conn); in PetscBoxWebServer_Private()
/petsc/src/sys/classes/viewer/impls/glvis/
H A Dglvis.c327 PetscBool lconn, conn; in PetscViewerGLVisGetStatus_Internal() local
332 …PetscCallMPI(MPIU_Allreduce(&lconn, &conn, 1, MPI_C_BOOL, MPI_LAND, PetscObjectComm((PetscObject)v… in PetscViewerGLVisGetStatus_Internal()
333 if (conn) socket->status = PETSCVIEWERGLVIS_CONNECTED; in PetscViewerGLVisGetStatus_Internal()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c157 Mat G, T, conn, lG, lGt, lGis, lGall, lGe, lGinit; in PCBDDCNedelecSupport() local
843 PetscCall(MatProductCreate(lG, lGt, NULL, &conn)); in PCBDDCNedelecSupport()
844 PetscCall(MatProductSetType(conn, MATPRODUCT_AB)); in PCBDDCNedelecSupport()
845 PetscCall(MatProductSetAlgorithm(conn, "default")); in PCBDDCNedelecSupport()
846 PetscCall(MatProductSetFill(conn, PETSC_DEFAULT)); in PCBDDCNedelecSupport()
847 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)conn, "econn_")); in PCBDDCNedelecSupport()
848 PetscCall(MatProductSetFromOptions(conn)); in PCBDDCNedelecSupport()
849 PetscCall(MatProductSymbolic(conn)); in PCBDDCNedelecSupport()
850 PetscCall(MatGetRowIJ(conn, 0, PETSC_FALSE, PETSC_FALSE, &i, &ii, &jj, &done)); in PCBDDCNedelecSupport()
912 PetscCall(MatRestoreRowIJ(conn, 0, PETSC_FALSE, PETSC_FALSE, &i, &ii, &jj, &done)); in PCBDDCNedelecSupport()
[all …]
/petsc/doc/
H A Dpetsc.bib25766 @Article{ bongartz.conn.ea:cute,
26856 @Article{ coleman.conn:nonlinear,
26865 @Article{ coleman.conn:nonlinear*1,
26928 @Book{ conn.gould.ea:lancelot,
26939 @Article{ conn.gould.ea:numerical,
26957 @InCollection{ conn.toint:algorithm,
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas7117 (overset/partition/metis/dr-conn? #f)