Block parallel preconditioner. More...
#include <ParallelRestrictedAdditiveSchwarz.hpp>
Public Types | |
enum | { category =Dune::SolverCategory::overlapping } |
typedef Domain | domain_type |
The domain type of the preconditioner. | |
typedef Range | range_type |
The range type of the preconditioner. | |
typedef Domain::field_type | field_type |
The field type of the preconditioner. | |
typedef ParallelInfo | communication_type |
The type of the communication object. | |
Public Member Functions | |
ParallelRestrictedOverlappingSchwarz (SeqPreconditioner &p, const communication_type &c) | |
Constructor. More... | |
virtual void | pre (Domain &x, Range &b) |
Prepare the preconditioner. More... | |
virtual void | apply (Domain &v, const Range &d) |
Apply the preconditioner. More... | |
template<bool forward> | |
void | apply (Domain &v, const Range &d) |
virtual void | post (Range &x) |
Clean up. More... | |
Friends | |
class | Dune::Amg::ConstructionTraits< ParallelRestrictedOverlappingSchwarz< Range, Domain, ParallelInfo, SeqPreconditioner > > |
Block parallel preconditioner.
This is essentially a wrapper that takes a sequential preconditioner. In each step the sequential preconditioner is applied to the whole subdomain and then all owner data points are updated on all other processes from the processor that knows the complete matrix row for this data point (in dune-istl speak that is the one that owns the data).
Note that this is different from the usual approach in dune-istl where the application of the sequential preconditioner only takes place on the (owner) partition of the process disregarding any overlap/ghost region.
For more information see https://www.cs.colorado.edu/~cai/papers/rash.pdf
Domain | The type of the Vector representing the domain. |
Range | The type of the Vector representing the range. |
ParallelInfo | The type of the parallel information object used, e.g. Dune::OwnerOverlapCommunication |
SeqPreconditioner | The underlying sequential preconditioner to use. |
anonymous enum |
|
inline |
Constructor.
constructor gets all parameters to operate the prec.
p | The sequential preconditioner. |
c | The communication object for syncing overlap and copy data points. (E.~g. OwnerOverlapCommunication ) |
|
inlinevirtual |
Apply the preconditioner.
|
inlinevirtual |
Clean up.
|
inlinevirtual |
Prepare the preconditioner.