pub trait ParallelBuilder: Builder {
type ParallelMesh<'a, C: Communicator + 'a>: ParallelMesh<C = C>
where Self: 'a;
// Required methods
fn create_parallel_mesh_root<'a, C: Communicator>(
&self,
comm: &'a C,
partitioner: GraphPartitioner,
) -> Self::ParallelMesh<'a, C>;
fn create_parallel_mesh<'a, C: Communicator>(
&self,
comm: &'a C,
root_rank: i32,
) -> Self::ParallelMesh<'a, C>;
}Expand description
MPI parallelized mesh builder
Required Associated Types§
Sourcetype ParallelMesh<'a, C: Communicator + 'a>: ParallelMesh<C = C>
where
Self: 'a
type ParallelMesh<'a, C: Communicator + 'a>: ParallelMesh<C = C> where Self: 'a
Parallel mesh type
Required Methods§
Sourcefn create_parallel_mesh_root<'a, C: Communicator>(
&self,
comm: &'a C,
partitioner: GraphPartitioner,
) -> Self::ParallelMesh<'a, C>
fn create_parallel_mesh_root<'a, C: Communicator>( &self, comm: &'a C, partitioner: GraphPartitioner, ) -> Self::ParallelMesh<'a, C>
Create a parallel mesh (call from root)
Sourcefn create_parallel_mesh<'a, C: Communicator>(
&self,
comm: &'a C,
root_rank: i32,
) -> Self::ParallelMesh<'a, C>
fn create_parallel_mesh<'a, C: Communicator>( &self, comm: &'a C, root_rank: i32, ) -> Self::ParallelMesh<'a, C>
Create a parallel mesh (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.