Lines Matching refs:i
25 for (PetscInt i = 0; i < ndims; i++) dims[i] = atoi(array[i]); in GetYNodeLocs() local
32 for (PetscInt i = 0; i < dims[0]; i++) { in GetYNodeLocs() local
38 …FMT " of %s does not contain correct number of columns (%d instead of %d)", i, path, ndims, dims[1… in GetYNodeLocs()
40 node_locs[i] = (PetscReal)atof(array[0]); in GetYNodeLocs()
71 for (PetscInt i = 0; i < 3; i++) domain_size[i] = domain_max[i] - domain_min[i]; in HoneeMeshTransform_PlateMesh() local
98 for (PetscInt i = 0; i < ncoords; i++) { 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()
123 for (PetscInt i = 0; i < ncoords; i++) { in HoneeMeshTransform_PlateMesh() local
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()