for (unsigned int i=0; i<this->n_blocks(); ++i)
this->components[i].swap (v.components[i]);
- ::swap (this->block_indices, v.block_indices);
+ ::dealii::swap (this->block_indices, v.block_indices);
}
for (unsigned int i=0; i<this->n_blocks(); ++i)
this->components[i].swap (v.components[i]);
- ::swap (this->block_indices, v.block_indices);
+ ::dealii::swap (this->block_indices, v.block_indices);
}
* that it can create objects of the
* present type.
*/
- friend class ::PETScWrappers::VectorBase;
+ friend class ::dealii::PETScWrappers::VectorBase;
};
}
/**
switch (state)
{
- case ::SolverControl::iterate:
+ case ::dealii::SolverControl::iterate:
*reason = KSP_CONVERGED_ITERATING;
break;
- case ::SolverControl::success:
+ case ::dealii::SolverControl::success:
*reason = static_cast<KSPConvergedReason>(1);
break;
- case ::SolverControl::failure:
+ case ::dealii::SolverControl::failure:
if (solver_control.last_step() > solver_control.max_steps())
*reason = KSP_DIVERGED_ITS;
else
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams