Home
last modified time | relevance | path

Searched refs:MatSetValues (Results 1 – 25 of 793) sorted by relevance

12345678910>>...32

/dports/science/PETSc/petsc-3.14.1/src/mat/tests/
H A Dex226.c45 …if (i>0) {J = global_index(i-1,j,k,m,n); ierr = MatSetValues(A,1,&Ii,1,&J,&v,INSERT_VALUES);CHKE… in main()
46 …if (i<m-1) {J = global_index(i+1,j,k,m,n); ierr = MatSetValues(A,1,&Ii,1,&J,&v,INSERT_VALUES);CHKE… in main()
47 …if (j>0) {J = global_index(i,j-1,k,m,n); ierr = MatSetValues(A,1,&Ii,1,&J,&v,INSERT_VALUES);CHKE… in main()
49 v = 4.0; ierr = MatSetValues(A,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
67 v = 8.0; ierr = MatSetValues(A,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
85 v = 8.0; ierr = MatSetValues(A,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
107 v = 12.0; ierr = MatSetValues(A,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
124 v = 6.0; ierr = MatSetValues(A,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
146 v = 12.0; ierr = MatSetValues(A,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
176 v = 18.0; ierr = MatSetValues(A,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
[all …]
H A Dex10.c27 if (i>0) {J = Ii - n; ierr = MatSetValues(C,1,&Ii,1,&J,&v,INSERT_VALUES);CHKERRQ(ierr);} in main()
28 if (i<m-1) {J = Ii + n; ierr = MatSetValues(C,1,&Ii,1,&J,&v,INSERT_VALUES);CHKERRQ(ierr);} in main()
29 if (j>0) {J = Ii - 1; ierr = MatSetValues(C,1,&Ii,1,&J,&v,INSERT_VALUES);CHKERRQ(ierr);} in main()
30 if (j<n-1) {J = Ii + 1; ierr = MatSetValues(C,1,&Ii,1,&J,&v,INSERT_VALUES);CHKERRQ(ierr);} in main()
31 v = 4.0; ierr = MatSetValues(C,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
39 if (i>0) {J = Ii - n; ierr = MatSetValues(C,1,&Ii,1,&J,&v,INSERT_VALUES);CHKERRQ(ierr);} in main()
40 if (i<m-1) {J = Ii + n; ierr = MatSetValues(C,1,&Ii,1,&J,&v,INSERT_VALUES);CHKERRQ(ierr);} in main()
41 if (j>0) {J = Ii - 1; ierr = MatSetValues(C,1,&Ii,1,&J,&v,INSERT_VALUES);CHKERRQ(ierr);} in main()
42 if (j<n-1) {J = Ii + 1; ierr = MatSetValues(C,1,&Ii,1,&J,&v,INSERT_VALUES);CHKERRQ(ierr);} in main()
43 v = -4.0; ierr = MatSetValues(C,1,&Ii,1,&Ii,&v,INSERT_VALUES);CHKERRQ(ierr); in main()
/dports/science/PETSc/petsc-3.14.1/src/ksp/ksp/tests/
H A Dex17.c106 ierr = MatSetValues(A,1,&i,3,col,val,INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
109 ierr = MatSetValues(A,1,&i,2,col,val,INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
111 ierr = MatSetValues(A,1,&i,2,col,val,INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
116 ierr = MatSetValues(A,1,&i,4,col,val,INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
119 ierr = MatSetValues(A,1,&i,3,col,val,INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
121 ierr = MatSetValues(A,1,&i,3,col,&val[1],INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
132 ierr = MatSetValues(A,1,&i,4,col,val,INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
134 ierr = MatSetValues(A,1,&i,3,col,val,INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
136 ierr = MatSetValues(A,1,&i,2,col,val,INSERT_VALUES);CHKERRQ(ierr); in FormTestMatrix()
170 ierr = MatSetValues(A,1,&Ii,1,&Ii,val,ADD_VALUES);CHKERRQ(ierr); in FormTestMatrix()
[all …]
/dports/science/PETSc/petsc-3.14.1/src/mat/tests/output/
H A Dex37_nsize-2_mat_type-baij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-mpibaij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-sbaij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-mpibaij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-sbaij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-baij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-mpisbaij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-mpisbaij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-sbaij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-mpisbaij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-sbaij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-baij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-mpibaij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-mpisbaij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-aij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-baij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-mpibaij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-mpiaij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-mpiaij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-aij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-1_mat_type-aij_mat_block_size-2.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]
H A Dex37_nsize-2_mat_type-aij_mat_block_size-1.out17 total number of mallocs used during MatSetValues calls=0
23 total number of mallocs used during MatSetValues calls=0
29 total number of mallocs used during MatSetValues calls=0
35 total number of mallocs used during MatSetValues calls=0
41 total number of mallocs used during MatSetValues calls=0
47 total number of mallocs used during MatSetValues calls=0
53 total number of mallocs used during MatSetValues calls=0
59 total number of mallocs used during MatSetValues calls=0
65 total number of mallocs used during MatSetValues calls=0
71 total number of mallocs used during MatSetValues calls=0
[all …]

12345678910>>...32