NeoN
A framework for CFD software
Loading...
Searching...
No Matches
NeoN::SupportsCopyTo< HostType > Class Template Referenceabstract

MixinClass signaling copyTo is supported. More...

#include <copyTo.hpp>

Inheritance diagram for NeoN::SupportsCopyTo< HostType >:
NeoN::la::Matrix< ValueType, la::CsrSparsityPattern< IndexType > > NeoN::la::Matrix< ValueType, la::CooSparsityPattern< IndexType > > NeoN::la::LinearSystem< MatrixValueType, RHSValueType, SystemMatrixType, BoundaryMatrixType >

Public Member Functions

virtual ~SupportsCopyTo ()=default
virtual HostType copyToExecutor (Executor exec) const =0
HostType copyToHost () const

Detailed Description

template<typename HostType>
class NeoN::SupportsCopyTo< HostType >

MixinClass signaling copyTo is supported.

Requires copyToExecutor to be implemented, provides a copyToHost for free

Definition at line 19 of file copyTo.hpp.

Constructor & Destructor Documentation

◆ ~SupportsCopyTo()

template<typename HostType>
virtual NeoN::SupportsCopyTo< HostType >::~SupportsCopyTo ( )
virtualdefault

Member Function Documentation

◆ copyToExecutor()

◆ copyToHost()

template<typename HostType>
HostType NeoN::SupportsCopyTo< HostType >::copyToHost ( ) const
inlinenodiscard

Definition at line 28 of file copyTo.hpp.


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