Lines Matching refs:ndof
2046 PetscInt ndof = patch->totalDofsPerCell; in PCPatchComputeOperator_Internal() local
2052 const PetscInt *idx = dofsArray + (offset + i) * ndof; in PCPatchComputeOperator_Internal()
2053 … const PetscScalar *v = elementTensors + patch->precomputedTensorLocations[cell] * ndof * ndof; in PCPatchComputeOperator_Internal()
2054 PetscCall(MatSetValues(mat, ndof, idx, ndof, idx, v, ADD_VALUES)); in PCPatchComputeOperator_Internal()
2213 const PetscInt ndof = patch->totalDofsPerCell; in PCPatchPrecomputePatchTensors_Private() local
2260 PetscCall(VecCreateSeq(PETSC_COMM_SELF, ncell * ndof * ndof, &patch->cellMats)); in PCPatchPrecomputePatchTensors_Private()
2261 PetscCall(VecSetBlockSize(patch->cellMats, ndof)); in PCPatchPrecomputePatchTensors_Private()
2265 …PetscCall(MatCreateShell(PETSC_COMM_SELF, ncell * ndof, ncell * ndof, ncell * ndof, ncell * ndof, … in PCPatchPrecomputePatchTensors_Private()
2268 PetscCall(ISCreateStride(PETSC_COMM_SELF, ndof * ncell, 0, 1, &dofMap)); in PCPatchPrecomputePatchTensors_Private()
2273 …PetscCallBack("PCPatch callback", patch->usercomputeop(pc, -1, NULL, vecMat, cellIS, ndof * ncell,… in PCPatchPrecomputePatchTensors_Private()
2316 PetscCall(VecCreateSeq(PETSC_COMM_SELF, nIntFacets * ndof * ndof * 4, &patch->intFacetMats)); in PCPatchPrecomputePatchTensors_Private()
2317 PetscCall(VecSetBlockSize(patch->intFacetMats, ndof * 2)); in PCPatchPrecomputePatchTensors_Private()
2321 …eateShell(PETSC_COMM_SELF, nIntFacets * ndof * 2, nIntFacets * ndof * 2, nIntFacets * ndof * 2, nI… in PCPatchPrecomputePatchTensors_Private()
2323 PetscCall(ISCreateStride(PETSC_COMM_SELF, 2 * ndof * nIntFacets, 0, 1, &dofMap)); in PCPatchPrecomputePatchTensors_Private()
2328 …ts)", patch->usercomputeopintfacet(pc, -1, NULL, vecMat, intFacetsIS, 2 * ndof * nIntFacets, dofMa… in PCPatchPrecomputePatchTensors_Private()