Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 210) sorted by relevance

123456789

/petsc/src/sys/classes/draw/interface/
H A Ddpoint.c68 PetscErrorCode PetscDrawPointSetSize(PetscDraw draw, PetscReal width) in PetscDrawPointSetSize() argument
72 …PetscCheck(width >= 0.0 && width <= 1.0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Bad size %g, … in PetscDrawPointSetSize()
73 PetscTryTypeMethod(draw, pointsetsize, width); in PetscDrawPointSetSize()
H A Ddline.c200 PetscErrorCode PetscDrawLineSetWidth(PetscDraw draw, PetscReal width) in PetscDrawLineSetWidth() argument
204 PetscTryTypeMethod(draw, linesetwidth, width); in PetscDrawLineSetWidth()
228 PetscErrorCode PetscDrawLineGetWidth(PetscDraw draw, PetscReal *width) in PetscDrawLineGetWidth() argument
232 PetscAssertPointer(width, 2); in PetscDrawLineGetWidth()
233 PetscUseTypeMethod(draw, linegetwidth, width); in PetscDrawLineGetWidth()
/petsc/src/sys/classes/random/impls/curand/
H A Dcurand2.cu16 complexscalelw(PetscScalar low, PetscScalar width) in complexscalelw()
20 rw = PetscRealPart(width); in complexscalelw()
21 iw = PetscImaginaryPart(width); in complexscalelw()
36 realscalelw(PetscReal low, PetscReal width) : l(low), w(width) { } in realscalelw()
49 thrust::transform(zibit, zibit + n, pval, complexscalelw(r->low, r->width)); in PetscRandomCurandScale_Private()
55 PetscReal rw = PetscRealPart(r->width); in PetscRandomCurandScale_Private()
/petsc/src/sys/yaml/src/
H A Dreader.c193 unsigned int width = 0; in yaml_parser_update_buffer() local
227 width = (octet & 0x80) == 0x00 ? 1 : in yaml_parser_update_buffer()
234 if (!width) in yaml_parser_update_buffer()
241 if (width > raw_unread) { in yaml_parser_update_buffer()
260 for (k = 1; k < width; k ++) in yaml_parser_update_buffer()
278 if (!((width == 1) || in yaml_parser_update_buffer()
279 (width == 2 && value >= 0x80) || in yaml_parser_update_buffer()
280 (width == 3 && value >= 0x800) || in yaml_parser_update_buffer()
281 (width == 4 && value >= 0x10000))) in yaml_parser_update_buffer()
355 width = 4; in yaml_parser_update_buffer()
[all …]
/petsc/share/petsc/saws/js/
H A DboxTree.js49 …ret += getCurve(x + visualLoc.x, y + visualLoc.y, x+text_size.width+data[endtag].indentations[i]+d…
52 …ret += getBoxTree(data, childEndtag, x+text_size.width+data[endtag].indentations[i], y+elapsedDist…
63 elapsedDist += childTotalSize.width;
89 …ret.width = 100;//70 is enough for chrome, but svg font in safari/firefox shows up bigger so we …
161 …if(indentations[i] + childSize.width > rightFrontier) //at the same time, calculate how wide the t…
162 rightFrontier = indentations[i] + childSize.width;
207 …total_size.width = text_size.width + rightFrontier; //total width depends on how far the right fro…
226 totalWidth += childSize.width;
256 elapsedDist += data[childEndtag].total_size.width;
264 …var child2_pos = elapsedDist + data[child1_endtag].total_size.width + data[child2_endtag].visua…
[all …]
/petsc/src/sys/classes/random/impls/sprng/
H A Dsprng.c21 …*val = PetscRealPart(r->width) * sprng() + PetscRealPart(r->low) + (PetscImaginaryPart(r->width) *… in PetscRandomGetValue_Sprng()
26 if (r->iset) *val = r->width * sprng() + r->low; in PetscRandomGetValue_Sprng()
36 if (r->iset) *val = PetscRealPart(r->width) * sprng() + PetscRealPart(r->low); in PetscRandomGetValueReal_Sprng()
39 if (r->iset) *val = r->width * sprng() + r->low; in PetscRandomGetValueReal_Sprng()
/petsc/src/sys/classes/random/impls/rand/
H A Drand.c15 …if (r->iset) *val = PetscRealPart(r->width) * RAND_WRAP + PetscRealPart(r->low) + (PetscImaginaryP… in PetscRandomGetValue_Rand()
18 if (r->iset) *val = r->width * RAND_WRAP + r->low; in PetscRandomGetValue_Rand()
28 if (r->iset) *val = PetscRealPart(r->width) * RAND_WRAP + PetscRealPart(r->low); in PetscRandomGetValueReal_Rand()
31 if (r->iset) *val = r->width * RAND_WRAP + r->low; in PetscRandomGetValueReal_Rand()
/petsc/src/sys/classes/random/impls/rand48/
H A Drand48.c16 …*val = PetscRealPart(r->width) * (PetscReal)drand48() + PetscRealPart(r->low) + (PetscImaginaryPar… in PetscRandomGetValue_Rand48()
21 if (r->iset) *val = r->width * drand48() + r->low; in PetscRandomGetValue_Rand48()
31 if (r->iset) *val = PetscRealPart(r->width) * drand48() + PetscRealPart(r->low); in PetscRandomGetValueReal_Rand48()
34 if (r->iset) *val = r->width * (PetscReal)drand48() + r->low; in PetscRandomGetValueReal_Rand48()
/petsc/src/sys/classes/random/impls/rander48/
H A Drander48.c58 if (PetscRealPart(r->width)) *val += PetscRealPart(r->width) * _dorander48(r48); in PetscRandomGetValue_Rander48()
59 …if (PetscImaginaryPart(r->width)) *val += PetscImaginaryPart(r->width) * _dorander48(r48) * PETSC_… in PetscRandomGetValue_Rander48()
64 if (r->iset) *val = r->width * _dorander48(r48) + r->low; in PetscRandomGetValue_Rander48()
76 if (r->iset) *val = PetscRealPart(r->width) * _dorander48(r48) + PetscRealPart(r->low); in PetscRandomGetValueReal_Rander48()
79 if (r->iset) *val = r->width * _dorander48(r48) + r->low; in PetscRandomGetValueReal_Rander48()
/petsc/doc/developers/contributing/
H A Dpipelines.md16 :width: 90%
25 :width: 90%
34 :width: 90%
43 :width: 90%
55 :width: 90%
64 :width: 90%
87 :width: 90%
94 :width: 90%
101 :width: 90%
110 :width: 90%
[all …]
/petsc/src/dm/impls/stag/tutorials/output/
H A Dex1_periodic_seq.out6 Elementwise ghost stencil: BOX, width 1
17 Elementwise ghost stencil: BOX, width 1
28 Elementwise ghost stencil: BOX, width 1
39 Elementwise ghost stencil: BOX, width 1
50 Elementwise ghost stencil: BOX, width 1
H A Dex1_ghosted_vacuous.out6 Elementwise ghost stencil: BOX, width 1
23 Elementwise ghost stencil: BOX, width 1
40 Elementwise ghost stencil: BOX, width 1
57 Elementwise ghost stencil: BOX, width 1
74 Elementwise ghost stencil: BOX, width 1
H A Dex1_periodic.out6 Elementwise ghost stencil: BOX, width 1
23 Elementwise ghost stencil: BOX, width 1
40 Elementwise ghost stencil: BOX, width 1
57 Elementwise ghost stencil: BOX, width 1
74 Elementwise ghost stencil: BOX, width 1
/petsc/src/sys/classes/draw/tests/
H A Dex5f.F9018 integer4 x, y, width, height
36 width = int(w, kind=kind(width))
41 …reate(PETSC_COMM_WORLD, PETSC_NULL_CHARACTER, PETSC_NULL_CHARACTER, x, y, width, height, draw, ier…
H A Dex4f.F9038 integer4 x, y, width, height
42 width = 256
46 …PetscCallA(PetscDrawCreate(PETSC_COMM_WORLD, PETSC_NULL_CHARACTER, 'Title', x, y, width, height, d…
H A Dex1.c9 int x = 0, y = 0, width = 300, height = 300; in main() local
14 PetscCall(PetscDrawCreate(PETSC_COMM_WORLD, 0, "Title", x, y, width, height, &draw)); in main()
37 PetscCall(PetscDrawGetWindowSize(draw, &width, &height)); in main()
H A Dex9.c11 int n = 20, i, x = 0, y = 0, width = 400, height = 300, bins = 8; in main() local
30 PetscCall(PetscCIntCast(w, &width)); in main()
41 PetscCall(PetscDrawCreate(PETSC_COMM_WORLD, 0, "Title", x, y, width, height, &draw)); in main()
/petsc/src/dm/impls/stag/tests/output/
H A Dex16_1.out6 Elementwise ghost stencil: BOX, width 1
17 Elementwise ghost stencil: BOX, width 1
28 Elementwise ghost stencil: BOX, width 1
H A Dex16_4.out6 Elementwise ghost stencil: BOX, width 1
20 Elementwise ghost stencil: BOX, width 1
34 Elementwise ghost stencil: BOX, width 1
H A Dex16_2.out7 Elementwise ghost stencil: BOX, width 1
21 Elementwise ghost stencil: BOX, width 1
35 Elementwise ghost stencil: BOX, width 1
H A Dex16_7.out6 Elementwise ghost stencil: BOX, width 1
23 Elementwise ghost stencil: BOX, width 1
40 Elementwise ghost stencil: BOX, width 1
H A Dex42_dim-2.out7 Elementwise ghost stencil: BOX, width 1
42 Elementwise ghost stencil: BOX, width 1
82 Elementwise ghost stencil: BOX, width 1
111 Elementwise ghost stencil: BOX, width 1
/petsc/src/sys/classes/random/impls/random123/
H A Drandom123.c73 re = re * PetscRealPart(r->width) + PetscRealPart(r->low); in PetscRandomGetValue_Random123()
74 im = im * PetscImaginaryPart(r->width) + PetscImaginaryPart(r->low); in PetscRandomGetValue_Random123()
81 if (r->iset) rscal = rscal * r->width + r->low; in PetscRandomGetValue_Random123()
94 if (r->iset) rreal = rreal * PetscRealPart(r->width) + PetscRealPart(r->low); in PetscRandomGetValueReal_Random123()
118 scale *= PetscRealPart(r->width); in PetscRandomGetValuesReal_Random123()
119 shift *= PetscRealPart(r->width); in PetscRandomGetValuesReal_Random123()
/petsc/src/vec/is/sf/tests/
H A Dex20.c10 PetscInt height = 2, width = 3, nroots = height, nleaves, dim = 2; in main() local
19 nleaves = (width - (rank == 0) - (rank == size - 1)) * height; in main()
24 for (PetscInt j = 0, l = 0; j < width; j++) { in main()
/petsc/doc/community/meetings/2024/
H A Dindex.md15 :width: 800
36 :width: 800
40 :width: 800

123456789