Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/
H A Dex16.c529 PetscInt tridx = l + 3 * (i + j * NB + k * 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()
567 PetscInt tridx = ll + 3 * (ii + jj * NB + kk * 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()