24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/gl3.h" 48 static const std::string result(
"gl3_row_dofs_type");
52 ensure(!result.empty());
86 ensure(xindex>=0 && xindex<d());
90 T& result = components[xindex];
101 template <
typename T>
108 ensure(xindex>=0 && xindex<d());
112 const T& result = components[xindex];
123 template <
typename T>
140 template <
typename T>
157 template <
typename T>
166 T& comp0 = components[0];
176 template <
typename T>
185 T& comp0 =
const_cast<T&
>(components[0]);
195 template <
typename T>
206 T& comp9 = components[9];
216 template <
typename T>
227 T& comp9 =
const_cast<T&
>(components[9]);
237 template <
typename T>
261 #ifndef DOXYGEN_SKIP_IMPLEMENTATIONS 262 template <
typename T>
263 std::ostream& operator<<(std::ostream& xos, const gl3_row_dofs_type<T>& xrdt)
266 for(
int i=0; i<ld; ++i)
268 xos <<
" " << xrdt.components[i];
273 #endif // ifndef DOXYGEN_SKIP_IMPLEMENTATIONS 277 #endif // ifndef GL3_IMPL_H gl3_row_dofs_type< T > * clone() const
Creates a new instance of the same type as this.
static int d()
The dimension of the row dof components.
T & operator[](int xindex)
Value of xindex-th component (row dof) (non const version).
Row dofs type for class gl3.
matrix_type & basis_matrix()
The associated basis transformation matrix (non const version).
matrix_type & component_matrix()
The associated component transformation matrix (non const version).
General matrix with 3 rows and 3 columns.
Namespace for the fiber_bundles component of the sheaf system.
static const std::string & static_class_name()
The name of this class.