1 #ifndef DUNE_FEM_RANGEGENERATORS_HH 2 #define DUNE_FEM_RANGEGENERATORS_HH 4 #include <dune/common/iteratorrange.hh> 11 #if HAVE_RANGE_BASED_FOR 59 inline IteratorRange<typename DF::DiscreteFunctionSpaceType::IteratorType> entities(
const DF& df)
61 typedef IteratorRange<typename DF::DiscreteFunctionSpaceType::IteratorType> ReturnType;
62 return ReturnType(df.space().begin(),df.space().end());
78 inline IteratorRange<typename DF::DofIteratorType> dofs(DF& df)
80 typedef IteratorRange<typename DF::DofIteratorType> ReturnType;
81 return ReturnType(df.dbegin(),df.dend());
97 inline IteratorRange<typename DF::ConstDofIteratorType> dofs(
const DF& df)
99 typedef IteratorRange<typename DF::ConstDofIteratorType> ReturnType;
100 return ReturnType(df.dbegin(),df.dend());
105 #endif // HAVE_RANGE_BASED_FOR 111 #endif // DUNE_FEM_RANGEGENERATORS_HH
Definition: coordinate.hh:4