// now get the values of the shift
// vectors at the vertices
Vector<double> mapping_values (shiftmap_dof_handler->get_fe().dofs_per_cell);
-
- // @whattodo Some of the problems in petsc_vector_base.h are instantiated here.
- // dof_cell->get_dof_values (*euler_transform_vectors, mapping_values); <- complaint line
- Assert ((false), ExcMessage ("This function is corrupt: @whattodo"));
+ dof_cell->get_dof_values (*euler_transform_vectors, mapping_values);
for (unsigned int i=0; i<GeometryInfo<dim>::vertices_per_cell; ++i)
{
// ---------------------------------------------------------------------
-
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
+// TODO[TY]: allow this to be instantiated by PETScWrappers::Vector and PETSC_WITH_COMPLEX
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
#if deal_II_dimension <= deal_II_space_dimension
template class MappingQ1Eulerian<deal_II_dimension, Vector<double>, deal_II_space_dimension>;
template class MappingQ1Eulerian<deal_II_dimension, Vector<float>, deal_II_space_dimension>;
#ifdef DEAL_II_WITH_PETSC
+#ifdef PETSC_WITH_COMPLEX
template class MappingQ1Eulerian<deal_II_dimension, PETScWrappers::Vector, deal_II_space_dimension>;
#endif
+#endif
#endif
}