|
dune-pdelab 2.8
|
Loading...
Searching...
No Matches
parallelhelper.hh
Go to the documentation of this file.
329 static_assert(is_bcrs_matrix && block_type_is_field_matrix, "matrix structure not compatible with AMG");
386 _gfs.gridView().communicate(data_handle,_interiorBorder_all_interface,Dune::ForwardCommunication);
452 static_assert(Dune::AlwaysFalse<Dune::UGGrid<dim> >::value, "Using sequential UG in parallel environment");
int count() const
auto dot(const A &a, const B &b) -> typename std::enable_if<!IsVector< A >::value &&!std::is_same< typename FieldTraits< A >::field_type, typename FieldTraits< A >::real_type > ::value, decltype(conj(a) *b)>::type
static constexpr size_type M()
auto mask(const V &v)
Rebind< bool, V > Mask
DVerbType dverb
typename impl::BackendVectorSelector< GridFunctionSpace, FieldType >::Type Vector
alias of the return type of BackendVectorSelector
Definition backend/interface.hh:106
std::enable_if< std::is_base_of< impl::WrapperBase, T >::value, Native< T > & >::type native(T &t)
Definition backend/interface.hh:192
typename native_type< T >::type Native
Alias of the native container type associated with T or T itself if it is not a backend wrapper.
Definition backend/interface.hh:176
tags::container< T >::type container_tag(const T &)
Gets instance of container tag associated with T.
Definition backend/istl/tags.hh:234
For backward compatibility – Do not use this!
InterfaceType
ForwardCommunication
InteriorBorder_All_Interface
All_All_Interface
InteriorBorder_InteriorBorder_Interface
constexpr InteriorBorder interiorBorder
AttributeSet
Definition parallelhelper.hh:51
PromotionTraits< typenameX::field_type, typenameY::field_type >::PromotedType disjointDot(const X &x, const Y &y) const
Calculates the (rank-local) dot product of x and y on the disjoint partition defined by the helper.
Definition parallelhelper.hh:179
const std::vector< RankIndex > & getNeighborRanks() const
Returns a sorted list of the ranks of all neighboring processes.
Definition parallelhelper.hh:119
bool owned(const ContainerIndex &i) const
Tests whether the given index is owned by this process.
Definition parallelhelper.hh:162
RankIndex rank() const
Returns the MPI rank of this process.
Definition parallelhelper.hh:248
bool isGhost(const ContainerIndex &i) const
Tests whether the given index belongs to a ghost DOF.
Definition parallelhelper.hh:168
ParallelHelper(const GFS &gfs, int verbose=1)
Definition parallelhelper.hh:66
void createIndexSetAndProjectForAMG(MatrixType &m, Comm &c)
Makes the matrix consistent and creates the parallel information for AMG.
void maskForeignDOFs(X &x) const
Mask out all DOFs not owned by the current process with 0.
Definition parallelhelper.hh:126
Definition parallelhelper.hh:428
Dune::Amg::SequentialInformation type
Definition parallelhelper.hh:429
OwnerOverlapCopyCommunication< bigunsignedint< s >, int > type
Definition parallelhelper.hh:439
Tag describing a BlockVector.
Definition backend/istl/tags.hh:24
Tag describing an arbitrary FieldVector.
Definition backend/istl/tags.hh:44
Tag describing an arbitrary FieldMatrix.
Definition backend/istl/tags.hh:81
Extracts the container tag from T.
Definition backend/istl/tags.hh:143
Definition genericdatahandle.hh:761
GatherScatter data handle for creating a disjoint DOF partitioning.
Definition genericdatahandle.hh:983
Data handle for marking shared DOFs.
Definition genericdatahandle.hh:1062
Data handle for collecting set of neighboring MPI ranks.
Definition genericdatahandle.hh:1105
T accumulate(T... args)
T begin(T... args)
T endl(T... args)
T insert(T... args)
T push_back(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8