DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::HostDeviceEigenMatrix< t_scalar, M, N > Class Template Reference

#include <EigenUtil.hpp>

Collaboration diagram for DNDS::HostDeviceEigenMatrix< t_scalar, M, N >:
[legend]

Public Types

using t_matrix = Eigen::Matrix< t_scalar, M, N >
 
using t_map = Eigen::Map< t_matrix >
 
template<DeviceBackend B>
using t_deviceView = EigenMatrixView< B, t_scalar, M, N >
 

Public Member Functions

 HostDeviceEigenMatrix ()
 
rowsize rows () const
 
rowsize cols () const
 
rowsize size () const
 
void resize (int m, int n)
 
t_map map ()
 
void to_host ()
 
void to_device (DeviceBackend B)
 
template<DeviceBackend B>
t_deviceView< B > deviceView ()
 

Protected Attributes

rowsize M_dynamic = 0
 
rowsize N_dynamic = 0
 
host_device_vector< t_scalarh_data
 

Detailed Description

template<typename t_scalar, int M, int N>
class DNDS::HostDeviceEigenMatrix< t_scalar, M, N >

Definition at line 261 of file EigenUtil.hpp.

Member Typedef Documentation

◆ t_deviceView

template<typename t_scalar , int M, int N>
template<DeviceBackend B>
using DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::t_deviceView = EigenMatrixView<B, t_scalar, M, N>

Definition at line 318 of file EigenUtil.hpp.

◆ t_map

template<typename t_scalar , int M, int N>
using DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::t_map = Eigen::Map<t_matrix>

Definition at line 265 of file EigenUtil.hpp.

◆ t_matrix

template<typename t_scalar , int M, int N>
using DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::t_matrix = Eigen::Matrix<t_scalar, M, N>

Definition at line 264 of file EigenUtil.hpp.

Constructor & Destructor Documentation

◆ HostDeviceEigenMatrix()

template<typename t_scalar , int M, int N>
DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::HostDeviceEigenMatrix ( )
inline

Definition at line 273 of file EigenUtil.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ cols()

template<typename t_scalar , int M, int N>
rowsize DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::cols ( ) const
inline

Definition at line 286 of file EigenUtil.hpp.

Here is the caller graph for this function:

◆ deviceView()

template<typename t_scalar , int M, int N>
template<DeviceBackend B>
t_deviceView< B > DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::deviceView ( )
inline

Definition at line 331 of file EigenUtil.hpp.

Here is the call graph for this function:

◆ map()

template<typename t_scalar , int M, int N>
t_map DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::map ( )
inline

Definition at line 312 of file EigenUtil.hpp.

Here is the call graph for this function:

◆ resize()

template<typename t_scalar , int M, int N>
void DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::resize ( int  m,
int  n 
)
inline

Definition at line 299 of file EigenUtil.hpp.

Here is the call graph for this function:

◆ rows()

template<typename t_scalar , int M, int N>
rowsize DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::rows ( ) const
inline

Definition at line 278 of file EigenUtil.hpp.

Here is the caller graph for this function:

◆ size()

template<typename t_scalar , int M, int N>
rowsize DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::size ( ) const
inline

Definition at line 294 of file EigenUtil.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ to_device()

template<typename t_scalar , int M, int N>
void DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::to_device ( DeviceBackend  B)
inline

Definition at line 325 of file EigenUtil.hpp.

◆ to_host()

template<typename t_scalar , int M, int N>
void DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::to_host ( )
inline

Definition at line 320 of file EigenUtil.hpp.

Member Data Documentation

◆ h_data

Definition at line 270 of file EigenUtil.hpp.

◆ M_dynamic

template<typename t_scalar , int M, int N>
rowsize DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::M_dynamic = 0
protected

Definition at line 268 of file EigenUtil.hpp.

◆ N_dynamic

template<typename t_scalar , int M, int N>
rowsize DNDS::HostDeviceEigenMatrix< t_scalar, M, N >::N_dynamic = 0
protected

Definition at line 269 of file EigenUtil.hpp.


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