]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Instantiate to workaround link errors in dof_accessor_xxx. There should be a prettier...
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 6 Oct 2013 21:53:21 +0000 (21:53 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 6 Oct 2013 21:53:21 +0000 (21:53 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31156 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_accessor_get.inst.in
deal.II/source/dofs/dof_accessor_set.inst.in

index 75d1009f0628695d49df9556425043bc18c12732..bb7c505ad9f953d61277ff1e0ec682a0302984ad 100644 (file)
@@ -70,3 +70,151 @@ for (VEC : SERIAL_VECTORS; SCALAR : REAL_SCALARS; deal_II_dimension : DIMENSIONS
 #endif
   }
 
+// ---------------- COMPLEX SCALARS -----------------
+
+for (deal_II_dimension : DIMENSIONS; lda : BOOL)
+  {
+#ifdef PETSC_USE_COMPLEX
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::Vector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::Vector&, Vector<std::complex<double> >&) const;
+
+#if deal_II_dimension != 3
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::Vector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::Vector&, Vector<std::complex<double> >&) const;
+
+#endif
+
+#if deal_II_dimension == 3
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<1,3>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<1,3>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<1,3>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::Vector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<1,3>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::Vector&, Vector<std::complex<double> >&) const;
+
+#endif
+
+  }
+
+
+for (deal_II_dimension : DIMENSIONS; lda : BOOL)
+  {
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::Vector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::Vector&, Vector<std::complex<double> >&) const;
+
+#if deal_II_dimension != 3
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::Vector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::Vector&, Vector<std::complex<double> >&) const;
+
+#endif
+
+#if deal_II_dimension == 3
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<1,3>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<1,3>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::BlockVector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<1,3>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::Vector&, Vector<std::complex<double> >&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<1,3>, lda>::get_interpolated_dof_values
+      (const PETScWrappers::MPI::Vector&, Vector<std::complex<double> >&) const;
+
+#endif
+#endif //  PETSC_USE_COMPLEX
+  }
+
index 74948318e8a2fbb00f5def3b51e19e5a745b318f..4d8c31f89bee10fe442a4d30715396fed03d5cde 100644 (file)
@@ -13,9 +13,6 @@
 // the top level of the deal.II distribution.
 //
 // ---------------------------------------------------------------------
-
-
-
 for (VEC : SERIAL_VECTORS; SCALAR : REAL_SCALARS; deal_II_dimension : DIMENSIONS; lda : BOOL)
   {
     template
@@ -70,3 +67,148 @@ for (VEC : SERIAL_VECTORS; SCALAR : REAL_SCALARS; deal_II_dimension : DIMENSIONS
 #endif
   }
 
+// ---------------- COMPLEX SCALARS -----------------
+for (deal_II_dimension : DIMENSIONS; lda : BOOL)
+  {
+#ifdef PETSC_USE_COMPLEX
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::Vector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::Vector&) const;
+
+#if deal_II_dimension != 3
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::Vector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::Vector&) const;
+
+#endif
+
+#if deal_II_dimension == 3
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<1,3>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<1,3>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<1,3>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::Vector&) const;
+
+    template
+      void
+      DoFCellAccessor<DoFHandler<1,3>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::Vector&) const;
+
+#endif
+
+  }
+
+for (deal_II_dimension : DIMENSIONS; lda : BOOL)
+  {
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::Vector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::Vector&) const;
+
+#if deal_II_dimension != 3
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::Vector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::Vector&) const;
+
+#endif
+
+#if deal_II_dimension == 3
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<1,3>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<1,3>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::BlockVector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<1,3>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::Vector&) const;
+
+    template
+      void
+      DoFCellAccessor<hp::DoFHandler<1,3>, lda>::set_dof_values_by_interpolation
+      (const Vector<std::complex<double> >&, PETScWrappers::MPI::Vector&) const;
+
+#endif
+#endif //  PETSC_USE_COMPLEX
+  }

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.