Home
last modified time | relevance | path

Searched refs:NormType (Results 1 – 25 of 76) sorted by relevance

1234

/petsc/src/vec/vec/impls/mpi/
H A Dpvecimpl.h87 PETSC_INTERN PetscErrorCode VecNorm_MPI(Vec, NormType, PetscReal *);
151 …ErrorCode VecNorm_MPI_Default(Vec xin, NormType type, PetscReal *z, PetscErrorCode (*VecNorm_SeqFn… in VecNorm_MPI_Default() argument
179NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_max, Pe… in VecErrorWeightedNorms_MPI_Default() argument
H A Dpvec2.c49 PetscErrorCode VecNorm_MPI(Vec xin, NormType type, PetscReal *z) in VecNorm_MPI()
/petsc/src/binding/petsc4py/test/
H A Dtest_vec.py50 n1 = self.vec.norm(PETSc.NormType.NORM_1)
51 n2 = self.vec.norm(PETSc.NormType.NORM_2)
52 ni = self.vec.norm(PETSc.NormType.NORM_INFINITY)
57 self.vec.normBegin(PETSc.NormType.NORM_1)
58 nn1 = self.vec.normEnd(PETSc.NormType.NORM_1)
63 self.vec.normBegin(PETSc.NormType.NORM_INFINITY)
64 nni = self.vec.normEnd(PETSc.NormType.NORM_INFINITY)
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DConst.pyx115 class NormType(object): class
131 petsc.NormType
H A Dpetscdef.pxi28 ctypedef enum PetscNormType "NormType":
/petsc/src/binding/petsc4py/demo/python_types/
H A Dmatpython_protocol.py6 from petsc4py.PETSc import NormType
132 def norm(self, A: Mat, normtype: NormType) -> float: argument
/petsc/src/vec/vec/impls/mpi/cupm/
H A Dvecmpicupm.hpp44 static PetscErrorCode Norm(Vec, NormType, PetscReal *) noexcept;
53 …static PetscErrorCode ErrorWnorm(Vec, Vec, Vec, NormType, PetscReal, Vec, PetscReal, Vec, PetscRea…
H A Dvecmpicupm_impl.hpp168 inline PetscErrorCode VecMPI_CUPM<T>::Norm(Vec v, NormType type, PetscReal *z) noexcept in Norm()
176 inline PetscErrorCode VecMPI_CUPM<T>::ErrorWnorm(Vec U, Vec Y, Vec E, NormType wnormtype, PetscReal… in ErrorWnorm()
/petsc/src/snes/impls/tr/
H A Dtrimpl.h41 NormType norm;
/petsc/src/binding/petsc4py/src/petsc4py/
H A Dtyping.py19 NormType,
193 NormTypeSpec: TypeAlias = NormType | None
/petsc/src/tao/matrix/
H A Dsubmatfree.h31 PetscErrorCode MatNorm_SMF(Mat, NormType, PetscReal *);
/petsc/include/
H A Dpetscvec.h186 } NormType; typedef
299 PETSC_EXTERN PetscErrorCode VecNorm(Vec, NormType, PetscReal *);
300 PETSC_EXTERN PetscErrorCode VecNormAvailable(Vec, NormType, PetscBool *, PetscReal *);
336 PETSC_EXTERN PetscErrorCode VecStrideNormAll(Vec, NormType, PetscReal[]);
343 PETSC_EXTERN PetscErrorCode VecStrideNorm(Vec, PetscInt, NormType, PetscReal *);
537 PETSC_EXTERN PetscErrorCode VecNormBegin(Vec, NormType, PetscReal *);
538 PETSC_EXTERN PetscErrorCode VecNormEnd(Vec, NormType, PetscReal *);
539 PETSC_EXTERN PetscErrorCode VecErrorWeightedNorms(Vec, Vec, Vec, NormType, PetscReal, Vec, PetscRea…
811 PETSC_EXTERN PetscErrorCode PetscSectionVecNorm(PetscSection, PetscSection, Vec, NormType, PetscRea…
/petsc/src/binding/petsc4py/demo/legacy/petsc-examples/ksp/
H A Dex23.py171 norm = x.norm(PETSc.NormType.NORM_2)
H A Dex2.py191 norm = x.norm(PETSc.NormType.NORM_2)
/petsc/src/vec/vec/impls/seq/seqviennacl/
H A Dviennaclvecimpl.h40 PETSC_INTERN PetscErrorCode VecNorm_SeqViennaCL(Vec, NormType, PetscReal *);
/petsc/src/vec/vec/impls/seq/kokkos/
H A Dveckokkosimpl.hpp145 PETSC_INTERN PetscErrorCode VecNorm_SeqKokkos(Vec, NormType, PetscReal *);
146 PETSC_INTERN PetscErrorCode VecErrorWeightedNorms_SeqKokkos(Vec, Vec, Vec, NormType, PetscReal, Vec…
/petsc/src/vec/vec/impls/
H A Ddvecimpl.h54 PETSC_INTERN PetscErrorCode VecNorm_Seq(Vec, NormType, PetscReal *);
/petsc/src/mat/utils/
H A Dgetcolv.c86 PetscErrorCode MatGetColumnNorms(Mat A, NormType type, PetscReal norms[]) in MatGetColumnNorms()
/petsc/include/petsc/private/
H A Dvecimpl.h24 …PetscErrorCode (*norm)(Vec, NormType, PetscReal *); /* z = sqrt(x^H …
57 PetscErrorCode (*norm_local)(Vec, NormType, PetscReal *);
107 …PetscErrorCode (*errorwnorm)(Vec, Vec, Vec, NormType, PetscReal, Vec, PetscReal, Vec, PetscReal, P…
H A Dtsimpl.h42 PetscErrorCode (*evaluatewlte)(TS, NormType, PetscInt *, PetscReal *);
371 NormType wnormtype;
/petsc/src/vec/vec/impls/seq/cupm/
H A Dvecseqcupm.hpp119 static PetscErrorCode Norm(Vec, NormType, PetscReal *) noexcept;
120 …static PetscErrorCode ErrorWnorm(Vec, Vec, Vec, NormType, PetscReal, Vec, PetscReal, Vec, PetscRea…
H A Dvecseqcupm_impl.hpp1633 inline PetscErrorCode VecSeq_CUPM<T>::Norm(Vec xin, NormType type, PetscReal *z) noexcept in Norm()
1684 template <NormType wnormtype>
1711 template <NormType wnormtype>
1738 template <NormType wnormtype>
1763 template <NormType wnormtype>
1801 template <template <NormType> class WNormTransformType, typename Tuple, typename cupmStream_t>
1802 inline PetscErrorCode ExecuteWNorm(Tuple &&first, Tuple &&last, NormType wnormtype, cupmStream_t st… in ExecuteWNorm()
1849 inline PetscErrorCode VecSeq_CUPM<T>::ErrorWnorm(Vec U, Vec Y, Vec E, NormType wnormtype, PetscReal… in ErrorWnorm()
/petsc/src/mat/impls/dense/seq/
H A Ddense.h60 PETSC_INTERN PetscErrorCode MatNorm_SeqDense(Mat, NormType, PetscReal *);
/petsc/src/ksp/ksp/utils/lmvm/tests/
H A Dlmvm_copy_test.c23 static PetscErrorCode VecEqualToTolerance(Vec a, Vec b, NormType norm_type, PetscReal tol, PetscBoo… in VecEqualToTolerance()
/petsc/src/vec/vec/impls/mpi/kokkos/
H A Dmpikok.kokkos.cxx20 static PetscErrorCode VecNorm_MPIKokkos(Vec xin, NormType type, PetscReal *z) in VecNorm_MPIKokkos()
27 static PetscErrorCode VecErrorWeightedNorms_MPIKokkos(Vec U, Vec Y, Vec E, NormType wnormtype, Pets… in VecErrorWeightedNorms_MPIKokkos()

1234