Searched refs:cgv (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/sys/classes/viewer/impls/cgns/ |
| H A D | cgnsv.c | 31 PetscViewer_CGNS *cgv = (PetscViewer_CGNS *)v->data; in PetscViewerSetFromOptions_CGNS() local 35 …ore in single file when using a template cgns:name-\%d.cgns", "", cgv->batch_size, &cgv->batch_siz… in PetscViewerSetFromOptions_CGNS() 42 PetscViewer_CGNS *cgv = (PetscViewer_CGNS *)v->data; in PetscViewerView_CGNS() local 45 if (cgv->filename) PetscCall(PetscViewerASCIIPrintf(viewer, "Filename: %s\n", cgv->filename)); in PetscViewerView_CGNS() 51 PetscViewer_CGNS *cgv = (PetscViewer_CGNS *)viewer->data; in PetscViewerFileClose_CGNS() local 54 if (cgv->output_times) { in PetscViewerFileClose_CGNS() 59 PetscCall(PetscSegBufferGetSize(cgv->output_times, &size)); in PetscViewerFileClose_CGNS() 60 PetscCall(PetscSegBufferExtractInPlace(cgv->output_times, ×)); in PetscViewerFileClose_CGNS() 61 PetscCall(PetscSegBufferExtractInPlace(cgv->output_steps, &steps)); in PetscViewerFileClose_CGNS() 63 …PetscCallCGNSWrite(cg_biter_write(cgv->file_num, cgv->base, "TimeIterValues", num_times), viewer, … in PetscViewerFileClose_CGNS() [all …]
|
| /petsc/src/dm/impls/plex/cgns/ |
| H A D | plexcgns2.c | 2012 PetscViewer_CGNS *cgv = (PetscViewer_CGNS *)viewer->data; in DMView_PlexCGNS() local 2025 if (!cgv->file_num) { in DMView_PlexCGNS() 2034 PetscCallCGNSWrite(cg_base_write(cgv->file_num, dm_name, topo_dim, coord_dim, &base), dm, viewer); in DMView_PlexCGNS() 2035 PetscCallCGNS(cg_goto(cgv->file_num, base, NULL)); 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() 2114 …PetscCallCGNS(cg_goto(cgv->file_num, base, "Zone_t", zone, "GridCoordinates", 0, coord_name, 0, NU… in DMView_PlexCGNS() 2132 …PetscCallCGNSWriteData(cgp_coord_write_data(cgv->file_num, base, zone, coord_ids[d], &start, &end,… in DMView_PlexCGNS() 2169 …PetscCallCGNSWrite(cgp_section_write(cgv->file_num, base, zone, "Elem", element_type, 1, e_global,… in DMView_PlexCGNS() 2170 …PetscCallCGNSWriteData(cgp_elements_write_data(cgv->file_num, base, zone, section, e_start + 1, e_… in DMView_PlexCGNS() [all …]
|