Public Member Functions | |
virtual | ~GhostImporter () |
virtual void | importView (const Vector< Scalar > &x, RCP< GhostView< Scalar > > &ghostView) const =0 |
Class GhostImporter is used to specify the set of ghost elements that must be imported to this processor, and then to carry out the import. It will often be the case that we do many imports with the same set of ghost indices; for example, in a nonlinear problem the import of the same set of ghost indices will be repeated at each function evaluation. Therefore, it makes sense to do the definition of the ghost index set and the import as distinct methods. The definition of the ghost index set should be done in the constructors of GhostImporter subclasses.
Definition at line 41 of file PlayaGhostImporter.hpp.
virtual Playa::GhostImporter< Scalar >::~GhostImporter | ( | ) | [inline, virtual] |
virtual dtor
Definition at line 45 of file PlayaGhostImporter.hpp.
virtual void Playa::GhostImporter< Scalar >::importView | ( | const Vector< Scalar > & | x, | |
RCP< GhostView< Scalar > > & | ghostView | |||
) | const [pure virtual] |
Import the ghost elements of the given vector as specified during construction of this object.
Implemented in Playa::EpetraGhostImporter, and Playa::SerialGhostImporter.