Skip to content
Snippets Groups Projects
Commit ecb421e8 authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Jakub Klinkovský
Browse files

Added a Doxygen group for documenting Hypre wrappers

parent 76389ead
No related branches found
No related tags found
1 merge request!136Hypre wrappers
......@@ -2123,6 +2123,7 @@ INCLUDE_FILE_PATTERNS =
PREDEFINED = DOXYGEN_ONLY
PREDEFINED += HAVE_MPI
PREDEFINED += HAVE_CUDA
PREDEFINED += HAVE_HYPRE
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The
......
......@@ -178,6 +178,11 @@ computing platform, and (optionally) some libraries.
<td> </td>
<td> Only used for the compilation of the `tnl-decompose-mesh` tool. </td>
</tr>
<tr><td> [Hypre](https://github.com/hypre-space/hypre) </td>
<td> \ref Hypre "Wrappers for Hypre solvers" </td>
<td> `-DHAVE_HYPRE -lHYPRE` </td>
<td> Attention should be paid to Hypre build options, e.g. `--enable-bigint`. </td>
</tr>
<tr><td> [libpng](http://www.libpng.org/pub/png/libpng.html) </td>
<td> \ref TNL::Images "Image processing" classes </td>
<td> `-DHAVE_PNG_H -lpng` </td>
......
......@@ -23,6 +23,8 @@ namespace Containers {
* - https://github.com/hypre-space/hypre/blob/master/src/parcsr_mv/par_vector.h
* - https://github.com/hypre-space/hypre/blob/master/src/parcsr_mv/par_vector.c
* - https://github.com/hypre-space/hypre/blob/master/src/parcsr_mv/_hypre_parcsr_mv.h (catch-all interface)
*
* \ingroup Hypre
*/
class HypreParVector
{
......
......@@ -24,6 +24,8 @@ namespace Containers {
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/vector.h
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/vector.c
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/seq_mv.h (catch-all interface)
*
* \ingroup Hypre
*/
class HypreVector
{
......
......@@ -36,6 +36,19 @@
namespace TNL {
/**
* \defgroup Hypre Wrappers for the Hypre library
*
* This group includes various wrapper classes for data structures and
* algorithms implemented in the [Hypre library][hypre]. See the
* [example][example] for how these wrappers can be used.
*
* [hypre]: https://github.com/hypre-space/hypre
* [example]: https://mmg-gitlab.fjfi.cvut.cz/gitlab/tnl/tnl-dev/-/blob/develop/src/Examples/Hypre/tnl-hypre-ex5.cpp
*
* @{
*/
/**
* \brief A simple RAII wrapper for Hypre's initialization and finalization.
*
......@@ -111,4 +124,7 @@ struct Hypre
#endif
// clang-format on
// this is a Doxygen end-group marker
//! @}
#endif // HAVE_HYPRE
......@@ -24,6 +24,8 @@ namespace Matrices {
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/csr_matrix.h
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/csr_matrix.c
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/seq_mv.h (catch-all interface)
*
* \ingroup Hypre
*/
class HypreCSRMatrix
{
......
......@@ -20,6 +20,8 @@ namespace Matrices {
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/csr_matrix.h
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/csr_matrix.c
* - https://github.com/hypre-space/hypre/blob/master/src/seq_mv/seq_mv.h (catch-all interface)
*
* \ingroup Hypre
*/
class HypreParCSRMatrix
{
......
......@@ -17,6 +17,9 @@ namespace TNL {
namespace Solvers {
namespace Linear {
//! \addtogroup Hypre
//! @{
//! \brief Abstract class for Hypre's solvers and preconditioners
class HypreSolver
{
......@@ -762,4 +765,7 @@ protected:
#include "Hypre.hpp"
// this is a Doxygen end-group marker
//! @}
#endif // HAVE_HYPRE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment