Template Numerical Library version\ main:bb09b17
Loading...
Searching...
No Matches
TNL::Hypre Struct Reference

A simple RAII wrapper for Hypre's initialization and finalization. More...

#include <TNL/Hypre.h>

Public Member Functions

 Hypre ()
 Constructor initializes Hypre by calling HYPRE_Init() and set default options.
 
 ~Hypre ()
 Destructor that finalizes Hypre when the object goes out of scope.
 

Static Public Member Functions

static void setDefaultOptions ()
 Sets the default Hypre global options (mostly GPU-relevant).
 

Detailed Description

A simple RAII wrapper for Hypre's initialization and finalization.

When the object is constructed, it calls HYPRE_Init() and sets some GPU-relevant options. The HYPRE_Finalize() function is called automatically from the object's destructor.


The documentation for this struct was generated from the following file: