MFEM  v4.6.0
Finite element discretization library
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 54 of file ginkgo.hpp.

Member Typedef Documentation

◆ pointer

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

Definition at line 57 of file ginkgo.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 60 of file ginkgo.hpp.


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