Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 267) sorted by relevance

1234567891011

/petsc/src/dm/impls/plex/
H A Dgmshlex.h51 #define index(i) SI1(p, i) in GmshLexOrder_SEG() macro
57 lex[index(0)] = node++; in GmshLexOrder_SEG()
58 lex[index(p)] = node++; in GmshLexOrder_SEG()
61 loop1(i) lex[index(i)] = node++; in GmshLexOrder_SEG()
64 #undef index in GmshLexOrder_SEG()
71 #define index(i, j) SI2(p, i, j) in GmshLexOrder_TRI() macro
77 lex[index(0, 0)] = node++; in GmshLexOrder_TRI()
78 lex[index(p, 0)] = node++; in GmshLexOrder_TRI()
79 lex[index(0, p)] = node++; in GmshLexOrder_TRI()
82 loop1(i) lex[index(i, 0)] = node++; in GmshLexOrder_TRI()
[all …]
/petsc/include/
H A Dpetscbt.h11 static inline size_t PetscBTIndex_Internal(PetscCount index) in PetscBTIndex_Internal() argument
13 return (size_t)index / PETSC_BITS_PER_BYTE; in PetscBTIndex_Internal()
16 static inline PetscByte PetscBTMask_Internal(PetscCount index) in PetscBTMask_Internal() argument
18 return (PetscByte)(1 << index % PETSC_BITS_PER_BYTE); in PetscBTMask_Internal()
46 static inline PetscByte PetscBTLookup(PetscBT array, PetscCount index) in PetscBTLookup() argument
48 return array[PetscBTIndex_Internal(index)] & PetscBTMask_Internal(index); in PetscBTLookup()
51 static inline PetscErrorCode PetscBTSet(PetscBT array, PetscCount index) in PetscBTSet() argument
54 array[PetscBTIndex_Internal(index)] |= PetscBTMask_Internal(index); in PetscBTSet()
58 static inline PetscErrorCode PetscBTNegate(PetscBT array, PetscCount index) in PetscBTNegate() argument
61 array[PetscBTIndex_Internal(index)] ^= PetscBTMask_Internal(index); in PetscBTNegate()
[all …]
/petsc/doc/manualpages/
H A DDataManagement.md6 DM/index
7 DMDA/index
8 DMStag/index
9 DMPlex/index
10 DMNetwork/index
11 DMForest/index
12 DMPatch/index
13 DMSwarm/index
14 DMMOAB/index
15 DMLabel/index
[all …]
H A DDiscretization.md6 DT/index
7 SPACE/index
8 DUALSPACE/index
9 FE/index
10 FV/index
11 PF/index
12 LANDAU/index
H A DSystem.md6 Sys/index
7 PetscH/index
8 Log/index
9 Device/index
10 Matlab/index
11 Bag/index
12 BM/index
H A DMatrix.md6 Mat/index
7 MatGraphOperations/index
8 MatFD/index
H A DDataLayout.md6 PetscSF/index
7 PetscSection/index
8 AO/index
/petsc/src/dm/impls/plex/tests/
H A Dex69.c662 remote[0].index = 1; in CreateQuadMesh1()
665 remote[1].index = 1; in CreateQuadMesh1()
668 remote[2].index = 1; in CreateQuadMesh1()
671 remote[3].index = 5; in CreateQuadMesh1()
674 remote[4].index = 7; in CreateQuadMesh1()
682 remote[0].index = 1; in CreateQuadMesh1()
685 remote[1].index = 2; in CreateQuadMesh1()
688 remote[2].index = 5; in CreateQuadMesh1()
696 remote[0].index = 1; in CreateQuadMesh1()
699 remote[1].index = 3; in CreateQuadMesh1()
[all …]
H A Dex96.c17 PetscExodusIIInt index = -1; in main() local
82 PetscCall(PetscViewerExodusIIGetNodalVariableIndex(viewer, varNames[i], &index)); in main()
83 …scPrintf(PETSC_COMM_WORLD, " Nodal variable %d: %s, index in file %d\n", i, varNames[i], index)); in main()
86 PetscCall(PetscViewerExodusIIGetNodalVariableIndex(viewer, testNames[i], &index)); in main()
87 …cPrintf(PETSC_COMM_WORLD, " Nodal variable %d: %s, index in file %d\n", i, testNames[i], index)); in main()
93 PetscCall(PetscViewerExodusIIGetZonalVariableIndex(viewer, varNames[i], &index)); in main()
94 …scPrintf(PETSC_COMM_WORLD, " Zonal variable %d: %s, index in file %d\n", i, varNames[i], index)); in main()
97 PetscCall(PetscViewerExodusIIGetZonalVariableIndex(viewer, testNames[i], &index)); in main()
98 …cPrintf(PETSC_COMM_WORLD, " Zonal variable %d: %s, index in file %d\n", i, testNames[i], index)); in main()
H A Dex95.c17 PetscExodusIIInt index = -1; in main() local
84 PetscCall(PetscViewerExodusIIGetNodalVariableIndex(viewer, varName, &index)); in main()
85 …(PetscPrintf(PETSC_COMM_WORLD, " Nodal variable %d: %s, index in file %d\n", i, varName, index)); in main()
88 PetscCall(PetscViewerExodusIIGetNodalVariableIndex(viewer, testNames[i], &index)); in main()
89 …cPrintf(PETSC_COMM_WORLD, " Nodal variable %d: %s, index in file %d\n", i, testNames[i], index)); in main()
95 PetscCall(PetscViewerExodusIIGetZonalVariableIndex(viewer, varName, &index)); in main()
96 …(PetscPrintf(PETSC_COMM_WORLD, " Zonal variable %d: %s, index in file %d\n", i, varName, index)); in main()
99 PetscCall(PetscViewerExodusIIGetZonalVariableIndex(viewer, testNames[i], &index)); in main()
100 …cPrintf(PETSC_COMM_WORLD, " Zonal variable %d: %s, index in file %d\n", i, testNames[i], index)); in main()
/petsc/src/ts/tutorials/
H A Dextchem.py23index('Temp')],v[i][names.index('CH4')],v[i][names.index('O2')],v[i][names.index('N2')],v[i][names…
/petsc/src/dm/impls/plex/tests/output/
H A Dex95_0.out46 Nodal variable 0: U_x, index in file 0
47 Nodal variable 1: U_y, index in file 1
48 Nodal variable 2: Alpha, index in file 2
49 Nodal variable 3: Beta, index in file 3
50 Nodal variable 0: U, index in file 0
51 Nodal variable 1: Sigma, index in file -1
52 Nodal variable 2: Gamma, index in file -1
54 Zonal variable 0: Sigma_11, index in file 0
55 Zonal variable 1: Sigma_12, index in file 1
56 Zonal variable 2: Sigma_22, index in file 2
[all …]
H A Dex96_0.out46 Nodal variable 0: U_x, index in file 0
47 Nodal variable 1: U_y, index in file 1
48 Nodal variable 2: Alpha, index in file 2
49 Nodal variable 3: Beta, index in file 3
50 Nodal variable 0: U, index in file 0
51 Nodal variable 1: Sigma, index in file -1
52 Nodal variable 2: Gamma, index in file -1
54 Zonal variable 0: Sigma_11, index in file 0
55 Zonal variable 1: Sigma_12, index in file 1
56 Zonal variable 2: Sigma_22, index in file 2
[all …]
/petsc/systems/Apple/OSX/bin/
H A Dmakedocs41 <File>index.html</File>
46 <File>index.html</File>
51 <File>index.html</File>
56 <File>index.html</File>
61 <File>index.html</File>
66 <File>index.html</File>
71 <File>index.html</File>
76 <File>index.html</File>
81 <File>index.html</File>
86 <File>index.html</File>
[all …]
/petsc/systems/Apple/iOS/bin/
H A Dmakedocs41 <File>index.html</File>
46 <File>index.html</File>
51 <File>index.html</File>
56 <File>index.html</File>
61 <File>index.html</File>
66 <File>index.html</File>
71 <File>index.html</File>
76 <File>index.html</File>
81 <File>index.html</File>
86 <File>index.html</File>
[all …]
/petsc/src/sys/yaml/src/
H A Dloader.c30 int index, yaml_char_t *anchor);
258 int index, yaml_char_t *anchor) in yaml_parser_register_anchor() argument
266 data.index = index; in yaml_parser_register_anchor()
267 data.mark = parser->document->nodes.start[index-1].start_mark; in yaml_parser_register_anchor()
293 int index) in yaml_parser_load_node_add() argument
310 if (!PUSH(parser, parent->data.sequence.items, index)) in yaml_parser_load_node_add()
318 p->value = index; in yaml_parser_load_node_add()
323 pair.key = index; in yaml_parser_load_node_add()
354 return yaml_parser_load_node_add(parser, ctx, alias_data->index); in yaml_parser_load_alias()
372 int index; in yaml_parser_load_scalar() local
[all …]
/petsc/share/petsc/matlab/
H A DUFgetPetscMat.m4 % (1) gets the selected index file of the UF sparse matrix collection,
13 index = UFget; variable
16 f = find (index.nrows == index.ncols & index.nrows > 940000 & index.isReal) ;
17 [y, j] = sort (index.nrows (f)) ;
24 index.Group {i}, filesep, index.Name {i}) ;
25 Problem = UFget (i,index) ;
/petsc/doc/tutorials/
H A Dindex.md19 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/index.html">Linear problems</a>
21 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/index.html">Nonlinear problems</a>
23 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/index.html">Time integration</a>
27 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/leastsquares/tutorials/index.html">Least-squares…
28 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/quadratic/tutorials/index.html">Quadratic</a> (M…
29 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/unconstrained/tutorials/index.html">Unconstraine…
30 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/bound/tutorials/index.html">Bound</a> (Manual: {…
31 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/tutorials/index.html">Constrained</a…
32 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/complementarity/tutorials/index.html">Complement…
33 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/pde_constrained/tutorials/index.html">PDE constr…
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmda.pxi268 def __getitem__(self, index): argument
270 index = adjust_index_exp(self.starts, index)
271 return self.array[index]
273 def __setitem__(self, index, value): argument
275 index = adjust_index_exp(self.starts, index)
276 self.array[index] = value
289 cdef object adjust_index_exp(object starts, object index): argument
290 if not isinstance(index, tuple):
291 return adjust_index(starts[0], index)
292 index = list(index)
[all …]
H A DIS.pyx4 """The index set types."""
15 IS objects are used to index into vectors and matrices and to set up vector
57 """Display the index set.
76 """Destroy the index set.
110 """Set the type of the index set.
117 The index set type.
129 """Return the index set type associated with the IS.
176 """Create a blocked index set.
210 """Create an index set consisting of evenly spaced values.
217 The length of the locally owned portion of the index set.
[all …]
/petsc/src/vec/vec/tests/output/
H A Dex21_1.out6 Maximum value 2. index 4 (no index 2.)
7 Minimum value 0. index 0 (no index 0.)
H A Dex21_2.out9 Maximum value 2. index 4 (no index 2.)
10 Minimum value 0. index 0 (no index 0.)
H A Dex37_2.out4 (max-b) = 7.200320 : index = 3
5 (min-b) = 0.100223 : index = 5
6 (max-X) = 7.200320 : index = 9
7 (min-X) = 0.100223 : index = 11
81 (max-X) = 18.000000 : index = 8
82 (min-X) = 0.000000 : index = 0
/petsc/src/sys/tests/
H A Dex7.c8 PetscInt x[] = {39, 9, 39, 39, 29}, index[5]; in main() local
14 for (i = 0; i < 5; i++) index[i] = i; in main()
15 PetscCall(PetscSortIntWithPermutation(5, x, index)); in main()
16 … " %" PetscInt_FMT " %" PetscInt_FMT " %" PetscInt_FMT "\n", x[i], index[i], x[index[i]])); in main()
/petsc/src/ksp/pc/tests/output/
H A Dex6_1.out1 flg == 1 => both index sets are same
18 flg == 1 => both index sets are same
35 flg == 1 => both index sets are same
52 flg == 1 => both index sets are same
69 flg == 1 => both index sets are same
86 flg == 1 => both index sets are same
103 flg == 1 => both index sets are same
120 flg == 1 => both index sets are same
137 flg == 1 => both index sets are same

1234567891011