Skip to content

Commit

Permalink
fix mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Aug 21, 2024
1 parent ff19e56 commit e166f89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/test_parallel_assembly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use approx::assert_relative_eq;
#[cfg(feature = "mpi")]
use bempp::{
assembly::boundary,
assembly::boundary::BoundaryAssembler,
function::{ParallelFunctionSpace, SerialFunctionSpace},
traits::{BoundaryAssembly, FunctionSpace, ParallelBoundaryAssembly},
};
Expand Down
7 changes: 6 additions & 1 deletion src/assembly/boundary/assemblers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,12 @@ impl<
}
}
#[cfg(feature = "mpi")]
impl<A: BoundaryAssembler + InternalAssemblyFunctions> ParallelBoundaryAssembly for A {
impl<
T: RlstScalar + MatrixInverse,
Integrand: BoundaryIntegrand<T = T>,
Kernel: KernelEvaluator<T = T>,
> ParallelBoundaryAssembly for BoundaryAssembler<T, Integrand, Kernel>
{
fn parallel_assemble_singular_into_csr<
C: Communicator,
Space: ParallelFunctionSpace<C, T = T>,
Expand Down

0 comments on commit e166f89

Please sign in to comment.