pub trait ParallelFunctionSpace {
type ProcessSpace: FunctionSpace;
type C: Communicator;
// Required methods
fn comm(&self) -> &Self::C;
fn process_space(&self) -> &Self::ProcessSpace;
fn global_size(&self) -> usize;
}Expand description
MPI parallel function space.
Required Associated Types§
Sourcetype ProcessSpace: FunctionSpace
type ProcessSpace: FunctionSpace
Process space type
Required Methods§
Sourcefn process_space(&self) -> &Self::ProcessSpace
fn process_space(&self) -> &Self::ProcessSpace
Space on the current process
Sourcefn global_size(&self) -> usize
fn global_size(&self) -> usize
Get the number of DOFs on all processes
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".