Lines Matching refs:npoints_q
72 PetscInt d, q, npoints_q; in private_DMSwarmCreateCellLocalCoords_DA_Q1_Gauss() local
76 PetscCall(PetscQuadratureGetData(quadrature, NULL, NULL, &npoints_q, &quadrature_xi, NULL)); in private_DMSwarmCreateCellLocalCoords_DA_Q1_Gauss()
77 PetscCall(PetscMalloc1(dim * npoints_q, &xi)); in private_DMSwarmCreateCellLocalCoords_DA_Q1_Gauss()
78 for (q = 0; q < npoints_q; q++) { in private_DMSwarmCreateCellLocalCoords_DA_Q1_Gauss()
82 *_npoints = npoints_q; in private_DMSwarmCreateCellLocalCoords_DA_Q1_Gauss()
90 PetscInt dim, npoints_q; in private_DMSwarmInsertPointsUsingCellDM_DA_Q1() local
109 PetscCall(private_DMSwarmCreateCellLocalCoords_DA_Q1_Regular(dim, np_dir, &npoints_q, &xi)); in private_DMSwarmInsertPointsUsingCellDM_DA_Q1()
112 PetscCall(private_DMSwarmCreateCellLocalCoords_DA_Q1_Gauss(dim, npoints, &npoints_q, &xi)); in private_DMSwarmInsertPointsUsingCellDM_DA_Q1()
123 PetscCall(private_DMSwarmCreateCellLocalCoords_DA_Q1_Regular(dim, np_dir, &npoints_q, &xi)); in private_DMSwarmInsertPointsUsingCellDM_DA_Q1()
131 PetscCall(PetscMalloc1(npoints_q, &basis)); in private_DMSwarmInsertPointsUsingCellDM_DA_Q1()
132 for (q = 0; q < npoints_q; q++) { in private_DMSwarmInsertPointsUsingCellDM_DA_Q1()
165 PetscCall(DMSwarmSetLocalSizes(dm, npoints_q * nel, -1)); in private_DMSwarmInsertPointsUsingCellDM_DA_Q1()
179 for (q = 0; q < npoints_q; q++) { in private_DMSwarmInsertPointsUsingCellDM_DA_Q1()
195 for (q = 0; q < npoints_q; q++) PetscCall(PetscFree(basis[q])); in private_DMSwarmInsertPointsUsingCellDM_DA_Q1()