Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 10 of 10) sorted by relevance

/petsc/src/dm/tutorials/
H A Dswarm_ex1.c298 CollectZoneCtx *zone = (CollectZoneCtx *)ctx; in collect_zone() local
310 r2 = zone->radius * zone->radius; in collect_zone()
315 sep2 = (array_x[p] - zone->cx[0]) * (array_x[p] - zone->cx[0]); in collect_zone()
316 sep2 += (array_y[p] - zone->cx[1]) * (array_y[p] - zone->cx[1]); in collect_zone()
325 sep2 = (array_x[p] - zone->cx[0]) * (array_x[p] - zone->cx[0]); in collect_zone()
326 sep2 += (array_y[p] - zone->cx[1]) * (array_y[p] - zone->cx[1]); in collect_zone()
346 CollectZoneCtx *zone; in ex1_4() local
409 PetscCall(PetscMalloc1(1, &zone)); in ex1_4()
412 zone->cx[0] = 0.5; in ex1_4()
413 zone->cx[1] = 0.5; in ex1_4()
[all …]
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c797 …CGNS_CreateCornersConnectivitySection(DM dm, PetscInt cgid, int base, int zone, PetscInt num_secti… in DMPlexCGNS_CreateCornersConnectivitySection() argument
815 …PetscCallCGNSRead(cg_section_read(cgid, base, zone, section_ids[s], buffer, &sectionCellTypes[s], … in DMPlexCGNS_CreateCornersConnectivitySection()
837 …PetscCallCGNSRead(cgp_poly_elements_read_data_offsets(cgid, base, zone, section_ids[s], mystart, m… in DMPlexCGNS_CreateCornersConnectivitySection()
839 …PetscCallCGNSRead(cgp_poly_elements_read_data_elements(cgid, base, zone, section_ids[s], mystart, … in DMPlexCGNS_CreateCornersConnectivitySection()
876 …PetscCallCGNSRead(cgp_elements_read_data(cgid, base, zone, section_ids[s], mystart, myend - 1, con… in DMPlexCGNS_CreateCornersConnectivitySection()
1549 int zone = 1; // Only supports single zone files in DMPlexCreateCGNS_Internal_Parallel() local
1567 PetscCallCGNSRead(cg_zone_read(cgid, base, zone, buffer, sizes), *dm, 0); in DMPlexCreateCGNS_Internal_Parallel()
1600 cg_nsections(cgid, base, zone, &nsections); in DMPlexCreateCGNS_Internal_Parallel()
1608 …PetscCallCGNSRead(cg_section_read(cgid, base, zone, index_sect, buffer, &cellType, &start, &end, &… in DMPlexCreateCGNS_Internal_Parallel()
1621 …PetscCallCGNSRead(cg_section_read(cgid, base, zone, index_sect, buffer, &cellType, &start, &end, &… in DMPlexCreateCGNS_Internal_Parallel()
[all …]
/petsc/src/sys/classes/viewer/impls/cgns/
H A Dcgnsv.c74 …PetscCallCGNSWrite(cg_ziter_write(cgv->file_num, cgv->base, cgv->zone, "ZoneIterativeData"), viewe… in PetscViewerFileClose_CGNS()
75 …PetscCallCGNS(cg_goto(cgv->file_num, cgv->base, "Zone_t", cgv->zone, "ZoneIterativeData_t", 1, NUL… in PetscViewerFileClose_CGNS()
246 cgv->zone = 1; in PetscViewerCreate_CGNS()
400 PetscCallCGNSRead(cg_nsols(cgv->file_num, cgv->base, cgv->zone, &nsols), viewer, 0); in PetscViewerCGNSGetSolutionFileIndex_Internal()
401 …cgns_ier = cg_goto(cgv->file_num, cgv->base, "Zone_t", cgv->zone, "ZoneIterativeData_t", 1, "FlowS… in PetscViewerCGNSGetSolutionFileIndex_Internal()
414 … cgns_ier = cg_goto(cgv->file_num, cgv->base, "Zone_t", cgv->zone, "ZoneIterativeData_t", 1, NULL); in PetscViewerCGNSGetSolutionFileIndex_Internal()
442 …PetscCallCGNSRead(cg_sol_info(cgv->file_num, cgv->base, cgv->zone, sol_id, buffer, &gridloc), view… in PetscViewerCGNSGetSolutionFileIndex_Internal()
575 …PetscCallCGNSRead(cg_sol_info(cgv->file_num, cgv->base, cgv->zone, sol_id, buffer, &gridloc), view… in PetscViewerCGNSGetSolutionName()
/petsc/src/snes/tutorials/network/power/
H A Dpower.h36 PetscInt zone; /* Zone number */ member
57 PetscInt zone; /* Zone to which load is assigned */ member
H A Dcase9.m16 % bus_i type Pd Qd Gs Bs area Vm Va baseKV zone Vmax Vmin
/petsc/src/dm/impls/plex/tests/output/
H A Dex1_cgns_0.out11 zone: 1 strata with value/size (1 (1584))
/petsc/include/petsc/private/
H A Dviewercgnsimpl.h15 int base, zone; member
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas148 (reference-frame/ghost-zone-interface-active? #t)
161 (rombuilder/variable-zone-map ())
648 (shell/zone-io? #t)
721 (pcb/zone-info ())
1773 (pseudo/energy-solid-dt-in-melt-porous-zone? #t)
1803 (patternator/surface-zone-id -1)
1905 (dpm/volume-injection/zone-injection-method 1)
2093 (dpm/scr/urea-depo-risk/wall-face-zone-list ())
2961 (melt/method-mushy-zone-constant ())
2962 (melt/mushy-zone-constant 100000.)
[all …]
/petsc/doc/community/meetings/2025/
H A Dindex.md204 …ng a new mechanism to explain anomalous volcanism observed at lateral subduction zone terminations.
/petsc/doc/
H A Dpetsc.bib4784 title = {The impact of climate change on vadose zone pore waters and its implication for
22314 title = {The subduction zone flow field from seismic anisotropy: A global view},