Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/
H A Dex16.c544 PetscInt teidx = ll + 3 * (ii + jj * NB + kk * NB * NB); in FormElementJacobian() local
545 …ej[teidx + NPB * tridx] += scl * (lgrad[0] * dFS[3 * ll + 0] + lgrad[1] * dFS[3 * ll + 1] + lgrad[… in FormElementJacobian()
573 PetscInt teidx = el + 3 * (ei + ej * NB + ek * NB * NB); in ApplyBCsElement() local
574 if (teidx == tridx) { in ApplyBCsElement()
575 jacobian[tridx + NPB * teidx] = 1.; in ApplyBCsElement()
577 jacobian[tridx + NPB * teidx] = 0.; in ApplyBCsElement()