DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Meta::is_fixed_data_real_eigen_matrix< T > Struct Template Reference

see if the Actual valid data is in the struct scope (memcpy copyable) More...

#include <Defines.hpp>

Static Public Attributes

static constexpr bool value = false
 

Detailed Description

template<class T>
struct DNDS::Meta::is_fixed_data_real_eigen_matrix< T >

see if the Actual valid data is in the struct scope (memcpy copyable)

generally a fixed size Eigen::Matrix, but it seems std::is_trivially_copyable_v<> does not distinguish that, see https://eigen.tuxfamily.org/dox/classEigen_1_1Matrix.html, ABI part

static_assert(!is_fixed_data_real_eigen_matrix_v<std::array<real, 10>> &&
is_fixed_data_real_eigen_matrix_v<Eigen::Matrix<real, 2, 2>> &&
!is_fixed_data_real_eigen_matrix_v<Eigen::Matrix<real, -1, 2>> &&
is_fixed_data_real_eigen_matrix_v<Eigen::Vector2d> &&
!is_fixed_data_real_eigen_matrix_v<Eigen::Vector2f> &&
is_fixed_data_real_eigen_matrix_v<Eigen::Matrix<real, -1, -1, Eigen::DontAlign, 2, 2>> &&
!is_fixed_data_real_eigen_matrix_v<Eigen::Matrix<real, -1, -1, Eigen::DontAlign, -1, 2>> &&
!is_fixed_data_real_eigen_matrix_v<Eigen::MatrixXd>,
"is_fixed_data_real_eigen_matrix_v bad");
constexpr bool is_fixed_data_real_eigen_matrix_v
Definition Defines.hpp:724
double real
Canonical floating-point scalar used throughout DNDSR (double precision).
Definition Defines.hpp:105
Template Parameters
T

Definition at line 710 of file Defines.hpp.

Member Data Documentation

◆ value

template<class T >
constexpr bool DNDS::Meta::is_fixed_data_real_eigen_matrix< T >::value = false
staticconstexpr

Definition at line 712 of file Defines.hpp.


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