112 return std::pair<size_t, size_t>(0, 0);
125 while (dof_numbering.first != dof_numbering.second) { *index++ = dof_numbering.first++; }
141 template <
typename T>
142 T* get_dof(
const T* global_dof, T* local_dof)
const {
145 global_dof + dof_numbering.first, global_dof + dof_numbering.second, local_dof);
148 struct ListDofField {
149 std::map<std::string, size_t>& field_name;
150 b2linalg::Index& index;
151 void add(
const std::string& name, std::pair<size_t, size_t> global_dof_numbering) {
153 index.begin() + global_dof_numbering.first,
154 index.begin() + global_dof_numbering.second,
155 field_name.insert(std::pair<std::string, size_t>(name, field_name.size()))
160 virtual void add_dof_field(ListDofField& ldfield) {