Trait bempp::traits::ParallelFunctionSpace
source · pub trait ParallelFunctionSpace<C: Communicator>: FunctionSpace {
type ParallelGrid: ParallelGrid<C> + Grid<T = <Self::T as RlstScalar>::Real, EntityDescriptor = ReferenceCellType>;
type LocalSpace<'a>: FunctionSpace<T = Self::T> + Sync
where Self: 'a;
// Required methods
fn comm(&self) -> &C;
fn grid(&self) -> &Self::ParallelGrid;
fn local_space(&self) -> &Self::LocalSpace<'_>;
}
Expand description
A function space in parallel
Required Associated Types§
sourcetype ParallelGrid: ParallelGrid<C> + Grid<T = <Self::T as RlstScalar>::Real, EntityDescriptor = ReferenceCellType>
type ParallelGrid: ParallelGrid<C> + Grid<T = <Self::T as RlstScalar>::Real, EntityDescriptor = ReferenceCellType>
Parallel grid type
sourcetype LocalSpace<'a>: FunctionSpace<T = Self::T> + Sync
where
Self: 'a
type LocalSpace<'a>: FunctionSpace<T = Self::T> + Sync where Self: 'a
The type of the serial space on each process
Required Methods§
sourcefn grid(&self) -> &Self::ParallelGrid
fn grid(&self) -> &Self::ParallelGrid
Get the grid
sourcefn local_space(&self) -> &Self::LocalSpace<'_>
fn local_space(&self) -> &Self::LocalSpace<'_>
Get the local space on the process
Object Safety§
This trait is not object safe.