Skip to content
Snippets Groups Projects
Commit 23355c25 authored by Elias Pipping's avatar Elias Pipping Committed by pipping
Browse files

Make sure that the nodes to ignore were set

[[Imported from SVN: r4667]]
parent 0dea8763
No related branches found
No related tags found
No related merge requests found
#include <cassert>
template<class OperatorType, class DiscFuncType, class BitVectorType> template<class OperatorType, class DiscFuncType, class BitVectorType>
inline inline
DiscFuncType BlockGSStep<OperatorType, DiscFuncType, BitVectorType>::getSol() DiscFuncType BlockGSStep<OperatorType, DiscFuncType, BitVectorType>::getSol()
...@@ -38,6 +40,7 @@ void BlockGSStep<OperatorType, DiscFuncType, BitVectorType>::iterate() ...@@ -38,6 +40,7 @@ void BlockGSStep<OperatorType, DiscFuncType, BitVectorType>::iterate()
{ {
const OperatorType& mat = *this->mat_; const OperatorType& mat = *this->mat_;
assert(this->ignoreNodes_ != NULL);
for (size_t i=0; i<this->x_->size(); i++) { for (size_t i=0; i<this->x_->size(); i++) {
/** \todo Handle more general boundary conditions */ /** \todo Handle more general boundary conditions */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment