dune-composites (2.5.1)
multicommdatahandle.hh
51 DUNE_THROW(Exception,"Received remote rank " << remote_rank << ", but it's not in the given neighbor set!");
59 if (target_view.cache().gridFunctionSpace().entitySet().partitions().contains(e.partitionType())) {
61 DUNE_THROW(Exception,"size mismatch in GridFunctionSpace data handle, have " << target_view.size() << "DOFs, but received " << n);
74 DUNE_THROW(Exception,"expected no DOFs in partition '" << e.partitionType() << "', but have " << target_view.size());
89 MultiCommGatherScatter(const GFS& gfs, RankIndex rank, std::vector<std::shared_ptr<V> > _target_vectors, std::vector<RankIndex> _neighbor_ranks)
90 : _rank(rank), target_vectors(_target_vectors), neighbor_ranks(_neighbor_ranks), _index_cache(gfs)
138 MultiCommDataHandle(const GFS& gfs_, V& v_, std::vector<std::shared_ptr<V> > target_vectors, std::vector<RankIndex> neighbor_ranks)
139 : BaseT(gfs_,v_,MultiCommGatherScatter<GFS, RankIndex, V>(gfs_, gfs_.gridView().comm().rank(), target_vectors, neighbor_ranks),
140 Dune::PDELab::EntityDataCommunicationDescriptor<typename V::ElementType>(dim+1)) // Request size 2 to store rank + DOF
Definition: multicommdatahandle.hh:15
MultiCommGatherScatter(const GFS &gfs, RankIndex rank, std::vector< std::shared_ptr< V > > _target_vectors, std::vector< RankIndex > _neighbor_ranks)
Create a DisjointPartitioningGatherScatter object.
Definition: multicommdatahandle.hh:89
