Lines Matching refs:Ne
23 fe->Ne = 3; in CreateFEStruct()
24 PetscCall(PetscMalloc1(3 * fe->Ne, &fe->vertices)); in CreateFEStruct()
58 PetscCall(PetscMalloc2(3 * 3 * fe->Ne, &oor, 3 * 3 * fe->Ne, &ooc)); in CreateMatrix()
59 for (PetscInt e = 0; e < fe->Ne; e++) { in CreateMatrix()
67 PetscCall(MatSetPreallocationCOO(*A, 3 * 3 * fe->Ne, oor, ooc)); in CreateMatrix()
72 PetscCall(PetscMalloc1(fe->Ne, &fe->coo)); in CreateMatrix()
74 for (PetscInt e = 1; e < fe->Ne; e++) fe->coo[e] = fe->coo[e - 1] + 3 * 3; in CreateMatrix()
84 for (PetscInt e = 0; e < fe->Ne; e++) { in FillMatrixCPU()
105 PetscCall(PetscMalloc1(3 * 3 * fe->Ne, &v)); in FillMatrixCPUCOO()
106 for (PetscInt e = 0; e < fe->Ne; e++) { in FillMatrixCPUCOO()
127 PetscCall(PetscMalloc1(fe->Ne, &s)); in FillMatrixCPUCOO3d()
128 for (PetscInt e = 0; e < fe->Ne; e++) { in FillMatrixCPUCOO3d()