24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/at0.h" 48 static const std::string result(
"at0_row_dofs_type");
52 ensure(!result.empty());
86 require(xindex>=0 && xindex<d());
90 T& result = components[xindex];
106 require(xindex>=0 && xindex<d());
110 const T& result = components[xindex];
119 template <
typename T>
128 T& result = components[0];
138 template <
typename T>
147 T& result =
const_cast<T&
>(components[0]);
157 template <
typename T>
166 components[0] = xcomp;
174 template <
typename T>
197 #ifndef DOXYGEN_SKIP_IMPLEMENTATIONS 199 template <
typename T>
200 std::ostream& operator<<(std::ostream& xos, const at0_row_dofs_type<T>& xrdt)
203 for(
int i=0; i<ld; ++i)
205 xos <<
" " << xrdt.components[i];
211 #endif // ifndef DOXYGEN_SKIP_IMPLEMENTATIONS 215 #endif // ifndef AT0_IMPL_H Row dofs type for class at0.
static int d()
The dimension of the row dof components.
at0_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.
T & operator[](int xindex)
Value of xindex-th component (row dof) (non const version).
Namespace for the fiber_bundles component of the sheaf system.