Searched refs:coords (Results 1 – 5 of 5) sorted by relevance
| /honee/src/ |
| H A D | honee-meshtransform.c | 78 PetscScalar(*coords)[dim] = (PetscScalar(*)[dim])arr_coords; in HoneeMeshTransform_PlateMesh() local 99 PetscInt y_box_index = round(coords[i][1] / dybox); in HoneeMeshTransform_PlateMesh() 101 coords[i][1] = in HoneeMeshTransform_PlateMesh() 102 …(1 - (coords[i][0] - domain_min[0]) * angle_coeff / domain_max[1]) * dy1 * (pow(growth, coords[i][… in HoneeMeshTransform_PlateMesh() 105 …coords[i][1] = (1 - (coords[i][0] - domain_min[0]) * angle_coeff / domain_max[1]) * exp(log(refine… in HoneeMeshTransform_PlateMesh() 107 …if (coords[i][0] == domain_min[0] && coords[i][2] == domain_min[2]) temp_node_locs[y_box_index] = … in HoneeMeshTransform_PlateMesh() 125 PetscInt y_box_index = round(coords[i][1] / dybox); in HoneeMeshTransform_PlateMesh() 126 …coords[i][1] = (1 - (coords[i][0] - domain_min[0]) * angle_coeff / max_y) * (*node_locs)[y… in HoneeMeshTransform_PlateMesh() 191 Vec coords; in HoneeMeshTransformFromOptions() local 194 PetscCall(DMGetCoordinatesLocal(dm, &coords)); in HoneeMeshTransformFromOptions() [all …]
|
| H A D | dm-utils.c | 298 PetscReal *coords, *weights, *coords_1d; in PetscDTUniformTensorQuadrature() local 301 PetscCall(PetscMalloc1(num_total_points * dim, &coords)); in PetscDTUniformTensorQuadrature() 307 PetscCall(PetscFree(coords)); in PetscDTUniformTensorQuadrature() 309 PetscCall(PetscMalloc1(1, &coords)); in PetscDTUniformTensorQuadrature() 312 coords[0] = 0.0; in PetscDTUniformTensorQuadrature() 320 coords[i] = step * (i + 0.5) + a; in PetscDTUniformTensorQuadrature() 332 coords[(i * num_points + j) * dim + 0] = coords_1d[i]; in PetscDTUniformTensorQuadrature() 333 coords[(i * num_points + j) * dim + 1] = coords_1d[j]; in PetscDTUniformTensorQuadrature() 348 coords[((i * num_points + j) * num_points + k) * dim + 0] = coords_1d[i]; in PetscDTUniformTensorQuadrature() 349 coords[((i * num_points + j) * num_points + k) * dim + 1] = coords_1d[j]; in PetscDTUniformTensorQuadrature() [all …]
|
| /honee/qfunctions/ |
| H A D | strong_boundary_conditions.h | 8 const CeedScalar(*coords)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in SetupStrongBC() local 16 for (int j = 0; j < 3; j++) coords_stored[j][i] = coords[j][i]; in SetupStrongBC()
|
| H A D | stg_shur14.h | 475 const CeedScalar(*coords)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[1]; in StgShur14InflowStrongQF() local 491 const CeedScalar x[] = {coords[0][i], coords[1][i], coords[2][i]}; in StgShur14InflowStrongQF() 496 InterpolateProfile(coords[1][i], ubar, cij, &eps, <, stg_ctx); in StgShur14InflowStrongQF() 502 CalcSpectrum(coords[1][i], eps, lt, h_node_sep, nu, qn, stg_ctx); in StgShur14InflowStrongQF()
|
| /honee/problems/ |
| H A D | channel.c | 166 PetscScalar(*coords)[dim] = (PetscScalar(*)[dim])arr_coords; in DivDiffFluxVerifyMesh() local 176 PetscInt x_box_index = round(coords[i][0] / dxbox); in DivDiffFluxVerifyMesh() 178 coords[i][0] = (x_box_index - 1) * dxbox + 0.5 * dxbox; in DivDiffFluxVerifyMesh()
|