Skip to content

Commit

Permalink
cell pair assemblers with caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Aug 28, 2024
1 parent 5f88369 commit 8cc7a3d
Show file tree
Hide file tree
Showing 2 changed files with 513 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/assembly/boundary/assemblers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ pub mod double_layer;
pub mod hypersingular;
pub mod single_layer;

use super::cell_pair_assemblers::{NonsingularCellPairAssembler, SingularCellPairAssembler};
use super::cell_pair_assemblers::{
NonsingularCellPairAssembler, NonsingularCellPairAssemblerWithTestCaching,
SingularCellPairAssembler,
};
use crate::assembly::common::{equal_grids, RawData2D, RlstArray, SparseMatrixData};
use crate::quadrature::duffy::{
quadrilateral_duffy, quadrilateral_triangle_duffy, triangle_duffy, triangle_quadrilateral_duffy,
Expand Down Expand Up @@ -264,10 +267,11 @@ fn assemble_batch_nonadjacent<
let test_evaluator = test_grid.geometry_map(test_cell_type, test_points.data());
let trial_evaluator = trial_grid.geometry_map(trial_cell_type, trial_points.data());

let mut a = NonsingularCellPairAssembler::new(
let mut a = NonsingularCellPairAssemblerWithTestCaching::new(
npts_test,
npts_trial,
deriv_size,
test_cells,
&assembler.integrand,
&assembler.kernel,
test_evaluator,
Expand Down
Loading

0 comments on commit 8cc7a3d

Please sign in to comment.