| 136 | |
| 137 | template<class Form, class Cmpt, direction Ncmpts> |
| 138 | inline void VectorSpace<Form, Cmpt, Ncmpts>::component |
| 139 | ( |
| 140 | Cmpt& c, |
| 141 | const direction d |
| 142 | ) const |
| 143 | { |
| 144 | #ifdef FULLDEBUG |
| 145 | if (d >= Ncmpts) |
| 146 | { |
| 147 | FatalErrorInFunction |
| 148 | << "index out of range" |
| 149 | << abort(FatalError); |
| 150 | } |
| 151 | #endif |
| 152 | |
| 153 | c = v_[d]; |
| 154 | } |
| 155 | |
| 156 | |
| 157 | template<class Form, class Cmpt, direction Ncmpts> |
no test coverage detected