Home
last modified time | relevance | path

Searched refs:NORM_1_AND_2 (Results 1 – 15 of 15) sorted by relevance

/petsc/src/vec/vec/impls/mpi/
H A Dpvecimpl.h159 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 Dex28.c112 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 DConst.pyx137 NORM_1_AND_2 = PETSC_NORM_1_AND_2 variable in NormType
144 N12 = NORM_1_AND_2
H A Dpetscdef.pxi31 PETSC_NORM_1_AND_2 "NORM_1_AND_2"
H A DVec.pyx2097 A 2-tuple is returned if `NormType.NORM_1_AND_2` is specified.
H A DMat.pyx4212 A 2-tuple is returned if `NormType.NORM_1_AND_2` is specified.
/petsc/src/vec/vec/utils/
H A Dcomb.c504 …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 Dbvec2.c202 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 Dgetcolv.c93 … 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 Dmpiviennacl.cxx54 } else if (type == NORM_1_AND_2) { in VecNorm_MPIViennaCL()
/petsc/src/vec/vec/impls/seq/seqviennacl/
H A Dvecviennacl.cxx859 } 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 Drvector.c232 …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 Dpetscvec.h185 NORM_1_AND_2 = 4 enumerator
/petsc/src/vec/vec/impls/seq/cupm/
H A Dvecseqcupm_impl.hpp1646 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 Dveckok.kokkos.cxx1058 if (type == NORM_1_AND_2) { in VecNorm_SeqKokkos()