NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NeoN::SupportsCopyTo< HostType > Class Template Referenceabstract

MixinClass signaling copyTo is supported. More...

#include <copyTo.hpp>

Inheritance diagram for NeoN::SupportsCopyTo< HostType >:
NeoN::SegmentedVector< localIdx, localIdx > NeoN::la::Matrix< MatrixValueType, localIdx > 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()

template<typename HostType >
virtual HostType NeoN::SupportsCopyTo< HostType >::copyToExecutor ( Executor  exec) const
pure virtual

◆ copyToHost()

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

Definition at line 28 of file copyTo.hpp.


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