* Return the local position of @p global_index.
*/
unsigned int
- global_to_local(const types::global_dof_index global_index) const
- {
- // the following will throw an exception if the global_index is not
- // in the remaining_elements
- return static_cast<unsigned int>(
- stored_elements.index_within_set(global_index));
- }
+ global_to_local(const types::global_dof_index global_index) const;
/**
* A helper function that is used to resize the val array.
#ifndef DOXYGEN
+
template <typename Number>
inline ReadWriteVector<Number>::ReadWriteVector()
: Subscriptor()
+ template <typename Number>
+ inline unsigned int
+ ReadWriteVector<Number>::global_to_local(
+ const types::global_dof_index global_index) const
+ {
+ // the following will throw an exception if the global_index is not
+ // in the remaining_elements
+ return static_cast<unsigned int>(
+ stored_elements.index_within_set(global_index));
+ }
+
+
+
template <typename Number>
template <typename Functor>
inline ReadWriteVector<Number>::FunctorTemplate<Functor>::FunctorTemplate(