Searched refs:NORM_1_AND_2 (Results 1 – 15 of 15) sorted by relevance
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pvecimpl.h | 159 case NORM_1_AND_2: in VecNorm_MPI_Default() 175 … || type == NORM_FROBENIUS || type == NORM_1_AND_2) z[type == NORM_1_AND_2] = PetscSqrtReal(z[type… in VecNorm_MPI_Default()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex28.c | 112 PetscCall(VecNormBegin(x, NORM_1_AND_2, result)); in main() 115 PetscCall(VecNormEnd(x, NORM_1_AND_2, result)); in main() 119 PetscCall(VecNorm(x, NORM_1_AND_2, resulta)); in main()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Const.pyx | 137 NORM_1_AND_2 = PETSC_NORM_1_AND_2 variable in NormType 144 N12 = NORM_1_AND_2
|
| H A D | petscdef.pxi | 31 PETSC_NORM_1_AND_2 "NORM_1_AND_2"
|
| H A D | Vec.pyx | 2097 A 2-tuple is returned if `NormType.NORM_1_AND_2` is specified.
|
| H A D | Mat.pyx | 4212 A 2-tuple is returned if `NormType.NORM_1_AND_2` is specified.
|
| /petsc/src/vec/vec/utils/ |
| H A D | comb.c | 504 …if (sr->numopsbegin >= sr->maxops || (sr->numopsbegin == sr->maxops - 1 && ntype == NORM_1_AND_2))… in VecNormBegin() 511 if (ntype == NORM_1_AND_2) lresult[1] = lresult[1] * lresult[1]; in VecNormBegin() 515 if (ntype == NORM_1_AND_2) { in VecNormBegin() 557 else if (ntype == NORM_1_AND_2) { in VecNormEnd() 561 …if (ntype != NORM_1_AND_2) PetscCall(PetscObjectComposedDataSetReal((PetscObject)x, NormIds[ntype]… in VecNormEnd()
|
| /petsc/src/vec/vec/impls/seq/ |
| H A D | bvec2.c | 202 PetscCallBLAS("BLASnrm2", ztmp[type == NORM_1_AND_2] = BLASnrm2_(&bn, xx, &one)); in VecNorm_Seq() 204 …PetscCallBLAS("BLASdot", ztmp[type == NORM_1_AND_2] = PetscSqrtReal(PetscRealPart(BLASdot_(&bn, xx… in VecNorm_Seq() 217 } else if (type == NORM_1 || type == NORM_1_AND_2) { in VecNorm_Seq() 228 if (type == NORM_1_AND_2) goto NORM_1_AND_2_DOING_NORM_2; in VecNorm_Seq() 233 if (type == NORM_1_AND_2) z[1] = ztmp[1]; in VecNorm_Seq()
|
| /petsc/src/mat/utils/ |
| H A D | getcolv.c | 93 … NORM_1 || type == NORM_FROBENIUS || type == NORM_INFINITY || type == NORM_1_AND_2, PetscObjectCom… in MatGetColumnNorms()
|
| /petsc/src/vec/vec/impls/mpi/mpiviennacl/ |
| H A D | mpiviennacl.cxx | 54 } else if (type == NORM_1_AND_2) { in VecNorm_MPIViennaCL()
|
| /petsc/src/vec/vec/impls/seq/seqviennacl/ |
| H A D | vecviennacl.cxx | 859 } else if (type == NORM_1_AND_2) { in VecNorm_SeqViennaCL() 873 } else if (type == NORM_1_AND_2) { in VecNorm_SeqViennaCL()
|
| /petsc/src/vec/vec/interface/ |
| H A D | rvector.c | 232 …if (type != NORM_1_AND_2) PetscCall(PetscObjectComposedDataSetReal((PetscObject)x, NormIds[type], … in VecNorm() 266 if (type == NORM_1_AND_2) { in VecNormAvailable()
|
| /petsc/include/ |
| H A D | petscvec.h | 185 NORM_1_AND_2 = 4 enumerator
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 1646 case NORM_1_AND_2: in Norm() 1676 z[type == NORM_1_AND_2] = 0.0; in Norm()
|
| /petsc/src/vec/vec/impls/seq/kokkos/ |
| H A D | veckok.kokkos.cxx | 1058 if (type == NORM_1_AND_2) { in VecNorm_SeqKokkos()
|