Home
last modified time | relevance | path

Searched refs:mul (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/dt/tests/
H A Dex9.c90 PetscReal mul = lgndre_coeffs[j]; in testDerivativesLegendre() local
95 val += mul * valj; in testDerivativesLegendre()
130 PetscReal mul = lgndre_coeffs[i]; in testDerivativesLegendre() local
138 lgndre_jet[j] += mul * val; in testDerivativesLegendre()
/petsc/src/mat/impls/sell/seq/
H A Dsell.c146 PetscInt mul = DEVICE_MEM_ALIGN / b->sliceheight; in MatSeqSELLSetPreallocation_SeqSELL() local
154 if (mul != 0) { /* Pad the slice to DEVICE_MEM_ALIGN if sliceheight < DEVICE_MEM_ALIGN */ in MatSeqSELLSetPreallocation_SeqSELL()
156 b->sliidx[i] = ((b->sliidx[i] - 1) / mul + 1) * mul; in MatSeqSELLSetPreallocation_SeqSELL()
166 if (mul != 0) { in MatSeqSELLSetPreallocation_SeqSELL()
168 b->sliidx[totalslices] = ((b->sliidx[totalslices] - 1) / mul + 1) * mul; in MatSeqSELLSetPreallocation_SeqSELL()
1541 PetscInt mul = DEVICE_MEM_ALIGN / a->sliceheight; in MatSetValues_SeqSELL() local
1592 … a->sliceheight, row / a->sliceheight, row, col, a->colidx, a->val, cp, vp, nonew, MatScalar, mul); in MatSetValues_SeqSELL()
/petsc/src/dm/dt/interface/
H A Ddt.c2034 PetscReal mul; in PetscDTStroudConicalQuadrature() local
2036 mul = PetscPowReal(2., -i); in PetscDTStroudConicalQuadrature()
2043 for (PetscInt c = 0; c < Nc; c++) w[pt * Nc + c] *= mul * w1[j]; in PetscDTStroudConicalQuadrature()