Dear Zhidong,
Thanks for finding and reporting this :)
When we compile the doxygen documentation we remove all occurrences of
dealii::
since, for a variety of reasons, it's easier to pretend in the manual
that all deal.II classes are in the global namespace. This is done
with, if I recall correctly, a simple text substitution - hence, the
webpage for step-40 has
using namespace ::LinearAlgebraPETSc
instead of what is actually in the source file:
using namespace dealii::LinearAlgebraPETSc
Put another way: this text substitution is wrong for this example and
needs to be fixed. Could you help us by opening a GitHub issue to
track this problem with the documentation?
Thanks,
David
> --
> The deal.II project is located at
http://www.dealii.org/
> For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
dealii+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/6b06a25a-3812-4333-b2db-ee1cbcc9cf09%40googlegroups.com.