pub trait ParallelBuilder: Builder {
type ParallelGrid<'a, C: Communicator + 'a>: ParallelGrid<C = C>
where Self: 'a;
// Required methods
fn create_parallel_grid_root<'a, C: Communicator>(
&self,
comm: &'a C,
partitioner: GraphPartitioner,
) -> Self::ParallelGrid<'a, C>;
fn create_parallel_grid<'a, C: Communicator>(
&self,
comm: &'a C,
root_rank: i32,
) -> Self::ParallelGrid<'a, C>;
}Expand description
MPI parallelized grid builder
Required Associated Types§
Sourcetype ParallelGrid<'a, C: Communicator + 'a>: ParallelGrid<C = C>
where
Self: 'a
type ParallelGrid<'a, C: Communicator + 'a>: ParallelGrid<C = C> where Self: 'a
Parallel grid type
Required Methods§
Sourcefn create_parallel_grid_root<'a, C: Communicator>(
&self,
comm: &'a C,
partitioner: GraphPartitioner,
) -> Self::ParallelGrid<'a, C>
fn create_parallel_grid_root<'a, C: Communicator>( &self, comm: &'a C, partitioner: GraphPartitioner, ) -> Self::ParallelGrid<'a, C>
Create a parallel grid (call from root)
Sourcefn create_parallel_grid<'a, C: Communicator>(
&self,
comm: &'a C,
root_rank: i32,
) -> Self::ParallelGrid<'a, C>
fn create_parallel_grid<'a, C: Communicator>( &self, comm: &'a C, root_rank: i32, ) -> Self::ParallelGrid<'a, C>
Create a parallel grid (call from other processes)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.