]> https://gitweb.dealii.org/ - dealii.git/commitdiff
PETScWrappers::MPI::Vector use VectorBase contructor from Vec 14682/head
authorStefano Zampini <stefano.zampini@gmail.com>
Fri, 25 Nov 2022 13:19:07 +0000 (16:19 +0300)
committerStefano Zampini <stefano.zampini@gmail.com>
Mon, 16 Jan 2023 08:33:02 +0000 (11:33 +0300)
include/deal.II/lac/petsc_vector.h

index 842ec2dee4741d6861e44b6da5c0d658114ac324..520226ba74b0abe072a63d25071cd7e6bb035575 100644 (file)
@@ -168,6 +168,11 @@ namespace PETScWrappers
        */
       Vector();
 
+      /**
+       * Import VectorBase constructors, including from a PETSc Vec object.
+       */
+      using VectorBase::VectorBase;
+
       /**
        * Constructor. Set dimension to @p n and initialize all elements with
        * zero.

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.