Lines Matching refs:kernel
179 PetscFunctionGenerator<PetscScalar> *kernel; member
224 delete a->kernel; in MatDestroy_H2OPUS()
844 PetscBool kernel = PETSC_FALSE; in MatAssemblyEnd_H2OPUS() local
881 if (a->kernel) { in MatAssemblyEnd_H2OPUS()
882 …ntryGen<PetscScalar, H2OPUS_HWTYPE_CPU, PetscFunctionGenerator<PetscScalar>> entry_gen(*a->kernel); in MatAssemblyEnd_H2OPUS()
891 kernel = PETSC_TRUE; in MatAssemblyEnd_H2OPUS()
912 if (!kernel && a->sampler && a->sampler->GetSamplingMat()) { in MatAssemblyEnd_H2OPUS()
1044 …if (op == MAT_COPY_VALUES && b->kernel) a->kernel = new PetscFunctionGenerator<PetscScalar>(*b->ke… in MatDuplicate_H2OPUS()
1108 …PetscCall(PetscViewerASCIIPrintf(view, " H-Matrix constructed from %s\n", h2opus->kernel ? "Kerne… in MatView_H2OPUS()
1111 if (!h2opus->kernel) { in MatView_H2OPUS()
1166 …nt spacedim, const PetscReal coords[], PetscBool cdist, MatH2OpusKernelFn *kernel, void *kernelctx) in MatH2OpusSetCoords_H2OPUS() argument
1200 delete h2opus->kernel; in MatH2OpusSetCoords_H2OPUS()
1202 if (kernel) h2opus->kernel = new PetscFunctionGenerator<PetscScalar>(kernel, spacedim, kernelctx); in MatH2OpusSetCoords_H2OPUS()
1559 delete a->kernel; in MatH2OpusSetSamplingMat()
1595 … spacedim, const PetscReal coords[], PetscBool cdist, MatH2OpusKernelFn *kernel, void *kernelctx, … in MatCreateH2OpusFromKernel() argument
1608 PetscCall(MatH2OpusSetCoords_H2OPUS(A, spacedim, coords, cdist, kernel, kernelctx)); in MatCreateH2OpusFromKernel()