MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
mfem::Ginkgo::gko_mfem_destroy< T > Class Template Reference

#include <ginkgo.hpp>

Public Types

using pointer = T *

Public Member Functions

void operator() (pointer ptr) const noexcept

Detailed Description

template<typename T>
class mfem::Ginkgo::gko_mfem_destroy< T >

Helper class for a case where a wrapped MFEM Vector should be owned by Ginkgo, and deleted when the wrapper object goes out of scope.

Definition at line 42 of file ginkgo.hpp.

Member Typedef Documentation

template<typename T >
using mfem::Ginkgo::gko_mfem_destroy< T >::pointer = T *

Definition at line 45 of file ginkgo.hpp.

Member Function Documentation

template<typename T >
void mfem::Ginkgo::gko_mfem_destroy< T >::operator() ( pointer  ptr) const

Definition at line 48 of file ginkgo.hpp.

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