9 #ifndef _fei_set_dof_mappings_hpp_
10 #define _fei_set_dof_mappings_hpp_
18 template<
class LocalOrdinal,
class GlobalOrdinal,
class DofOrder>
25 typename DofMap::iterator
30 GlobalOrdinal index = first_index;
31 for(; d_iter != d_end; ++d_iter) {
32 LocalOrdinal fieldsize = dof_mapper.
getFieldSize(d_iter->first.field());
33 d_iter->second = index;
34 idxmap.insert(std::make_pair(index, &(d_iter->first)));
DofMap::const_iterator begin_dof() const
std::map< Dof< LocalOrdinal, GlobalOrdinal >, GlobalOrdinal, DofOrder > DofMap
void set_maps_are_valid(bool flag)
const IdxMap & get_idx_dof_map() const
DofMap::const_iterator end_dof() const
std::map< GlobalOrdinal, const Dof< LocalOrdinal, GlobalOrdinal > * > IdxMap
void set_dof_mappings(GlobalOrdinal first_index, fei::DofMapper< LocalOrdinal, GlobalOrdinal, DofOrder > &dof_mapper)
LocalOrdinal getFieldSize(LocalOrdinal field) const