namespace boost
{
-#ifndef DEAL_II_BOOST_GRAPH_COMPILER_BUG
namespace types
{
using namespace ::boost;
graph_degree[*ui] = degree(*ui, graph);
}
}
-#endif
template <class DH>
const bool reversed_numbering,
const bool use_constraints)
{
-#ifdef DEAL_II_BOOST_GRAPH_COMPILER_BUG
- (void)new_dof_indices;
- (void)dof_handler;
- (void)reversed_numbering;
- (void)use_constraints;
- Assert (false,
- ExcMessage ("Due to a bug in your compiler, this function triggers an internal "
- "compiler error and has been disabled. If you need to use the "
- "function, you need to upgrade to a newer version of the compiler."));
-#else
types::Graph
graph(dof_handler.n_dofs());
types::property_map<types::Graph,types::vertex_degree_t>::type
Assert (std::find (new_dof_indices.begin(), new_dof_indices.end(),
DH::invalid_dof_index) == new_dof_indices.end(),
ExcInternalError());
-#endif
}
const bool reversed_numbering,
const bool use_constraints)
{
-#ifdef DEAL_II_BOOST_GRAPH_COMPILER_BUG
- (void)new_dof_indices;
- (void)dof_handler;
- (void)reversed_numbering;
- (void)use_constraints;
- Assert (false,
- ExcMessage ("Due to a bug in your compiler, this function triggers an internal "
- "compiler error and has been disabled. If you need to use the "
- "function, you need to upgrade to a newer version of the compiler."));
-#else
types::Graph
graph(dof_handler.n_dofs());
types::property_map<types::Graph,types::vertex_degree_t>::type
Assert (std::find (new_dof_indices.begin(), new_dof_indices.end(),
DH::invalid_dof_index) == new_dof_indices.end(),
ExcInternalError());
-#endif
}