Skip to content

Commit

Permalink
remove cl kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Nov 22, 2023
1 parent ce3336d commit 17b99c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bem/src/assembly/batched.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,14 @@ fn assemble_batch_nonadjacent<'a, const NPTS_TEST: usize, const NPTS_TRIAL: usiz
let mut trial_jdet_all = vec![[0.0; NPTS_TRIAL]; trial_cells.len()];
let mut trial_mapped_pts_all = vec![];
let mut trial_normals_all = vec![];
for i in 0..trial_cells.len() {
for _ in 0..trial_cells.len() {
trial_mapped_pts_all.push(zero_matrix([NPTS_TRIAL, 3]));
trial_normals_all.push(zero_matrix([NPTS_TRIAL, 3]));
}

for (trial_cell_i, trial_cell) in trial_cells.iter().enumerate() {
let trial_cell_tindex = trial_grid.topology().index_map()[*trial_cell];
let trial_cell_gindex = trial_grid.geometry().index_map()[*trial_cell];
let trial_vertices = unsafe { trial_c20.row_unchecked(trial_cell_tindex) };

trial_evaluator
.compute_jacobian_determinants(trial_cell_gindex, &mut trial_jdet_all[trial_cell_i]);
Expand Down

0 comments on commit 17b99c4

Please sign in to comment.