Lines Matching refs:kk

3078         for (int kk = 0; kk < eSize; ++kk) {  in DMPlex_Surface_Grad()  local
3079 … PetscCall(PetscHMapIFind(currFaceUniquePoints, eIndices[kk], &eHashKeyIter, &eHashKeyFound)); in DMPlex_Surface_Grad()
3082 PetscCall(PetscHMapISet(currFaceUniquePoints, eIndices[kk], cfCntr)); in DMPlex_Surface_Grad()
3086 … PetscCall(PetscHMapIFind(pointSurfGradRow_Start, eIndices[kk], &pHashKeyIter, &pHashKeyFound)); in DMPlex_Surface_Grad()
3089 PetscCall(PetscHMapISet(pointSurfGradRow_Start, eIndices[kk], gcntr)); in DMPlex_Surface_Grad()
3113 for (int kk = 0; kk < nSize; ++kk) { in DMPlex_Surface_Grad() local
3114 … PetscCall(PetscHMapIFind(currFaceUniquePoints, nIndices[kk], &nHashKeyIter, &nHashKeyFound)); in DMPlex_Surface_Grad()
3117 PetscCall(PetscHMapISet(currFaceUniquePoints, nIndices[kk], cfCntr)); in DMPlex_Surface_Grad()
3121 … PetscCall(PetscHMapIFind(pointSurfGradRow_Start, nIndices[kk], &pHashKeyIter, &pHashKeyFound)); in DMPlex_Surface_Grad()
3123 PetscCall(PetscHMapISet(pointSurfGradRow_Start, nIndices[kk], gcntr)); in DMPlex_Surface_Grad()
3172 for (int kk = 0; kk < 4; ++kk) { in DMPlex_Surface_Grad() local
3176 if (kk == 0) { //X in DMPlex_Surface_Grad()
3180 } else if (kk == 1) { //Y in DMPlex_Surface_Grad()
3184 } else if (kk == 2) { //Z in DMPlex_Surface_Grad()
3188 } else if (kk == 3) { // Weights in DMPlex_Surface_Grad()
3238 …PetscCall(MatSetValue(pointSurfGrad, startRow + (ii * 3) + 0, ((fid - 1) * 4) + kk, dxdCx, INSERT_… in DMPlex_Surface_Grad()
3239 …PetscCall(MatSetValue(pointSurfGrad, startRow + (ii * 3) + 1, ((fid - 1) * 4) + kk, dxdCy, INSERT_… in DMPlex_Surface_Grad()
3240 …PetscCall(MatSetValue(pointSurfGrad, startRow + (ii * 3) + 2, ((fid - 1) * 4) + kk, dxdCz, INSERT_… in DMPlex_Surface_Grad()
3526 for (int kk = 0; kk < Nv; ++kk) { in DMPlexGeomDataAndGrads() local
3530 ego vertex = vobjs[kk]; in DMPlexGeomDataAndGrads()
3589 for (int kk = minID + 1; kk < maxID; ++kk) { in DMPlexGeomDataAndGrads() local
3590 cp_edge[kk] = eid; in DMPlexGeomDataAndGrads()
3591 w_edge[kk] = eid; in DMPlexGeomDataAndGrads()
3628 for (int kk = minID + 1; kk < maxID - 1; ++kk) { in DMPlexGeomDataAndGrads() local
3629 cp_edge[kk] = eid; in DMPlexGeomDataAndGrads()
3630 w_edge[kk] = eid; in DMPlexGeomDataAndGrads()
3667 for (int kk = minID + bpinfo[2]; kk < maxID; kk += bpinfo[2]) { in DMPlexGeomDataAndGrads() local
3668 cp_edge[kk] = eid; in DMPlexGeomDataAndGrads()
3669 w_edge[kk] = eid; in DMPlexGeomDataAndGrads()
3705 for (int kk = minID + bpinfo[2]; kk < maxID; kk += bpinfo[2]) { in DMPlexGeomDataAndGrads() local
3706 cp_edge[kk] = eid; in DMPlexGeomDataAndGrads()
3707 w_edge[kk] = eid; in DMPlexGeomDataAndGrads()
4035 for (int kk = 0; kk < eSize; ++kk) { in DMPlexGeomDataAndGrads() local
4036 … PetscCall(PetscHMapIFind(currFaceUniquePoints, eIndices[kk], &eHashKeyIter, &eHashKeyFound)); in DMPlexGeomDataAndGrads()
4039 PetscCall(PetscHMapISet(currFaceUniquePoints, eIndices[kk], cfCntr)); in DMPlexGeomDataAndGrads()
4043 … PetscCall(PetscHMapIFind(pointSurfGradRow_Start, eIndices[kk], &pHashKeyIter, &pHashKeyFound)); in DMPlexGeomDataAndGrads()
4046 PetscCall(PetscHMapISet(pointSurfGradRow_Start, eIndices[kk], gcntr)); in DMPlexGeomDataAndGrads()
4070 for (int kk = 0; kk < nSize; ++kk) { in DMPlexGeomDataAndGrads() local
4071 … PetscCall(PetscHMapIFind(currFaceUniquePoints, nIndices[kk], &nHashKeyIter, &nHashKeyFound)); in DMPlexGeomDataAndGrads()
4074 PetscCall(PetscHMapISet(currFaceUniquePoints, nIndices[kk], cfCntr)); in DMPlexGeomDataAndGrads()
4078 … PetscCall(PetscHMapIFind(pointSurfGradRow_Start, nIndices[kk], &pHashKeyIter, &pHashKeyFound)); in DMPlexGeomDataAndGrads()
4080 PetscCall(PetscHMapISet(pointSurfGradRow_Start, nIndices[kk], gcntr)); in DMPlexGeomDataAndGrads()
4153 for (int kk = 0; kk < 4; ++kk) { in DMPlexGeomDataAndGrads() local
4156 …heck(face->blind, PETSC_COMM_SELF, PETSC_ERR_LIB, "Face %d is corrupted: %d %d %d", f, jj, ii, kk); in DMPlexGeomDataAndGrads()
4158 if (kk == 0) { //X in DMPlexGeomDataAndGrads()
4164 } else if (kk == 1) { //Y in DMPlexGeomDataAndGrads()
4170 } else if (kk == 2) { //Z in DMPlexGeomDataAndGrads()
4176 } else if (kk == 3) { // Weights in DMPlexGeomDataAndGrads()
4188 …heck(face->blind, PETSC_COMM_SELF, PETSC_ERR_LIB, "Face %d is corrupted: %d %d %d", f, jj, ii, kk); in DMPlexGeomDataAndGrads()
4196 …heck(face->blind, PETSC_COMM_SELF, PETSC_ERR_LIB, "Face %d is corrupted: %d %d %d", f, jj, ii, kk); in DMPlexGeomDataAndGrads()
4215 …heck(face->blind, PETSC_COMM_SELF, PETSC_ERR_LIB, "Face %d is corrupted: %d %d %d", f, jj, ii, kk); in DMPlexGeomDataAndGrads()
4222 …heck(face->blind, PETSC_COMM_SELF, PETSC_ERR_LIB, "Face %d is corrupted: %d %d %d", f, jj, ii, kk); in DMPlexGeomDataAndGrads()
4232 if (kk < 3) { in DMPlexGeomDataAndGrads()
4237 gradSACP[faceCPStartRow + (ii * 3) + kk] = dSAdCPi; in DMPlexGeomDataAndGrads()
4241 } else if (kk == 3) { in DMPlexGeomDataAndGrads()
4265 …PetscCall(MatSetValue(pointSurfGrad, startRow + (ii * 3) + 0, ((fid - 1) * 4) + kk, dxdCx, INSERT_… in DMPlexGeomDataAndGrads()
4266 …PetscCall(MatSetValue(pointSurfGrad, startRow + (ii * 3) + 1, ((fid - 1) * 4) + kk, dxdCy, INSERT_… in DMPlexGeomDataAndGrads()
4267 …PetscCall(MatSetValue(pointSurfGrad, startRow + (ii * 3) + 2, ((fid - 1) * 4) + kk, dxdCz, INSERT_… in DMPlexGeomDataAndGrads()
4303 for (int kk = 0; kk < Nf; ++kk) { in DMPlexGeomDataAndGrads() local
4305 PetscInt currFID = kk + 1; in DMPlexGeomDataAndGrads()
4392 newGeom[kk] = newgeom; in DMPlexGeomDataAndGrads()
4393 newFaces[kk] = newface; in DMPlexGeomDataAndGrads()
4428 for (int kk = 0; kk < Nf; ++kk) { in DMPlexGeomDataAndGrads() local
4429 PetscCallEGADS(EG_deleteObject, (newFaces[kk])); in DMPlexGeomDataAndGrads()
4430 PetscCallEGADS(EG_deleteObject, (newGeom[kk])); in DMPlexGeomDataAndGrads()
4676 for (int kk = 2; kk < 4; ++kk) { in DMPlexModifyGeomModel() local
4677 double params[2] = {fdata[jj], fdata[kk]}; in DMPlexModifyGeomModel()
4801 for (int kk = 0; kk < NnNew; ++kk) { in DMPlexModifyGeomModel() local
4804 nodeIDOrigGeom = EGlite_indexBodyTopo(body, nobjsOrig[kk]); in DMPlexModifyGeomModel()
4805 nodeIDNewGeom = EGlite_indexBodyTopo(newbody, nobjsNew[kk]); in DMPlexModifyGeomModel()
4807 nodeIDOrigGeom = EG_indexBodyTopo(body, nobjsOrig[kk]); in DMPlexModifyGeomModel()
4808 nodeIDNewGeom = EG_indexBodyTopo(newbody, nobjsNew[kk]); in DMPlexModifyGeomModel()
4815 kk = NnNew; // skip ahead because first NODE failed test and order is important in DMPlexModifyGeomModel()