Home
last modified time | relevance | path

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

/honee/src/
H A Ddm-utils.c294 …tscDTUniformTensorQuadrature(PetscInt dim, PetscInt num_comp, PetscInt num_points, PetscReal a, Pe… in PetscDTUniformTensorQuadrature() argument
297 …total_points = dim > 1 ? (dim > 2 ? (num_points * num_points * num_points) : (num_points * num_poi… in PetscDTUniformTensorQuadrature()
317 PetscReal step = (b - a) / num_points; in PetscDTUniformTensorQuadrature()
319 for (PetscInt i = 0; i < num_points; i++) { in PetscDTUniformTensorQuadrature()
326 PetscCall(PetscMalloc1(num_points, &coords_1d)); in PetscDTUniformTensorQuadrature()
327 PetscReal step = (b - a) / num_points; in PetscDTUniformTensorQuadrature()
329 for (PetscInt i = 0; i < num_points; i++) coords_1d[i] = step * (i + 0.5) + a; in PetscDTUniformTensorQuadrature()
330 for (PetscInt i = 0; i < num_points; i++) { in PetscDTUniformTensorQuadrature()
331 for (PetscInt j = 0; j < num_points; j++) { in PetscDTUniformTensorQuadrature()
332 coords[(i * num_points + j) * dim + 0] = coords_1d[i]; in PetscDTUniformTensorQuadrature()
[all …]
H A Dsetupts.c85 PetscInt num_points, num_comp = 0; in Surface_Forces_NS() local
92 PetscCall(ISGetSize(wall_is, &num_points)); in Surface_Forces_NS()
94 for (PetscInt i = 0; i < num_points; i++) { in Surface_Forces_NS()