Home
last modified time | relevance | path

Searched full:image (Results 1 – 25 of 47) sorted by relevance

12

/petsc/src/sys/classes/draw/interface/
H A Ddsave.c19 …of the file, if .ext then uses name of draw object plus .ext using .ext to determine the image type
23 . -draw_save_final_image [optional filename] - saves the final image displayed in a window
24 …ave_single_file - saves each new image in the same file, normally each new ima…
29 You should call this BEFORE creating your image and calling `PetscDrawSave()`.
30 …The supported image types are .png, .gif, .jpg, and .ppm (PETSc chooses the default in that order).
48 /* determine save filename and image extension */ in PetscDrawSetSave()
72 …PetscCall(PetscInfo(NULL, "Will save image to file %s%s\n", draw->savefilename, draw->saveimageext… in PetscDrawSetSave()
94 …You should call this AFTER calling `PetscDrawSetSave()` and BEFORE creating your image with `Petsc…
115 PetscDrawSetSaveFinalImage - Saves the final image produced in a `PetscDraw` into a file
129 You should call this BEFORE creating your image and calling `PetscDrawSave()`.
[all …]
H A Ddrawreg.c360 . -draw_save [optional filename] - (X Windows only) saves each image before it is clear…
361 . -draw_save_final_image [optional filename] - (X Windows only) saves the final image displayed in …
362 . -draw_save_movie - converts image files to a movie at the end of the r…
363 …ave_single_file - saves each new image in the same file, normally each new ima…
364 . -draw_save_on_clear - saves an image on each clear, mainly for debugging
365 - -draw_save_on_flush - saves an image on each flush, mainly for debugging
412 PetscBool image, movie; in PetscDrawSetFromOptions() local
415 …tring("-draw_save", "Save graphics to image file", "PetscDrawSetSave", filename, filename, sizeof(… in PetscDrawSetFromOptions()
418 …PetscCall(PetscOptionsBool("-draw_save_single_file", "Each new image replaces previous image in fi… in PetscDrawSetFromOptions()
419 if (image) PetscCall(PetscDrawSetSave(draw, filename)); in PetscDrawSetFromOptions()
[all …]
H A Ddraw.c188 in the image.
/petsc/src/sys/classes/draw/utils/
H A Dimage.c41 /* write image data and close file */ in PetscDrawImageSavePPM()
94 /* setup PNG image metadata */ in PetscDrawImageSavePNG()
99 /* write PNG image header and data */ in PetscDrawImageSavePNG()
161 PetscCallGIF("Writing image descriptor", EGifPutImageDesc(GifFile, 0, 0, Width, Height, 0, NULL)); in PetscDrawImageSaveGIF()
162 …for (Row = 0; Row < Height; Row++) PetscCallGIF("Writing image pixels", EGifPutLine(GifFile, (GifP… in PetscDrawImageSaveGIF()
180 char image[PETSC_MAX_PATH_LEN]; in PetscDrawMovieSaveGIF() local
191 PetscCall(PetscSNPrintf(image, sizeof(image), pattern, (int)i)); in PetscDrawMovieSaveGIF()
192 /* open and read image file */ in PetscDrawMovieSaveGIF()
193 if ((GifImage = DGifOpenFileName(image, NULL)) == NULL) SETERRGIF("Opening input", image); in PetscDrawMovieSaveGIF()
194 if (DGifSlurp(GifImage) != GIF_OK) SETERRGIF("Reading input", image); in PetscDrawMovieSaveGIF()
[all …]
/petsc/doc/developers/
H A Ddocumentation.md193 is tracked in the primary PETSc Git repository. However, image files are
197 Therefore, we store image files in a separate Git repository, [Images](https://gitlab.com/petsc/pet…
202 ### Image Guidelines
206 - Do not add movies or other non-image files.
210 - Decide where in `doc/images` a new image should go. Use the structure of the `doc/` tree as a gui…
211 …ly-used branch of the upstream images repository, adding this image [^maintainer-fast-image-footno…
212 … Request is merged, you may make a MR on the main PETSc Git repository relying on the new image(s).
214 It may be helpful to place working copies of the new image(s) in your local `doc/images`
220 Simply add a logically-numbered new version of the image.
222 If an image is not used in *any* {any}`integration branch <sec_integration_branches>` (`main` or `r…
[all …]
/petsc/doc/community/meetings/2024/
H A Dindex.md13 ```{image} https://petsc.gitlab.io/annual-meetings/2024/GroupPhoto.jpg
35 ```{image} https://petsc.gitlab.io/annual-meetings/2024/banner_PETSc_2024.jpg
39 ```{image} https://petsc.gitlab.io/annual-meetings/2024/csm_PETSc_2024_Schedule_Overview.jpg
/petsc/share/petsc/saws/js/
H A DdrawDiagrams.js71 …ret += "<image x=\""+(x+size+20)+"\" y=\""+(y+i*side+side/2-13)+"\" width=\"146\" height=\"26\" xl…
118 if(i != numChildren-1)//add transition arrows image if there are more grids left
119 …ret += "<image x=\""+x+"\" y=\""+(y+141+global_downshift)+"\" width=\"349\" height=\"68\" xlink:hr…
136 …ret += "<image x=\""+(new_x-45)+"\" y=\""+(new_y+70)+"\" width=\"146\" height=\"26\" xlink:href=\"…
/petsc/src/sys/classes/draw/impls/x/
H A Dximage.c2 Code for getting raster images out of a X image or pixmap
77 /* only the first process return image data */ in PetscDrawGetImage_X()
88 /* get image out of the drawable */ in PetscDrawGetImage_X()
95 /* extract pixel values out of the image and map them to color indices */ in PetscDrawGetImage_X()
/petsc/src/sys/classes/draw/impls/image/
H A Ddrawimage.c1 #include <../src/sys/classes/draw/impls/image/drawimage.h> /*I "petscdraw.h" I*/
382 PetscCall(PetscViewerASCIIPrintf(viewer, " Image file name %s\n", filename)); in PetscDrawView_Image()
524 . -draw_size w,h - size of image in pixels
595 PetscDrawOpenImage - Opens an image for use with the `PetscDraw` routines.
600 + comm - the communicator that will share image
601 . filename - optional name of the file where the image will be stored
602 . w - the image width in pixels
603 - h - the image height in pixels
/petsc/src/snes/tests/output/
H A Dex1_6.out3 Draw viewer is of type image
/petsc/src/sys/classes/viewer/impls/draw/
H A Ddrawv.c404 …PetscViewerDrawGetPause - Gets the pause value (how long to pause before an image is changed) in …
479 PetscViewerDrawSetHold - Holds previous image when drawing new image in a `PETSCVIEWERDRAW`
485 - hold - `PETSC_TRUE` indicates to hold the previous image
507 …GetHold - Checks if the `PETSCVIEWERDRAW` `PetscViewer` holds previous image when drawing new image
604 …this viewer. Otherwise the color to physical value meaning changes with each new image if this is …
H A Dvdraw.h19 PetscBool hold; /* Keep previous image when adding new */
/petsc/doc/community/
H A Dindex.md9 ```{image} /images/community/numfocus.png
/petsc/include/petsc/private/
H A Ddrawimpl.h73 PetscBool saveonclear; /* save a new image for every PetscDrawClear() called */
74 PetscBool saveonflush; /* save a new image for every PetscDrawFlush() called */
/petsc/include/
H A Dpetscdrawtypes.h18 #define PETSC_DRAW_IMAGE "image"
H A Dpetscsectiontypes.h49 …line, grid, or lattice. If the data is accessed from a different "orientation", then the image of…
/petsc/doc/overview/
H A Dnutshell.md7 ```{image} /images/manual/library_structure.svg
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/
H A DSysCheck.pm1018 if($SysDesc{"Image"} = parseTag(\$Content, "image"))
1019 { # <image>
1021 if(not -f $SysDesc{"Image"}) {
1022 exitStatus("Access_Error", "can't access \'".$SysDesc{"Image"}."\'");
1205 elsif($SysDesc{"Image"})
1206 { # one big image
1208 @SystemLibs = ($SysDesc{"Image"});
1412 if($SysDesc{"Image"}) {
1413 printMsg("INFO", "Reading symbols from image ...\n");
2006 if($SysDesc{"Image"} and not $In::Opt{"CheckHeadersOnly"}) {
[all …]
/petsc/src/tao/leastsquares/tutorials/
H A DtomographyGenerateData.m61 figure(99); clf; multAxes(@imagesc, WAll); multAxes(@axis, 'image'); linkAxesXYZLimColorView; multA…
/petsc/doc/miscellaneous/
H A Dapplications_publications.md50 - [High resolution image](https://www.nersc.gov/assets/ScienceAtNERSC/SlavaFull.png)
/petsc/doc/tutorials/meshing/
H A Dguide_to_subsurface.md36 and the extruded mesh can be visualized using VTK. Here I make the image using Paraview, and give t…
/petsc/doc/changes/
H A D37.md65 --download versions to support PNG/GIF/JPEG image generation
H A D319.md242 …riodic while preserving the local point representation for both donor and image sheet. This is sup…
/petsc/systems/Apple/iOS/examples/Basic/examples.xcodeproj/
H A Dproject.pbxproj40 … /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Defau…
/petsc/src/dm/dt/interface/
H A Ddtaltv.c303 . M - the dimension of the image vector space of the linear transformation, N >= 0
307 - w - a |k|-form in the image space, size [M choose |k|]
440 . M - the dimension of the image vector space of the linear transformation, M >= 0

12