const ConstraintMatrix &constraints,
OutVector &z2);
+#ifdef DEAL_II_WITH_P4EST
/*
* Same as above for external parallel VectorTypes
* on a parallel::distributed::Triangulation
const DoFHandler<dim,spacedim> &dof2,
const ConstraintMatrix &constraints2,
LinearAlgebra::distributed::Vector<Number> &u2);
+#endif //DEAL_II_WITH_P4EST
//@}
/**
}
-
namespace internal
{
+#ifdef DEAL_II_WITH_P4EST
/**
* Implementation of the @p extrapolate function
* on parallel distributed grids.
u2.compress(VectorOperation::insert);
}
-
-
+#endif //DEAL_II_WITH_P4EST
namespace
{
+#ifdef DEAL_II_WITH_P4EST
template <int dim, class InVector, class OutVector, int spacedim>
void extrapolate_parallel(const InVector &u2_relevant,
const DoFHandler<dim,spacedim> &dof2,
extrapolate_serial (u2_relevant, dof2, u2);
}
}
+#endif //DEAL_II_WITH_P4EST
}
}
-
-
template <int dim, class InVector, class OutVector, int spacedim>
void extrapolate(const DoFHandler<dim,spacedim> &dof1,
const InVector &u1,
}
-
+#ifdef DEAL_II_WITH_P4EST
template <int dim, class VectorType, int spacedim>
void extrapolate_parallel(const DoFHandler<dim,spacedim> &dof1,
const VectorType &u1,
constraints2.distribute(u2);
}
-
+#endif //DEAL_II_WITH_P4EST
} // end of namespace FETools
for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
+#ifdef DEAL_II_WITH_P4EST
namespace FETools
\{
#if deal_II_dimension == deal_II_space_dimension
#endif
\}
+#endif //DEAL_II_WITH_P4EST
}
for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS; scalar : REAL_SCALARS)
{
+#ifdef DEAL_II_WITH_P4EST
namespace FETools
\{
#if deal_II_dimension == deal_II_space_dimension
LinearAlgebra::distributed::Vector<scalar> &);
#endif
\}
+#endif //DEAL_II_WITH_P4EST
}