aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-02-01 21:21:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-02-01 21:21:00 +0000
commit8eded4d49cb6987639d02920338527411cd79df7 (patch)
tree7ef54f8acdb39759e32319837edf37902d6759b4 /Carpet
parent04b167c3b1c93b5f23d4a3acbfba2f20c16df706 (diff)
doc: Play with using doxygen for Fortran code
darcs-hash:20050201212131-891bb-df7215694d99c95de5b1e2fceba6c0aff56ef586.gz
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetLib/src/copy_3d_real8.F7729
-rw-r--r--Carpet/doxygen/Doxyfile5
2 files changed, 31 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/copy_3d_real8.F77 b/Carpet/CarpetLib/src/copy_3d_real8.F77
index efd91d8f2..a017dabc6 100644
--- a/Carpet/CarpetLib/src/copy_3d_real8.F77
+++ b/Carpet/CarpetLib/src/copy_3d_real8.F77
@@ -1,10 +1,36 @@
-c -*-Fortran-*-
+/**
+ * @file copy_3d_real8.F77
+ * @brief Copy a region of a CCTK_REAL8 array
+ *
+ * copy, bla, bla
+ */
+
+/* -*-Fortran-*- */
#include "cctk.h"
#include "cctk_Parameters.h"
+/** Copy a region of a CCTK_REAL8 array
+ *
+ * copy, bla, bla, long description.
+ */
+#ifdef FOR_DOXYGEN_ONLY
+subroutine copy_3d_real8 (CCTK_REAL8 src(srciext,srcjext,srckext),
+ integer srciext,
+ integer srcjext,
+ integer srckext,
+ CCTK_REAL8 dst(dstiext,dstjext,dstkext),
+ integer dstiext,
+ integer dstjext,
+ integer dstkext,
+ integer srcbbox,
+ integer dstbbox,
+ integer regbbox)
+{
+}
+#else
subroutine copy_3d_real8 (
$ src, srciext, srcjext, srckext,
$ dst, dstiext, dstjext, dstkext,
@@ -109,3 +135,4 @@ c Loop over region
end do
end
+#endif
diff --git a/Carpet/doxygen/Doxyfile b/Carpet/doxygen/Doxyfile
index 24df462d1..3964c2808 100644
--- a/Carpet/doxygen/Doxyfile
+++ b/Carpet/doxygen/Doxyfile
@@ -370,7 +370,7 @@ INPUT = .
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp
# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc
-FILE_PATTERNS =
+FILE_PATTERNS = *.c *.cc *.h *.hh *.F77 *.F *.F90 *.inc
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
@@ -875,7 +875,8 @@ INCLUDE_FILE_PATTERNS =
# or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed.
-PREDEFINED = CARPET_INT \
+PREDEFINED = FOR_DOXYGEN_ONLY \
+ CARPET_INT \
CARPET_REAL \
CARPET_COMPLEX