Home
last modified time | relevance | path

Searched refs:three (Results 1 – 25 of 72) sorted by relevance

123

/petsc/src/mat/tests/
H A Dex209f.F9012 PetscInt three, one
19 three = 3
20 PetscCallA(MatSetSizes(A, three, three, three, three, ierr))
21 PetscCallA(MatSetBlockSize(A, three, ierr))
27 allocate (km(three, three))
34 …PetscCallA(MatSetValuesBlocked(A, one, idxm, one, idxm, reshape(km, [three*three]), ADD_VALUES, ie…
H A Dex262f.F909 PetscInt three, one
19 three = 3
20 PetscCallA(MatSetSizes(A, three, three, PETSC_DECIDE, PETSC_DECIDE, ierr))
21 PetscCallA(MatSetBlockSize(A, three, ierr))
26 allocate (km(three, three))
32 … PetscCallA(MatSetValues(B, one, idxm, one, idxmj, reshape(km, [three*three]), ADD_VALUES, ierr))
H A Dex144.c20 PetscScalar two = 4.0, three = 8.0, four = 16.0; in main() local
75 PetscCall(VecSetValues(fin, 1, &i, &three, INSERT_VALUES)); in main()
H A Dex157.c14 PetscScalar one = 1, two = 2, three = 3; in main() local
/petsc/src/dm/impls/plex/tutorials/
H A Dex13.c8 PetscInt extent[3] = {1, 1, 1}, refine = 0, layers = 0, three; in main() local
17 …ent", "Number of replicas for each of three dimensions", NULL, extent, (three = 3, &three), NULL)); in main()
19 …ch of three dimensions", NULL, DMBoundaryTypes, (PetscEnum *)periodic, (three = 3, &three), NULL)); in main()
/petsc/src/mat/tutorials/
H A Dex17f.F9020 PetscInt, parameter :: zero = 0, one = 1, two = 2, three = 3
47 PetscCallA(MatSeqAIJSetPreallocation(A, three, PETSC_NULL_INTEGER_ARRAY, ierr))
48 …PetscCallA(MatMPIAIJSetPreallocation(A, three, PETSC_NULL_INTEGER_ARRAY, two, PETSC_NULL_INTEGER_A…
49 PetscCallA(MatSeqBAIJSetPreallocation(A, one, three, PETSC_NULL_INTEGER_ARRAY, ierr))
50 …PetscCallA(MatMPIBAIJSetPreallocation(A, one, three, PETSC_NULL_INTEGER_ARRAY, two, PETSC_NULL_INT…
63 PetscCallA(MatSetValues(A, one, [i], three, cols, vals, INSERT_VALUES, ierr))
H A Dex15f.F9016 PetscInt, parameter :: one = 1, two = 2, three = 3
24 PetscCallA(MatSeqAIJSetPreallocation(A, three, PETSC_NULL_INTEGER_ARRAY, ierr))
25 …PetscCallA(MatMPIAIJSetPreallocation(A, three, PETSC_NULL_INTEGER_ARRAY, two, PETSC_NULL_INTEGER_A…
49 PetscCallA(MatSetValues(A, one, [r], three, cols, vals, INSERT_VALUES, ierr))
/petsc/src/vec/vec/tests/
H A Dex40f90.F907 PetscInt pStart, pEnd, p, three
10 three = 3
18 PetscCallA(PetscSectionSetDof(section, p, three, ierr))
H A Dex3.c10 PetscScalar one = 1.0, two = 2.0, three = 3.0; in main() local
32 PetscCall(VecSetValues(y, 1, &idx, &three, INSERT_VALUES)); in main()
39 PetscCall(VecSetValues(y, 1, &idx, &three, INSERT_VALUES)); in main()
H A Dex19f.F9014 PetscScalar one, two, three, dot
22 three = 3.0
54 PetscCallA(VecAXPY(y, three, x, ierr))
/petsc/src/ksp/ksp/tests/
H A Dex54f.F9018 PetscInt one, three
22 three = 3
24 PetscCallA(MatSetSizes(mtx, PETSC_DECIDE, PETSC_DECIDE, DMS, three, ierr))
55 PetscCallA(VecSetSizes(PTCX, PETSC_DECIDE, three, ierr))
/petsc/src/sys/tutorials/
H A Dex5f90.F9041 PetscInt three, int56
53 three = 3
69 …PetscCallA(PetscBagRegisterRealArray(bag, data%rarray, three, 'rarray', 'rarray help message', ier…
74 …PetscCallA(PetscBagRegisterBoolArray(bag, data%tarray, three, 'tarray', 'tarray help message', ier…
/petsc/src/vec/vec/tutorials/
H A Dex1f90.F9022 PetscScalar one, two, three
33 three = 3.0
70 PetscCallA(VecSet(z(3), three, ierr))
109 PetscCallA(VecAXPY(y, three, x, ierr))
158 dots(2) = three
H A Dex20f90.F9023 PetscScalar one, two, three
35 three = 3.0
72 PetscCallA(VecSet(z(3), three, ierr))
111 PetscCallA(VecAXPY(y, three, x, ierr))
160 dots(2) = three
H A Dex1.c18 PetscScalar one = 1.0, two = 2.0, three = 3.0, dots[3], dot; in main() local
55 PetscCall(VecSet(z[2], three)); in main()
88 PetscCall(VecAXPY(y, three, x)); in main()
138 dots[1] = three; in main()
/petsc/src/ksp/ksp/tutorials/
H A Dex45f.F90108 PetscInt one, three
114 three = 3
118 …SC_COMM_WORLD, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, DMDA_STENCIL_STAR, three, three, PETSC_DECIDE, …
H A Dex42-mgfs.opts9 ## Set three blocks for fieldsplit - u,v,w,p
H A Dex42-mgfs2.opts9 ## Set three blocks for fieldsplit - u,v,w,p
/petsc/src/ts/tutorials/
H A Dex22f.F90207 PetscReal one, two, three, four, six, twelve
213 three = 3.0
222 third = one/three
223 twothird = two/three
H A Dex22f_mf.F90236 PetscReal one, two, three, four, six, twelve
242 three = 3.0
250 third = one/three
251 twothird = two/three
/petsc/doc/tutorials/meshing/
H A Dguide_to_subsurface.md18 We can see that there are two 3-cells, meaning three-dimensional cells, and from the `celltype` lab…
49 We can similarly look at this in parallel. Test 2 uses three refinements and three extrusion layers…
/petsc/src/tao/unconstrained/tutorials/
H A Deptorsion3.c260 PetscReal hx = user->hx, hy = user->hy, area, three = 3.0, p5 = 0.5; in FormFunction() local
262 PetscReal v, cdiv3 = user->param / three; in FormFunction()
330 PetscReal zero = 0.0, p5 = 0.5, three = 3.0, area, val; in FormGradient() local
334 PetscReal v, cdiv3 = user->param / three; in FormGradient()
H A Deptorsion1.c244 PetscReal hx = user->hx, hy = user->hy, area, three = 3.0, p5 = 0.5; in FormFunction() local
246 PetscReal v, cdiv3 = user->param / three; in FormFunction()
314 PetscReal zero = 0.0, p5 = 0.5, three = 3.0, area, val; in FormGradient() local
318 PetscReal v, cdiv3 = user->param / three; in FormGradient()
/petsc/src/tao/complementarity/tutorials/
H A Dminsurf1.c428 PetscReal one = 1.0, two = 2.0, three = 3.0, tol = 1e-10; in MSA_BoundaryConditions() local
475 nf1 = u1 + u1 * u2 * u2 - u1 * u1 * u1 / three - xt; in MSA_BoundaryConditions()
476 nf2 = -u2 - u1 * u1 * u2 + u2 * u2 * u2 / three - yt; in MSA_BoundaryConditions()
/petsc/doc/manual/
H A Dversionchecking.md6 is defined in `$PETSC_DIR/include/petscversion.h` with the three macros

123