Searched refs:vec_coords (Results 1 – 3 of 3) sorted by relevance
/dports/science/cdo/cdo-2.0.0/src/lib/yac/ |
H A D | clipping.c | 84 double vec_coords[3]; member 1119 {prev_point->vec_coords, curr_point->vec_coords}; in point_list_lat_clipping() 1547 compute_norm_vector(prev_tgt_point->vec_coords, curr_tgt_point->vec_coords, in yac_cell_clipping() 1551 compute_lat_circle_z_value(prev_tgt_point->vec_coords, curr_tgt_point->vec_coords, in yac_cell_clipping() 1769 double curr_z = curr->vec_coords[2]; in get_closest_pole() 1927 compute_norm_vector(curr->vec_coords, curr->next->vec_coords, norm_vec); in get_cell_points_ordering() 2039 curr->vec_coords, curr->next->vec_coords), in remove_zero_length_edges() 2043 double temp_a = atan2(curr->vec_coords[1], curr->vec_coords[0]); in remove_zero_length_edges() 2044 double temp_b = atan2(curr->next->next->vec_coords[1], curr->next->next->vec_coords[0]); in remove_zero_length_edges() 2156 compute_norm_vector(curr->vec_coords, curr->next->vec_coords, ref_norm); in is_empty_gc_cell() [all …]
|
/dports/science/PETSc/petsc-3.14.1/src/ksp/ksp/tutorials/ |
H A D | ex56.c | 272 Vec vec_coords; in main() local 275 ierr = VecCreate(MPI_COMM_WORLD,&vec_coords);CHKERRQ(ierr); in main() 276 ierr = VecSetBlockSize(vec_coords,3);CHKERRQ(ierr); in main() 277 ierr = VecSetSizes(vec_coords,m,PETSC_DECIDE);CHKERRQ(ierr); in main() 278 ierr = VecSetUp(vec_coords);CHKERRQ(ierr); in main() 279 ierr = VecGetArray(vec_coords,&c);CHKERRQ(ierr); in main() 281 ierr = VecRestoreArray(vec_coords,&c);CHKERRQ(ierr); in main() 282 ierr = MatNullSpaceCreateRigidBody(vec_coords,&matnull);CHKERRQ(ierr); in main() 285 ierr = VecDestroy(&vec_coords);CHKERRQ(ierr); in main()
|
/dports/devel/py-game/pygame-2.1.0/src_c/ |
H A D | math.c | 591 double *vec_coords; in vector_generic_math() local 607 vec_coords = vec->coords; in vector_generic_math() 640 ret->coords[i] = vec_coords[i] + other_coords[i]; in vector_generic_math() 645 ret->coords[i] = vec_coords[i] - other_coords[i]; in vector_generic_math() 649 ret->coords[i] = other_coords[i] - vec_coords[i]; in vector_generic_math() 655 tmp += vec_coords[i] * other_coords[i]; in vector_generic_math() 663 ret->coords[i] = vec_coords[i] * tmp; in vector_generic_math() 675 ret->coords[i] = vec_coords[i] * tmp; in vector_generic_math() 687 ret->coords[i] = floor(vec_coords[i] * tmp); in vector_generic_math()
|