Lines Matching refs:vertices
24 PetscCall(PetscMalloc1(3 * fe->Ne, &fe->vertices)); in CreateFEStruct()
26 fe->vertices[0 + 0] = 0; in CreateFEStruct()
27 fe->vertices[0 + 1] = 1; in CreateFEStruct()
28 fe->vertices[0 + 2] = 2; in CreateFEStruct()
29 fe->vertices[3 + 0] = 2; in CreateFEStruct()
30 fe->vertices[3 + 1] = 1; in CreateFEStruct()
31 fe->vertices[3 + 2] = 3; in CreateFEStruct()
32 fe->vertices[6 + 0] = 2; in CreateFEStruct()
33 fe->vertices[6 + 1] = 4; in CreateFEStruct()
34 fe->vertices[6 + 2] = 3; in CreateFEStruct()
42 PetscCall(PetscFree(fe->vertices)); in DestroyFEStruct()
62 oor[cnt] = fe->vertices[3 * e + vi]; in CreateMatrix()
63 ooc[cnt++] = fe->vertices[3 * e + vj]; in CreateMatrix()
88 PetscCall(MatSetValues(A, 3, fe->vertices + 3 * e, 3, fe->vertices + 3 * e, s, ADD_VALUES)); in FillMatrixCPU()