Functions | |
| make_float_symbol (name) | |
| make_wedge_surface_physical_coord_assignments (local_subdomain_id, x_cell, y_cell, scalar_type) | |
| make_rad_assignments (local_subdomain_id, r_cell) | |
| make_extract_local_wedge_scalar_assignments (local_subdomain_id, x_cell, y_cell, r_cell, global_array, scalar_type) | |
| make_extract_local_wedge_vector_assignments (local_subdomain_id, x_cell, y_cell, r_cell, global_array, scalar_type) | |
| make_atomic_add_local_wedge_scalar_coefficients (local_subdomain_id, x_cell, y_cell, r_cell, dsts) | |
| make_atomic_add_local_wedge_vector_coefficients (local_subdomain_id, x_cell, y_cell, r_cell, dsts) | |
| make_boundary_handling (matrix_name) | |
| make_diagonal_handling (matrix_name) | |
| make_hex_assignments (local_subdomain_id, x_cell, y_cell, r_cell, prefix="src_local_hex") | |
Variables | |
| list | quad_points_3x2 |
| list | quad_weights_3x2 |
| list | quad_points_1x1 = [[1.0 / 3.0, 1.0 / 3.0, 0.0]] |
| list | quad_weights_1x1 = [1.0] |
| kernel_helpers.make_atomic_add_local_wedge_scalar_coefficients | ( | local_subdomain_id, | |
| x_cell, | |||
| y_cell, | |||
| r_cell, | |||
| dsts | |||
| ) |
| kernel_helpers.make_atomic_add_local_wedge_vector_coefficients | ( | local_subdomain_id, | |
| x_cell, | |||
| y_cell, | |||
| r_cell, | |||
| dsts | |||
| ) |
| kernel_helpers.make_boundary_handling | ( | matrix_name | ) |
| kernel_helpers.make_diagonal_handling | ( | matrix_name | ) |
| kernel_helpers.make_extract_local_wedge_scalar_assignments | ( | local_subdomain_id, | |
| x_cell, | |||
| y_cell, | |||
| r_cell, | |||
| global_array, | |||
| scalar_type | |||
| ) |
| kernel_helpers.make_extract_local_wedge_vector_assignments | ( | local_subdomain_id, | |
| x_cell, | |||
| y_cell, | |||
| r_cell, | |||
| global_array, | |||
| scalar_type | |||
| ) |
| kernel_helpers.make_float_symbol | ( | name | ) |
| kernel_helpers.make_hex_assignments | ( | local_subdomain_id, | |
| x_cell, | |||
| y_cell, | |||
| r_cell, | |||
prefix = "src_local_hex" |
|||
| ) |
Generate unrolled assignments for src_local_hex based on the given offsets.
Returns:
list of (lhs_symbol, rhs_expression) pairs
| kernel_helpers.make_rad_assignments | ( | local_subdomain_id, | |
| r_cell | |||
| ) |
| kernel_helpers.make_wedge_surface_physical_coord_assignments | ( | local_subdomain_id, | |
| x_cell, | |||
| y_cell, | |||
| scalar_type | |||
| ) |
| list kernel_helpers.quad_points_1x1 = [[1.0 / 3.0, 1.0 / 3.0, 0.0]] |
| list kernel_helpers.quad_points_3x2 |
| list kernel_helpers.quad_weights_1x1 = [1.0] |
| list kernel_helpers.quad_weights_3x2 |