Home
last modified time | relevance | path

Searched defs:scale (Results 1 – 25 of 84) sorted by relevance

1234

/petsc/src/ksp/ksp/impls/rich/
H A Drichscale.c19 PetscErrorCode KSPRichardsonSetScale(KSP ksp, PetscReal scale) in KSPRichardsonSetScale()
51 PetscErrorCode KSPRichardsonSetSelfScale(KSP ksp, PetscBool scale) in KSPRichardsonSetSelfScale()
H A Drichardsonimpl.h10 PetscReal scale; /* scaling on preconditioner */ member
H A Drich.c23 PetscScalar scale, rdot; in KSPSolve_Richardson() local
189 static PetscErrorCode KSPRichardsonSetScale_Richardson(KSP ksp, PetscReal scale) in KSPRichardsonSetScale_Richardson()
/petsc/src/ksp/pc/impls/mat/tests/
H A Dex1.c8 PetscReal err, scale; in TestVecEquality() local
24 PetscReal err, scale; in TestMatEquality() local
/petsc/src/mat/impls/normal/
H A Dnormm.c31 PetscScalar shift, scale; in MatCreateSubMatrices_Normal() local
62 PetscScalar shift, scale; in MatPermute_Normal() local
225 PetscScalar scale, shift; in MatConvert_Normal_AIJ() local
276 PetscScalar *array, scale; in MatProductNumeric_Normal_Dense() local
320 PetscScalar *array, scale; in MatProductSymbolic_Normal_Dense() local
H A Dnormmh.c14 PetscScalar shift, scale; in MatCreateSubMatrices_NormalHermitian() local
45 PetscScalar shift, scale; in MatPermute_NormalHermitian() local
209 PetscScalar scale, shift; in MatConvert_NormalHermitian_AIJ() local
/petsc/src/ksp/pc/impls/jacobi/
H A Djacobi.c63 PetscReal scale; /* for scaling rowl1 off-diagonals */ member
458 PetscReal scale; in PCView_Jacobi() local
631 PetscErrorCode PCJacobiSetRowl1Scale(PC pc, PetscReal scale) in PCJacobiSetRowl1Scale()
654 PetscErrorCode PCJacobiGetRowl1Scale(PC pc, PetscReal *scale) in PCJacobiGetRowl1Scale()
/petsc/src/dm/tutorials/
H A Dex26.c14 PetscReal *zeros, *weights, scale, h, sigma = 1 / sqrt(2), g = 0, mu = 0; in main() local
/petsc/src/sys/classes/random/impls/random123/
H A Drandom123.c43 PetscReal scale = 1. / ((PetscReal)UINT64_MAX + 1.); in PetscRandom123Step() local
104 PetscReal scale = 1. / ((PetscReal)UINT64_MAX + 1.); in PetscRandomGetValuesReal_Random123() local
/petsc/src/mat/impls/sell/mpi/
H A Dmmsell.c200 static PetscErrorCode MatMPISELLDiagonalScaleLocalSetUp(Mat inA, Vec scale) in MatMPISELLDiagonalScaleLocalSetUp()
246 PetscErrorCode MatDiagonalScaleLocal_MPISELL(Mat A, Vec scale) in MatDiagonalScaleLocal_MPISELL()
/petsc/src/mat/impls/aij/mpi/
H A Dmmaij.c206 static PetscErrorCode MatMPIAIJDiagonalScaleLocalSetUp(Mat inA, Vec scale) in MatMPIAIJDiagonalScaleLocalSetUp()
261 PetscErrorCode MatDiagonalScaleLocal_MPIAIJ(Mat A, Vec scale) in MatDiagonalScaleLocal_MPIAIJ()
/petsc/src/benchmarks/streams/
H A DCUDAVersion.cu100 __global__ void STREAM_Scale(float *a, float *b, float scale, size_t len) in STREAM_Scale()
109 __global__ void STREAM_Scale_double(double *a, double *b, double scale, size_t len) in STREAM_Scale_double()
118 __global__ void STREAM_Scale_Optimized(float *a, float *b, float scale, size_t len) in STREAM_Scale_Optimized()
129 __global__ void STREAM_Scale_Optimized_double(double *a, double *b, double scale, size_t len) in STREAM_Scale_Optimized_double()
253 bool STREAM_Scale_verify(float *a, float *b, float scale, size_t len) in STREAM_Scale_verify()
269 bool STREAM_Scale_verify_double(double *a, double *b, double scale, size_t len) in STREAM_Scale_verify_double()
/petsc/src/sys/classes/draw/utils/
H A Dzoom.c20 PetscReal dpause, xc, yc, scale = 1.0, w, h, xr, xl, yr, yl, xmin, xmax, ymin, ymax; in PetscDrawZoom() local
/petsc/src/mat/impls/baij/mpi/
H A Dmmbaij.c199 static PetscErrorCode MatMPIBAIJDiagonalScaleLocalSetUp(Mat inA, Vec scale) in MatMPIBAIJDiagonalScaleLocalSetUp()
251 PetscErrorCode MatDiagonalScaleLocal_MPIBAIJ(Mat A, Vec scale) in MatDiagonalScaleLocal_MPIBAIJ()
/petsc/src/ksp/ksp/utils/lmvm/tests/
H A Dex2.c66 PetscReal err, scale; in main() local
H A Dex1.c29 PetscReal scale; in HermitianTransposeTest() local
59 PetscReal scale; in InverseTest() local
86 PetscReal scale; in IsHermitianTest() local
116 PetscReal err, scale; in SecantTest() local
/petsc/src/mat/impls/htool/
H A Dhtool.cxx51 PetscScalar *ptr, shift, scale; in MatGetDiagonalBlock_Htool() local
163 PetscScalar *ptr, shift, scale; in MatCreateSubMatrices_Htool() local
298 PetscScalar shift, scale; in MatView_Htool() local
348 PetscScalar shift, scale; in MatGetRow_Htool() local
787 PetscScalar *array, shift, scale; in MatConvert_Htool_Dense() local
838 PetscScalar shift, scale; in MatTranspose_Htool() local
/petsc/src/ts/adapt/interface/
H A Dtsadapt.c609 PetscErrorCode TSAdaptSetScaleSolveFailed(TSAdapt adapt, PetscReal scale) in TSAdaptSetScaleSolveFailed()
635 PetscErrorCode TSAdaptGetScaleSolveFailed(TSAdapt adapt, PetscReal *scale) in TSAdaptGetScaleSolveFailed()
743 PetscReal safety, reject_safety, clip[2], scale, hmin, hmax; in TSAdaptSetFromOptions() local
/petsc/src/snes/interface/noise/
H A Dsnesdnest.c26 static double scale; in SNESNoise_dnest_() local
/petsc/src/mat/tests/
H A Dex104.c162 PetscReal diff, scale; in main() local
/petsc/src/mat/impls/aij/seq/spqr/
H A Daijspqr.c19 PetscScalar *ca, scale; in MatWrapCholmod_SPQR_seqaij() local
255 PetscScalar scale; in MatQRFactorNumeric_SPQR() local
/petsc/src/dm/tests/
H A Dex36.c316 Vec scale; in da_test_RefineCoords1D() local
396 Vec scale; in da_test_RefineCoords2D() local
482 Vec scale; in da_test_RefineCoords3D() local
/petsc/src/ksp/ksp/tutorials/
H A Dex21.c31 PetscReal norm, *coords, eta, scale = 0.5; in main() local
/petsc/src/mat/impls/composite/
H A Dmcomposite.c94 PetscScalar scale = 1.0; in MatMult_Composite_Multiplicative() local
122 PetscScalar scale = 1.0; in MatMultTranspose_Composite_Multiplicative() local
658 PetscScalar scale, shift; in MatCompositeMerge_Composite() local
/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmvmutils.c152 PetscErrorCode MatLMVMSetJ0Scale(Mat B, PetscReal scale) in MatLMVMSetJ0Scale()
942 PETSC_INTERN PetscErrorCode MatLMVMGetJ0Scalar(Mat B, PetscBool *is_scalar, PetscScalar *scale) in MatLMVMGetJ0Scalar()
1028 …at B, MatLMVMBasisType type, LMBasis *basis_p, MatLMVMBasisType *returned_type, PetscScalar *scale) in MatLMVMGetUpdatedBasis()
1084 …orCode MatLMVMBasisGetVecRead(Mat B, MatLMVMBasisType type, PetscInt i, Vec *y, PetscScalar *scale) in MatLMVMBasisGetVecRead()
1130 …de MatLMVMBasisRestoreVecRead(Mat B, MatLMVMBasisType type, PetscInt i, Vec *y, PetscScalar *scale) in MatLMVMBasisRestoreVecRead()

1234