38 if( (i < 0) || (i >= rows_.size()) )
42 "void Foam::VRWGraphList<T,width>::"
43 "checkIndex(const label i, const label j, const label k) const"
49 if( (j < 0) || (j >= rows_[i].size()) )
52 "void Foam::VRWGraphList<T,width>::"
53 "checkIndex(label const i, const label j, const label k) const"
58 if( (
k < 0) || (
k >= data_.sizeOfRow(rows_[i].start()+j)) )
61 "void Foam::VRWGraphList<T,width>::"
62 "checkIndex(label const i, const label j, const label k) const"
65 <<
" and " << data_.sizeOfRow(rows_[i].start()+j)
103 return rows_[posI].size();
112 return data_.sizeOfRow(rows_[posI].start()+rowI);
121 template<
class GraphType>
129 for(
label i=0;i<l.size();++i)
130 data_.appendList(l[i]);
148 return data_(rows_[i].start() + j,
k);
161 return data_(rows_[i].start() + j,
k);