| /petsc/doc/community/ |
| H A D | petsc_team.md | 33 :img-top: https://gitlab.com/uploads/-/system/user/avatar/524115/avatar.png 37 :img-top: https://gitlab.com/uploads/-/system/user/avatar/3919065/avatar.png 41 :img-top: https://gitlab.com/uploads/-/system/user/avatar/500187/avatar.png 45 … :img-top: https://secure.gravatar.com/avatar/5f37aff3d274a0effbf20be82804d012?s=80&d=identicon 49 :img-top: https://gitlab.com/uploads/-/system/user/avatar/1230244/avatar.png 53 … :img-top: https://secure.gravatar.com/avatar/c75a786b2cc0f7866dcda4ed6367d8a5?s=80&d=identicon 57 … :img-top: https://secure.gravatar.com/avatar/77d89568403a82b73d163f477cfb2498?s=80&d=identicon 61 :img-top: /images/community/team/lois.gif 65 :img-top: https://gitlab.com/uploads/-/system/user/avatar/1189493/avatar.png 69 :img-top: /images/community/team/todd.jpg [all …]
|
| /petsc/src/sys/logging/utils/ |
| H A D | stack.c | 44 *empty = stack->top == -1 ? PETSC_TRUE : PETSC_FALSE; in PetscIntStackEmpty() 63 PetscErrorCode PetscIntStackTop(PetscIntStack stack, int *top) in PetscIntStackTop() argument 67 PetscAssertPointer(top, 2); in PetscIntStackTop() 68 *top = stack->stack[stack->top]; in PetscIntStackTop() 89 if (++stack->top >= stack->max) { in PetscIntStackPush() 93 stack->stack[stack->top] = item; in PetscIntStackPush() 116 PetscCheck(stack->top != -1, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Stack is empty"); in PetscIntStackPop() 121 --stack->top; in PetscIntStackPop() 143 (*stack)->top = -1; in PetscIntStackCreate()
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dtext.c | 121 PetscReal top, left, right, bottom, tw, th; in PetscDrawStringBoxed() local 143 top = syl; in PetscDrawStringBoxed() 148 if (h) *h = top - bottom; in PetscDrawStringBoxed() 154 draw->boundbox_yr = PetscMax(draw->boundbox_yr, top); in PetscDrawStringBoxed() 157 PetscCall(PetscDrawLine(draw, left, top, right, top, bc)); in PetscDrawStringBoxed() 158 PetscCall(PetscDrawLine(draw, left, bottom, left, top, bc)); in PetscDrawStringBoxed() 159 PetscCall(PetscDrawLine(draw, right, bottom, right, top, bc)); in PetscDrawStringBoxed() 162 …for (i = 0; i < cnt; i++) PetscCall(PetscDrawString(draw, left + tw, top - (1.5 + i) * th, sc, arr… in PetscDrawStringBoxed()
|
| /petsc/src/sys/yaml/src/ |
| H A D | loader.c | 45 int *top; member 270 alias_data != parser->aliases.top; alias_data ++) { in yaml_parser_register_anchor() 303 parent_index = *((*ctx).top - 1); in yaml_parser_load_node_add() 316 yaml_node_pair_t *p = parent->data.mapping.pairs.top - 1; in yaml_parser_load_node_add() 351 alias_data != parser->aliases.top; alias_data ++) { in yaml_parser_load_alias() 389 index = parser->document->nodes.top - parser->document->nodes.start; in yaml_parser_load_scalar() 415 yaml_node_item_t *top; in yaml_parser_load_sequence() member 436 index = parser->document->nodes.top - parser->document->nodes.start; in yaml_parser_load_sequence() 460 assert(((*ctx).top - (*ctx).start) > 0); in yaml_parser_load_sequence_end() 462 index = *((*ctx).top - 1); in yaml_parser_load_sequence_end() [all …]
|
| H A D | yaml_private.h | 418 yaml_stack_extend(void **start, void **top, void **end); 425 ((stack).top = (stack).start, \ 433 (stack).start = (stack).top = (stack).end = NULL) 436 ((stack).start == (stack).top) 439 ((stack).top - (stack).start < (size) ? \ 445 (((stack).top != (stack).end \ 447 (void **)&(stack).top, (void **)&(stack).end)) ? \ 448 (*((stack).top++) = value, \ 454 (*(--(stack).top)) 618 (document).nodes.top = (document_nodes_start), \ [all …]
|
| H A D | api.c | 97 yaml_stack_extend(void **start, void **top, void **end) in yaml_stack_extend() argument 108 *top = (char *)new_start + ((char *)*top - (char *)*start); in yaml_stack_extend() 415 …if (index > 0 && document->nodes.start + index <= document->nodes.top) return document->nodes.star… in yaml_document_get_node() 428 if (document->nodes.top != document->nodes.start) return document->nodes.start; in yaml_document_get_root_node()
|
| /petsc/src/sys/yaml/include/ |
| H A D | yaml.h | 529 yaml_node_item_t *top; member 544 yaml_node_pair_t *top; member 569 yaml_node_t *top; member 911 int *top; member 927 yaml_simple_key_t *top; member 946 yaml_parser_state_t *top; member 959 yaml_mark_t *top; member 969 yaml_tag_directive_t *top; member 988 yaml_alias_data_t *top; member
|
| /petsc/src/dm/impls/da/ |
| H A D | daltol.c | 18 PetscInt *idx, left, j, count, up, down, i, bottom, top, k, dim = da->dim; in DMLocalToLocalCreate_DA() local 47 top = bottom + dd->ye - dd->ys; in DMLocalToLocalCreate_DA() 50 count = (dd->xe - dd->xs) * (top - bottom) * (up - down); in DMLocalToLocalCreate_DA() 54 for (j = bottom; j < top; j++) { in DMLocalToLocalCreate_DA()
|
| /petsc/src/sys/objects/ |
| H A D | optionsyaml.c | 40 for (yaml_node_pair_t *pair = MAP(node).start; pair < MAP(node).top; pair++) { in PetscParseLayerYAML() 53 for (yaml_node_item_t *item = SEQ(valnode).start; item < SEQ(valnode).top; item++) { in PetscParseLayerYAML() 85 for (yaml_node_item_t *item = SEQ(valnode).start; item < SEQ(valnode).top; item++) { in PetscParseLayerYAML() 97 yaml_node_pair_t *top = itemnode->data.mapping.pairs.top; in PetscParseLayerYAML() local 99 …PetscCheck(top - kvn <= 1, comm, PETSC_ERR_SUP, "Unsupported YAML node value: expected a single ke… in PetscParseLayerYAML() 100 if (top - kvn > 0) { in PetscParseLayerYAML()
|
| H A D | destroy.c | 351 PetscFinalizerContainer top = regfin[--reg_count]; in PetscRunRegisteredFinalizers() local 355 switch (top.type) { in PetscRunRegisteredFinalizers() 357 PetscCall(PetscObjectDestroy(&top.thunk.obj)); in PetscRunRegisteredFinalizers() 360 PetscCall((*top.thunk.fn.func)()); in PetscRunRegisteredFinalizers() 363 PetscCall((*top.thunk.fnctx.func)(top.thunk.fnctx.ctx)); in PetscRunRegisteredFinalizers()
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Styles/ |
| H A D | Report.css | 108 padding-top:10px; 114 margin-top:3px; 123 vertical-align:top; 137 margin-top:0.7em; 143 vertical-align:top; 155 vertical-align:top;
|
| /petsc/src/tao/unconstrained/tutorials/ |
| H A D | minsurf1.c | 23 PetscReal *bottom, *top, *left, *right; /* boundary values */ member 103 PetscCall(PetscFree(user.top)); in main() 171 xt = user->top[i + 1]; in FormFunctionGradient() 172 xlt = user->top[i]; in FormFunctionGradient() 244 d1 = (x[(my - 1) * mx + i] - user->top[i + 1]) * rhy; in FormFunctionGradient() 245 d4 = (user->top[i + 1] - user->top[i]) * rhx; in FormFunctionGradient() 256 d2 = (user->top[mx + 1] - user->top[mx]) * rhx; in FormFunctionGradient() 356 xt = user->top[i + 1]; in QuadraticH() 357 xlt = user->top[i]; in QuadraticH() 489 PetscCall(PetscMalloc1(tsize, &user->top)); in MSA_BoundaryConditions() [all …]
|
| H A D | minsurf2.c | 28 PetscReal *bottom, *top, *left, *right; /* boundary values */ member 141 PetscCall(PetscFree(user.top)); in main() 211 xt = user->top[i - xs + 1]; in FormFunction() 257 d1 = (x[my - 1][i] - user->top[i - xs + 1]) * rhy; in FormFunction() 258 d4 = (user->top[i - xs + 1] - user->top[i - xs]) * rhx; in FormFunction() 269 d2 = (user->top[xm + 1] - user->top[xm]) * rhx; in FormFunction() 351 xt = user->top[i - xs + 1]; in FormFunctionGradient() 352 xlt = user->top[i - xs]; in FormFunctionGradient() 430 d1 = (x[my - 1][i] - user->top[i - xs + 1]) * rhy; in FormFunctionGradient() 431 d4 = (user->top[i - xs + 1] - user->top[i - xs]) * rhx; in FormFunctionGradient() [all …]
|
| /petsc/src/snes/tutorials/ |
| H A D | ex4.c | 28 PetscScalar *bottom, *top, *left, *right; member 145 xt = user->top[i + 1]; in FormObjectiveLocal() 189 d1 = (x[my - 1][i] - user->top[i + 1]) / hy; in FormObjectiveLocal() 190 d4 = (user->top[i + 1] - user->top[i]) / hx; in FormObjectiveLocal() 201 d2 = (user->top[xm + 1] - user->top[xm]) / hx; in FormObjectiveLocal() 248 xt = user->top[i + 1]; in FormFunctionLocal() 249 xlt = user->top[i]; in FormFunctionLocal() 345 xt = user->top[i + 1]; in FormJacobianLocal() 346 xlt = user->top[i]; in FormJacobianLocal() 481 PetscCall(PetscMalloc1(tsize, &user->top)); in FormBoundaryConditions_Enneper() [all …]
|
| H A D | ex23.c | 56 DMLabel top, bottom; in DivideDomain() local 63 PetscCall(DMGetLabel(dm, "top", &top)); in DivideDomain() 73 if (centroid[1] > midy) PetscCall(DMLabelSetValue(top, c, 1)); in DivideDomain() 76 PetscCall(DMPlexLabelComplete(dm, top)); in DivideDomain() 121 DMLabel top; in SetupDiscretization() local 138 PetscCall(DMGetLabel(dm, "top", &top)); in SetupDiscretization() 143 PetscCall(DMSetField(dm, 1, top, (PetscObject)feTop)); in SetupDiscretization()
|
| H A D | ex58.c | 42 PetscScalar *bottom, *top, *left, *right; member 199 xt = ctx->top[i + 1]; in FormGradient() 200 xlt = ctx->top[i]; in FormGradient() 334 xt = ctx->top[i + 1]; in FormJacobian() 335 xlt = ctx->top[i]; in FormJacobian() 491 PetscCall(PetscMalloc1(tsize, &ctx->top)); in FormBoundaryConditions() 508 boundary = ctx->top; in FormBoundaryConditions() 552 PetscCall(PetscFree(ctx->top)); in DestroyBoundaryConditions() 589 …m; i++) x[j][i] = (((j + 1.0) * ctx->bottom[i + 1] + (my - j + 1.0) * ctx->top[i + 1]) / (my + 2.0… in ComputeInitialGuess()
|
| /petsc/src/tao/bound/tutorials/ |
| H A D | plate2.c | 209 PetscReal *g, *x, *left, *right, *bottom, *top; in FormFunctionGradient() local 227 PetscCall(VecGetArray(user->Top, &top)); in FormFunctionGradient() 262 xt = top[i - xs + 1]; in FormFunctionGradient() 263 xlt = top[i - xs]; in FormFunctionGradient() 341 d1 = (x[(gym - 1) * gxm + i - gxs] - top[i - xs + 1]) * rhy; in FormFunctionGradient() 342 d4 = (top[i - xs + 1] - top[i - xs]) * rhx; in FormFunctionGradient() 354 d2 = (top[xm + 1] - top[xm]) * rhx; in FormFunctionGradient() 365 PetscCall(VecRestoreArray(user->Top, &top)); in FormFunctionGradient() 425 PetscReal *x, *left, *right, *bottom, *top; in FormHessian() local 448 PetscCall(VecGetArray(user->Top, &top)); in FormHessian() [all …]
|
| /petsc/src/tao/complementarity/tutorials/ |
| H A D | minsurf1.c | 26 PetscReal *bottom, *top, *left, *right; member 116 PetscCall(PetscFree(user.top)); in main() 185 xt = user->top[i + 1]; in FormConstraints() 186 xlt = user->top[i]; in FormConstraints() 310 xt = user->top[i + 1]; in FormJacobian() 311 xlt = user->top[i]; in FormJacobian() 441 PetscCall(PetscMalloc1(tsize, &user->top)); in MSA_BoundaryConditions() 458 boundary = user->top; in MSA_BoundaryConditions() 533 …x[row] = (((j + 1) * user->bottom[i + 1] + (my - j + 1) * user->top[i + 1]) / (my + 2) + ((i + 1) … in MSA_InitialPoint()
|
| /petsc/src/sys/tutorials/output/ |
| H A D | ex5_1.out | 1 PetscBag Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous… 14 PetscBag Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous…
|
| H A D | ex5_yaml.out | 1 PetscBag Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous… 14 PetscBag Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous…
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | square_quad.msh | 8 1 4 "top"
|
| H A D | gmsh-hex-20node.msh | 11 2 6 "top"
|
| /petsc/doc/manual/anl_tech_report/ |
| H A D | last.inc | 2 \newgeometry{top=0mm, left=0mm, right=0mm, bottom=0mm}
|
| /petsc/src/ts/trajectory/impls/memory/ |
| H A D | trajmemory.c | 91 PetscInt top; member 101 PetscInt top; member 167 if (stack->top < stack->stacksize - 1 && stack->container[stack->top + 1]) { in ElementCreate() 168 *e = stack->container[stack->top + 1]; in ElementCreate() 251 …PetscCheck(stack->top + 1 < stack->stacksize, PETSC_COMM_SELF, PETSC_ERR_MEMC, "Maximum stack size… in StackPush() 252 stack->container[++stack->top] = e; in StackPush() 260 PetscCheck(stack->top != -1, PETSC_COMM_SELF, PETSC_ERR_MEMC, "Empty stack"); in StackPop() 261 *e = stack->container[stack->top--]; in StackPop() 268 *e = stack->container[stack->top]; in StackTop() 275 stack->top = -1; in StackInit() [all …]
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | testharness_util.py | 33 def walktree(top, action, datafilespath=None): argument 40 for root, dirs, files in os.walk(top, topdown=False):
|