| /petsc/src/mat/tests/ |
| H A D | ex68.c | 11 IS isrow, iscol, identity; in main() local 113 PetscCall(ISCreateStride(PETSC_COMM_SELF, 4, 0, 1, &identity)); in main() 114 PetscCall(MatPermute(B, identity, identity, &C)); in main() 117 PetscCall(ISDestroy(&identity)); in main()
|
| /petsc/src/ts/tests/output/ |
| H A D | ex26_arkimex_explicit_stage.out | 3 … ERROR: This scheme requires an identity mass matrix, however the TSIFunctionFn you provided does …
|
| /petsc/doc/changes/ |
| H A D | 216.md | 51 the identity 53 identity 55 the identity
|
| H A D | 322.md | 93 - Add `PCCompositeSpecialSetAlphaMat()` API to use a matrix other than the identity in
|
| H A D | 313.md | 26 the IS is sorted, unique, a permutation, an interval, or identity)
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex72.c | 11 static void identity(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscI… in identity() function 54 PetscCall(PetscDSSetObjective(ds, 0, identity)); in CreateDiscretization()
|
| H A D | ex73.c | 65 static void identity(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscI… in identity() function 161 PetscCall(PetscDSSetResidual(ds, 0, identity, NULL)); in CreateDiscretization()
|
| /petsc/src/mat/tests/output/ |
| H A D | ex68_1.out | 8 Original matrix permuted by identity 15 Original matrix permuted by identity + NonzeroDiagonal()
|
| /petsc/src/mat/impls/kaij/ |
| H A D | kaij.c | 377 PetscErrorCode MatKAIJGetScaledIdentity(Mat A, PetscBool *identity) in MatKAIJGetScaledIdentity() argument 384 *identity = PETSC_FALSE; in MatKAIJGetScaledIdentity() 386 } else *identity = PETSC_TRUE; in MatKAIJGetScaledIdentity() 388 for (i = 0; i < a->p && *identity; i++) { in MatKAIJGetScaledIdentity() 389 for (j = 0; j < a->p && *identity; j++) { in MatKAIJGetScaledIdentity() 391 if (a->S && PetscAbsScalar(a->S[i + j * a->p]) > PETSC_SMALL) *identity = PETSC_FALSE; in MatKAIJGetScaledIdentity() 392 if (a->T && PetscAbsScalar(a->T[i + j * a->p]) > PETSC_SMALL) *identity = PETSC_FALSE; in MatKAIJGetScaledIdentity() 394 … if (a->S && PetscAbsScalar(a->S[i * (a->p + 1)] - a->S[0]) > PETSC_SMALL) *identity = PETSC_FALSE; in MatKAIJGetScaledIdentity() 395 … if (a->T && PetscAbsScalar(a->T[i * (a->p + 1)] - a->T[0]) > PETSC_SMALL) *identity = PETSC_FALSE; in MatKAIJGetScaledIdentity()
|
| /petsc/doc/developers/contributing/ |
| H A D | index.md | 37 …t](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup) to establish your identity.
|
| /petsc/src/snes/tutorials/ |
| H A D | ex13.c | 386 …void (*identity[1])(PetscInt, PetscInt, PetscInt, const PetscInt[], const PetscInt[], const PetscS… in ComputeAdjoint() local 400 PetscCall(DMProjectField(dm, 0.0, u, identity, INSERT_VALUES, uAdjProj)); in ComputeAdjoint()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | IS.pyx | 573 """Mark the index set as being an identity. 586 """Return whether the index set has been declared as an identity. 988 property identity: 989 """`True` if index set is an identity, `False` otherwise.
|
| H A D | AO.pyx | 172 Another ordering. May be `None` to indicate the identity ordering.
|
| /petsc/src/dm/impls/plex/transform/impls/extrude/ |
| H A D | plextrcohesive.c | 912 PetscBool identity = PETSC_FALSE; in DMPlexTransformCellTransform_Cohesive() local 918 identity = val < 100 && !(val % 2) ? PETSC_TRUE : PETSC_FALSE; in DMPlexTransformCellTransform_Cohesive() 920 if (identity) { in DMPlexTransformCellTransform_Cohesive()
|
| H A D | plextrextrude.c | 756 PetscBool ignore = PETSC_FALSE, identity = PETSC_FALSE; in DMPlexTransformCellTransform_Extrude() local 762 identity = val >= 100 ? PETSC_TRUE : PETSC_FALSE; in DMPlexTransformCellTransform_Extrude() 774 } else if (identity) { in DMPlexTransformCellTransform_Extrude()
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex2.c | 143 static void identity(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscI… in identity() function 166 PetscCall(PetscDSSetJacobian(ds, 0, 0, identity, NULL, NULL, NULL)); in CreateFEM()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexmetric.c | 955 static void identity(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscI… in identity() function 995 funcs[0] = identity; in DMPlexMetricCreateIsotropic()
|
| H A D | plextree.c | 223 DMLabel identity, identityRef; in DMPlexCreateReferenceTree_Union() local 232 PetscCall(DMGetLabel(K, labelName, &identity)); in DMPlexCreateReferenceTree_Union() 446 DMLabel identity; in DMPlexCreateDefaultReferenceTree() local 455 PetscCall(DMGetLabel(K, "identity", &identity)); in DMPlexCreateDefaultReferenceTree() 457 for (p = pStart; p < pEnd; p++) PetscCall(DMLabelSetValue(identity, p, p)); in DMPlexCreateDefaultReferenceTree()
|
| /petsc/src/mat/impls/aij/seq/kokkos/ |
| H A D | aijkok.kokkos.cxx | 1790 PetscBool identity = rowperm.extent(0) ? PETSC_FALSE : PETSC_TRUE; in MatSolve_SeqAIJKokkos_Cholesky() local 1800 if (identity) { // Reorder b with the row permutation in MatSolve_SeqAIJKokkos_Cholesky() 1815 if (identity) { in MatSolve_SeqAIJKokkos_Cholesky() 1823 …if (!identity) PetscCallCXX(Kokkos::parallel_for(Kokkos::RangePolicy<>(exec, 0, m), KOKKOS_LAMBDA(… in MatSolve_SeqAIJKokkos_Cholesky()
|
| /petsc/src/snes/utils/dm/ |
| H A D | dmadapt.c | 1297 static void identity(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscI… in identity() function 1391 PetscCall(PetscDSSetObjective(ds, 0, identity)); in DMAdaptorAdapt_Sequence_Private()
|
| /petsc/doc/manual/ |
| H A D | mat.md | 608 are applied to an identity matrix. 621 - `none` – Sets the initial Jacobian to be equal to the identity 629 identity matrix. The scalar value $\sigma$ is chosen by solving 1084 identity matrix (or some scaling of it). This action can be done with
|
| H A D | ts.md | 47 $A$ is the stiffness matrix, and $B$ is the identity for 354 identity matrix: 1498 if the timestep is position independent and $B$ is the identity
|
| H A D | tao.md | 1763 estimation falls back onto using an identity matrix in place of 2427 dictionary is provided, the dictionary is assumed to be an identity 3015 the quasi-Newton approximation to the identity matrix at the beginning
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | 4862 …hrust(thrust::partition_copy(thrust::device,cci,cce,wPerm->begin(),p1,p2,thrust::identity<int>())); in MatSeqAIJCUSPARSEMergeMats() 4865 auto pred = thrust::identity<int>(); in MatSeqAIJCUSPARSEMergeMats() 4867 auto pred = cuda::std::identity(); in MatSeqAIJCUSPARSEMergeMats()
|
| /petsc/doc/faq/ |
| H A D | index.md | 981 creating a dense matrix B and fill it with the identity matrix (ones along the diagonal),
|