]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CUDA: doxygen fixes 6021/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 9 Mar 2018 19:32:26 +0000 (14:32 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 9 Mar 2018 19:32:26 +0000 (14:32 -0500)
- disable DEAL_II_ALWAYS_INLINE and __device__ in doxygen documentation
- avoid @ingroup for member functions because they will be moved not
copied to the group

doc/doxygen/options.dox.in
include/deal.II/base/numbers.h
include/deal.II/base/tensor.h
include/deal.II/lac/cuda_vector.h

index 1486dadb1b6de9ead2d495ff78754a377613b223..19030e1fd7f40beadf94b588ea716ae32e3e61e9 100644 (file)
@@ -200,6 +200,8 @@ PREDEFINED             = DOXYGEN=1 \
                          DEAL_II_DISABLE_EXTRA_DIAGNOSTICS= \
                          DEAL_II_DEPRECATED= \
                          DEAL_II_CUDA_HOST_DEV= \
+                         DEAL_II_ALWAYS_INLINE= \
+                         __device__= \
                          DEAL_II_P4EST_VERSION_GTE=1 \
                          DEAL_II_TRILINOS_VERSION_GTE=1
 
index ba588d60023250a7fdd777cf80eb252f13f1a596..9291341b48489d15c0751bf09f571a95817ae969 100644 (file)
@@ -223,7 +223,7 @@ namespace numbers
      * general template is chosen for types not equal to std::complex, this
      * function simply returns the square of the given number.
      *
-     * @ingroup CUDAWrappers
+     * @see CUDAWrappers
      */
     static
     DEAL_II_CUDA_HOST_DEV
index 41be13663dfbda88eb383617572023881e20f763..ee4aefd5545f29197b1e542b4ffe72580a986bf3 100644 (file)
@@ -133,7 +133,7 @@ public:
   /**
    * Constructor. Set to zero.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   DEAL_II_CUDA_HOST_DEV Tensor ();
 
@@ -183,7 +183,7 @@ public:
    * This is the non-const conversion operator that returns a writable
    * reference.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   DEAL_II_CUDA_HOST_DEV operator Number &();
 
@@ -193,7 +193,7 @@ public:
    *
    * This is the const conversion operator that returns a read-only reference.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   DEAL_II_CUDA_HOST_DEV operator const Number &() const;
 
@@ -244,7 +244,7 @@ public:
   /**
    * Multiply the scalar with a <tt>factor</tt>.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   template <typename OtherNumber>
   DEAL_II_CUDA_HOST_DEV Tensor &operator *= (const OtherNumber &factor);
@@ -285,7 +285,7 @@ public:
    * Return the square of the Frobenius-norm of a tensor, i.e. the sum of the
    * absolute squares of all entries.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   DEAL_II_CUDA_HOST_DEV real_type norm_square () const;
 
@@ -409,7 +409,7 @@ public:
   /**
    * Constructor. Initialize all entries to zero.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   DEAL_II_CUDA_HOST_DEV Tensor ();
 
@@ -441,14 +441,14 @@ public:
   /**
    * Read-Write access operator.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   DEAL_II_CUDA_HOST_DEV value_type &operator [] (const unsigned int i);
 
   /**
    * Read-only access operator.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   DEAL_II_CUDA_HOST_DEV const value_type &operator[](const unsigned int i) const;
 
@@ -530,7 +530,7 @@ public:
    * Scale the tensor by <tt>factor</tt>, i.e. multiply all components by
    * <tt>factor</tt>.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   template <typename OtherNumber>
   DEAL_II_CUDA_HOST_DEV Tensor &operator *= (const OtherNumber &factor);
@@ -572,7 +572,7 @@ public:
    * Return the square of the Frobenius-norm of a tensor, i.e. the sum of the
    * absolute squares of all entries.
    *
-   * @ingroup CUDAWrappers
+   * @see CUDAWrappers
    */
   DEAL_II_CUDA_HOST_DEV typename numbers::NumberTraits<Number>::real_type norm_square() const;
 
index 6b897510cad01ed3377921d4d084812918590cec..d4087c1ff8234912d299a6e3c38852574b7cf0ec 100644 (file)
@@ -42,7 +42,7 @@ namespace LinearAlgebra
      *
      * @note Only float and double are supported.
      *
-     * @ingroup CUDAWrappers
+     * @see CUDAWrappers
      * @ingroup Vectors
      * @author Karl Ljungkvist, Bruno Turcksin, 2016
      */

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


Typeset in Trocchi and Trocchi Bold Sans Serif.