On Tue, 13 Jul 2010, Roy Stogner wrote:
On Tue, 13 Jul 2010, John Peterson wrote:
On Tue, Jul 13, 2010 at 12:16 PM, Derek Gaston <[email protected]> wrote:
Hmmm... it appears that the Elem class is missing in the libMesh doxygen
currently on the website.
I can't come up with any reason why it's missing other than a botched doxygen
run....
Strange indeed. I reran doxygen on my box and it does not appear to
have generated an Elem page either. (This is a little hard to debug
locally, any idea how to get a browser to process local php files w/o
running a webserver, etc?) There were a bunch of warnings for elem.C
(below) so it is actually processing the file. None of them really
appear to be fatal though...
It's generating a file for elem.h, but yeah, all those warnings are
consistent with it somehow not seeing the Elem class. Very weird...
This keep annoying me continuously, so I tracked it back and found
that the attached patch solves the problem, although I don't know why.
I'll check that in if nobody objects.
Will the documentation be regenerated and uploaded automatically then?
Best Regards,
Tim
--
Dr. Tim Kroeger
CeVis -- Center of Complex Systems and Visualization
University of Bremen [email protected]
Universitaetsallee 29 [email protected]
D-28359 Bremen Phone +49-421-218-7710
Germany Fax +49-421-218-4236
Index: include/geom/elem.h
===================================================================
--- include/geom/elem.h (Revision 3957)
+++ include/geom/elem.h (Arbeitskopie)
@@ -1382,10 +1382,15 @@
}
+} // namespace libMesh
+/* For some reason that nobody seems to have found out yet, the
+ following method must be implemented outside the namespace because
+ otherwise doxygen fails to generate a file for the Elem class. */
+
#ifdef LIBMESH_ENABLE_AMR
inline
-bool Elem::is_ancestor_of(const Elem *descendant) const
+bool libMesh::Elem::is_ancestor_of(const Elem *descendant) const
{
const Elem *e = descendant;
while (e)
@@ -1396,14 +1401,17 @@
}
#else
inline
-bool Elem::is_ancestor_of(const Elem *) const
+bool libMesh::Elem::is_ancestor_of(const Elem *) const
{
#endif
return false;
}
+namespace libMesh
+{
+
inline
const Elem* Elem::parent () const
{
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel