}
}
}
-
+
// write the svg file
if (width==0)
// explicit instantiations
-#define INSTANTIATE(dim,spacedim) \
- template class DataOutInterface<dim,spacedim>; \
- template class DataOutReader<dim,spacedim>; \
- template struct DataOutBase::Patch<dim,spacedim>; \
- template \
- std::ostream & \
- operator << (std::ostream &out, \
- const DataOutBase::Patch<dim,spacedim> &patch); \
- template \
- std::istream & \
- operator >> (std::istream &in, \
- DataOutBase::Patch<dim,spacedim> &patch)
-
-INSTANTIATE(1,1);
-INSTANTIATE(2,2);
-INSTANTIATE(3,3);
-INSTANTIATE(4,4);
-INSTANTIATE(1,2);
-INSTANTIATE(1,3);
-INSTANTIATE(2,3);
-INSTANTIATE(3,4);
-
-#undef INSTANTIATE
+#include "data_out_base.inst"
DEAL_II_NAMESPACE_CLOSE
--- /dev/null
+// ---------------------------------------------------------------------
+// $Id$
+//
+// Copyright (C) 2013 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// The deal.II library is free software; you can use it, redistribute
+// it, and/or modify it under the terms of the GNU Lesser General
+// Public License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// The full text of the license can be found in the file LICENSE at
+// the top level of the deal.II distribution.
+//
+// ---------------------------------------------------------------------
+
+
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
+{
+#if deal_II_dimension <= deal_II_space_dimension
+ template class DataOutInterface<deal_II_dimension, deal_II_space_dimension>;
+ template class DataOutReader<deal_II_dimension, deal_II_space_dimension>;
+ template struct DataOutBase::Patch<deal_II_dimension, deal_II_space_dimension>;
+
+ template
+ std::ostream &
+ operator << (std::ostream &out,
+ const DataOutBase::Patch<deal_II_dimension, deal_II_space_dimension> &patch);
+
+ template
+ std::istream &
+ operator >> (std::istream &in,
+ DataOutBase::Patch<deal_II_dimension, deal_II_space_dimension> &patch);
+#endif
+}
// things for DataOutRotation
+#if deal_II_dimension < 3
template void
DataOut_DoFData<DH<deal_II_dimension,deal_II_dimension>,deal_II_dimension+1,deal_II_dimension+1>::
add_data_vector<VEC> (const VEC &,
add_data_vector<VEC> (const DH<deal_II_dimension,deal_II_dimension> &,
const VEC &,
const DataPostprocessor<DH<deal_II_dimension,deal_II_dimension>::space_dimension> &);
-
+#endif
// codim 1
- #if deal_II_dimension < 3
+#if deal_II_dimension < 3
template void
DataOut_DoFData<DH<deal_II_dimension,deal_II_dimension+1>,deal_II_dimension,deal_II_dimension+1>::
add_data_vector<VEC> (const VEC &,
add_data_vector<VEC> (const DH<deal_II_dimension,deal_II_dimension+1> &,
const VEC &,
const DataPostprocessor<DH<deal_II_dimension,deal_II_dimension+1>::space_dimension> &);
- #endif
+#endif
// things for DataOutRotation
+#if deal_II_dimension < 3
template void
DataOut_DoFData<DH<deal_II_dimension,deal_II_dimension>,deal_II_dimension+1,deal_II_dimension+1>::
add_data_vector<IndexSet> (const IndexSet &,
const IndexSet &,
const std::vector<std::string> &,
const std::vector<DataComponentInterpretation::DataComponentInterpretation> &);
+#endif
// codim 1
- #if deal_II_dimension < 3
+#if deal_II_dimension < 3
template void
DataOut_DoFData<DH<deal_II_dimension,deal_II_dimension+1>,deal_II_dimension,deal_II_dimension+1>::
add_data_vector<IndexSet> (const IndexSet &,
DataOut_DoFData<DH<deal_II_dimension,deal_II_dimension+1>,deal_II_dimension,deal_II_dimension+1>::
add_data_vector<IndexSet> (const IndexSet &,
const DataPostprocessor<DH<deal_II_dimension,deal_II_dimension+1>::space_dimension> &);
- #endif
+#endif
}
for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS)
{
template class DataOut_DoFData<DH<deal_II_dimension>,deal_II_dimension>;
- template class DataOut_DoFData<DH<deal_II_dimension>,deal_II_dimension+1>;
- #if deal_II_dimension < 3
+#if deal_II_dimension < 3
+ template class DataOut_DoFData<DH<deal_II_dimension>,deal_II_dimension+1>;
template class DataOut_DoFData<DH<deal_II_dimension>,deal_II_dimension,deal_II_dimension+1>;
template class DataOut_DoFData<DH<deal_II_dimension,deal_II_dimension+1>,deal_II_dimension,deal_II_dimension+1>;
- #endif
+#endif
- #if deal_II_dimension >= 2
+#if deal_II_dimension >= 2
template class DataOut_DoFData<DH<deal_II_dimension>,deal_II_dimension-1,deal_II_dimension>;
- #endif
+#endif
- #if deal_II_dimension == 3
+#if deal_II_dimension == 3
template class DataOut_DoFData<DH<1>,1,3>;
template class DataOut_DoFData<DH<1,3>,1,3>;
- #endif
+#endif
}
namespace DataOut \{
#if deal_II_dimension <= deal_II_space_dimension
template
- void
+ void
ParallelDataBase<deal_II_dimension,deal_II_space_dimension>::
reinit_all_fe_values<dealii::DH<deal_II_dimension,deal_II_space_dimension> >
(std::vector<std_cxx1x::shared_ptr<DataEntryBase<dealii::DH<deal_II_dimension,deal_II_space_dimension> > > > &dof_data,