]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Implement update_ghost_values stubs. 4406/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 21 May 2017 21:28:11 +0000 (17:28 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 21 May 2017 21:28:11 +0000 (17:28 -0400)
include/deal.II/lac/petsc_vector_base.h
include/deal.II/lac/trilinos_vector_base.h

index 5039e4e2ec48da77bb296bcfcc981ef7c8a0705c..f80781cec3db00b87e53cc4abfb14a7b2fa88442 100644 (file)
@@ -369,6 +369,14 @@ namespace PETScWrappers
      */
     bool has_ghost_elements() const;
 
+    /**
+     * This function only exists for compatibility with the @p
+     * LinearAlgebra::distributed::Vector class and does nothing: this class
+     * implements ghost value updates in a different way that is a better fit
+     * with the underlying PETSc vector object.
+     */
+    void update_ghost_values () const;
+
     /**
      * Provide access to a given element, both read and write.
      */
@@ -1107,6 +1115,13 @@ namespace PETScWrappers
 
 
 
+  inline
+  void
+  VectorBase::update_ghost_values () const
+  {}
+
+
+
   inline
   internal::VectorReference
   VectorBase::operator () (const size_type index)
index 3a8718b5b04fd96e80b183b5572aa049858a710d..54d5043f5c141b671d133042d499df70e9430e7e 100644 (file)
@@ -412,6 +412,14 @@ namespace TrilinosWrappers
      */
     bool has_ghost_elements() const;
 
+    /**
+     * This function only exists for compatibility with the @p
+     * LinearAlgebra::distributed::Vector class and does nothing: this class
+     * implements ghost value updates in a different way that is a better fit
+     * with the underlying Trilinos vector object.
+     */
+    void update_ghost_values () const;
+
     /**
      * Return the scalar (inner) product of two vectors. The vectors must have
      * the same size.
@@ -1018,6 +1026,13 @@ namespace TrilinosWrappers
 
 
 
+  inline
+  void
+  VectorBase::update_ghost_values () const
+  {}
+
+
+
   inline
   internal::VectorReference
   VectorBase::operator () (const size_type index)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.