24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/gl2.h" 48 static const std::string result(
"gl2_row_dofs_type");
52 ensure(!result.empty());
86 ensure(xindex>=0 && xindex<d());
90 T& result = components[xindex];
106 ensure(xindex>=0 && xindex<d());
110 const T& result = components[xindex];
119 template <
typename T>
136 template <
typename T>
153 template <
typename T>
162 T& comp0 = components[0];
172 template <
typename T>
181 T& comp0 =
const_cast<T&
>(components[0]);
191 template <
typename T>
202 T& comp4 = components[4];
212 template <
typename T>
223 T& comp4 =
const_cast<T&
>(components[4]);
233 template <
typename T>
256 #ifndef DOXYGEN_SKIP_IMPLEMENTATIONS 257 template <
typename T>
258 std::ostream& operator<<(std::ostream& xos, const gl2_row_dofs_type<T>& xrdt)
261 for(
int i=0; i<ld; ++i)
263 xos <<
" " << xrdt.components[i];
268 #endif // ifndef DOXYGEN_SKIP_IMPLEMENTATIONS 272 #endif // ifndef GL2_IMPL_H General matrix with 2 rows and 2 columns.
Row dofs type for class gl2.
matrix_type & component_matrix()
The associated component transformation matrix (non const version).
static int d()
The dimension of the row dof components.
matrix_type & basis_matrix()
The associated basis transformation matrix (non const version).
T & operator[](int xindex)
Value of xindex-th component (row dof) (non const version).
gl2_row_dofs_type< T > * clone() const
Creates a new instance of the same type as this.
static const std::string & static_class_name()
The name of this class.
Namespace for the fiber_bundles component of the sheaf system.