Assert (i<2, ExcIndexRange(i,0,2));
TriaIterator<dim,TriaObjectAccessor<1,dim> >
- q (tria, this->present_level+1, child_index (i));
+ q (this->tria, this->present_level+1, child_index (i));
Assert ((q.state() == IteratorState::past_the_end) || q->used(),
typename TriaAccessor<dim>::ExcUnusedCellAsChild());
return
TriaIterator<dim,TriaObjectAccessor<1,dim> >
(
- tria,
+ this->tria,
this->present_level,
line_index (i)
);
Assert (i<4, ExcIndexRange(i,0,4));
TriaIterator<dim,TriaObjectAccessor<2,dim> >
- q (tria, this->present_level+1, child_index (i));
+ q (this->tria, this->present_level+1, child_index (i));
Assert ((q.state() == IteratorState::past_the_end) || q->used(),
typename TriaAccessor<dim>::ExcUnusedCellAsChild());
return this->quad(4)->line(3);
};
Assert (false, ExcIndexRange(i,0,12));
- return TriaIterator<dim,TriaObjectAccessor<1,dim> >(tria, -1, -1, 0);
+ return TriaIterator<dim,TriaObjectAccessor<1,dim> >(this->tria, -1, -1, 0);
};
return
TriaIterator<dim,TriaObjectAccessor<2,dim> >
(
- tria,
+ this->tria,
this->present_level,
quad_index (i)
);
{
Assert (i<8, ExcIndexRange(i,0,8));
- TriaIterator<dim,TriaObjectAccessor<3,dim> > q (tria, this->present_level+1, child_index (i));
+ TriaIterator<dim,TriaObjectAccessor<3,dim> > q (this->tria, this->present_level+1, child_index (i));
Assert ((q.state() == IteratorState::past_the_end) || q->used(),
typename TriaAccessor<dim>::ExcUnusedCellAsChild());
// used() is called anyway, even if
// state==IteratorState::past_the_end, and will then
// throw the exception!
- if (state() != IteratorState::past_the_end)
- Assert (accessor.used(),
+ if (this->state() != IteratorState::past_the_end)
+ Assert (this->accessor.used(),
ExcAssignmentOfUnusedObject());
#endif
};
// used() is called anyway, even if
// state==IteratorState::past_the_end, and will then
// throw the exception!
- if (state() != IteratorState::past_the_end)
- Assert (accessor.used(),
+ if (this->state() != IteratorState::past_the_end)
+ Assert (this->accessor.used(),
ExcAssignmentOfUnusedObject());
#endif
};
inline
TriaIterator<dim,Accessor> &
TriaIterator<dim,Accessor>::operator = (const TriaIterator<dim,Accessor> &i) {
- accessor.copy_from (i.accessor);
+ this->accessor.copy_from (i.accessor);
return *this;
};
inline
TriaIterator<dim,Accessor> &
TriaIterator<dim,Accessor>::operator = (const TriaRawIterator<dim,Accessor> &i) {
- accessor.copy_from (i.accessor);
+ this->accessor.copy_from (i.accessor);
#ifdef DEBUG
// do this like this, because:
// if we write
// used() is called anyway, even if
// state==IteratorState::past_the_end, and will then
// throw the exception!
- if (state() != IteratorState::past_the_end)
+ if (this->state() != IteratorState::past_the_end)
Assert (accessor.used(),
ExcAssignmentOfUnusedObject());
#endif
inline
TriaIterator<dim,Accessor> & TriaIterator<dim,Accessor>::operator ++ () {
while (TriaRawIterator<dim,Accessor>::operator++(),
- (state() == IteratorState::valid))
- if (accessor.used() == true)
+ (this->state() == IteratorState::valid))
+ if (this->accessor.used() == true)
return *this;
return *this;
};
TriaIterator<dim,Accessor> &
TriaIterator<dim,Accessor>::operator -- () {
while (TriaRawIterator<dim,Accessor>::operator--(),
- (state() == IteratorState::valid))
- if (accessor.used() == true)
+ (this->state() == IteratorState::valid))
+ if (this->accessor.used() == true)
return *this;
return *this;
};
// has_children() is called anyway, even if
// state==IteratorState::past_the_end, and will then
// throw the exception!
- if (state() != IteratorState::past_the_end)
- Assert (accessor.has_children()==false,
+ if (this->state() != IteratorState::past_the_end)
+ Assert (this->accessor.has_children()==false,
ExcAssignmentOfInactiveObject());
#endif
};
// has_children() is called anyway, even if
// state==IteratorState::past_the_end, and will then
// throw the exception!
- if (state() != IteratorState::past_the_end)
- Assert (accessor.has_children()==false,
+ if (this->state() != IteratorState::past_the_end)
+ Assert (this->accessor.has_children()==false,
ExcAssignmentOfInactiveObject());
#endif
};
// has_children() is called anyway, even if
// state==IteratorState::past_the_end, and will then
// throw the exception!
- if (state() != IteratorState::past_the_end)
- Assert (accessor.has_children()==false,
+ if (this->state() != IteratorState::past_the_end)
+ Assert (this->accessor.has_children()==false,
ExcAssignmentOfInactiveObject());
#endif
};
inline
TriaActiveIterator<dim,Accessor> &
TriaActiveIterator<dim,Accessor>::operator = (const TriaActiveIterator<dim,Accessor> &i) {
- accessor.copy_from (i.accessor);
+ this->accessor.copy_from (i.accessor);
return *this;
};
inline
TriaActiveIterator<dim,Accessor> &
TriaActiveIterator<dim,Accessor>::operator = (const TriaRawIterator<dim,Accessor> &i) {
- accessor.copy_from (i.accessor);
+ this->accessor.copy_from (i.accessor);
#ifdef DEBUG
// do this like this, because:
// if we write
// has_chidlren() is called anyway, even if
// state==IteratorState::past_the_end, and will then
// throw the exception!
- if (state() != IteratorState::past_the_end)
+ if (this->state() != IteratorState::past_the_end)
Assert (accessor.used() && accessor.has_children()==false,
ExcAssignmentOfInactiveObject());
#endif
inline
TriaActiveIterator<dim,Accessor> &
TriaActiveIterator<dim,Accessor>::operator = (const TriaIterator<dim,Accessor> &i) {
- accessor.copy_from (i.accessor);
+ this->accessor.copy_from (i.accessor);
#ifdef DEBUG
// do this like this, because:
// if we write
// has_children() is called anyway, even if
// state==IteratorState::past_the_end, and will then
// throw the exception!
- if (state() != IteratorState::past_the_end)
+ if (this->state() != IteratorState::past_the_end)
Assert (accessor.has_children()==false,
ExcAssignmentOfInactiveObject());
#endif
TriaActiveIterator<dim,Accessor> &
TriaActiveIterator<dim,Accessor>::operator ++ () {
while (TriaIterator<dim,Accessor>::operator++(),
- (state() == IteratorState::valid))
- if (accessor.has_children() == false)
+ (this->state() == IteratorState::valid))
+ if (this->accessor.has_children() == false)
return *this;
return *this;
};
TriaActiveIterator<dim,Accessor> &
TriaActiveIterator<dim,Accessor>::operator -- () {
while (TriaIterator<dim,Accessor>::operator--(),
- (state() == IteratorState::valid))
- if (accessor.has_children() == false)
+ (this->state() == IteratorState::valid))
+ if (this->accessor.has_children() == false)
return *this;
return *this;
};
inline void
PreconditionJacobi<MATRIX>::vmult (VECTOR& dst, const VECTOR& src) const
{
- Assert (A!=0, ExcNotInitialized());
- A->precondition_Jacobi (dst, src, omega);
+ Assert (this->A!=0, ExcNotInitialized());
+ this->A->precondition_Jacobi (dst, src, this->omega);
}
inline void
PreconditionJacobi<MATRIX>::Tvmult (VECTOR& dst, const VECTOR& src) const
{
- Assert (A!=0, ExcNotInitialized());
- A->precondition_Jacobi (dst, src, omega);
+ Assert (this->A!=0, ExcNotInitialized());
+ this->A->precondition_Jacobi (dst, src, this->omega);
}
inline void
PreconditionSOR<MATRIX>::vmult (VECTOR& dst, const VECTOR& src) const
{
- Assert (A!=0, ExcNotInitialized());
- A->precondition_SOR (dst, src, omega);
+ Assert (this->A!=0, ExcNotInitialized());
+ this->A->precondition_SOR (dst, src, this->omega);
}
inline void
PreconditionSOR<MATRIX>::Tvmult (VECTOR& dst, const VECTOR& src) const
{
- Assert (A!=0, ExcNotInitialized());
- A->precondition_TSOR (dst, src, omega);
+ Assert (this->A!=0, ExcNotInitialized());
+ this->A->precondition_TSOR (dst, src, this->omega);
}
inline void
PreconditionSSOR<MATRIX>::vmult (VECTOR& dst, const VECTOR& src) const
{
- Assert (A!=0, ExcNotInitialized());
- A->precondition_SSOR (dst, src, omega);
+ Assert (this->A!=0, ExcNotInitialized());
+ this->A->precondition_SSOR (dst, src, this->omega);
}
inline void
PreconditionSSOR<MATRIX>::Tvmult (VECTOR& dst, const VECTOR& src) const
{
- Assert (A!=0, ExcNotInitialized());
- A->precondition_SSOR (dst, src, omega);
+ Assert (this->A!=0, ExcNotInitialized());
+ this->A->precondition_SSOR (dst, src, this->omega);
}