DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
EigenPCH.hpp
Go to the documentation of this file.
1#pragma once
2/// @file EigenPCH.hpp
3/// @brief Pre-compiled-header style shim that includes the heavy Eigen headers
4/// under DNDSR's warning suppressions. Every DNDS file that touches Eigen pulls
5/// this in instead of `<Eigen/Core>` directly.
6
7#include "Warnings.hpp"
9DISABLE_WARNING_MAYBE_UNINITIALIZED
11#include <Eigen/Core>
12#include <Eigen/Dense> //?It seems Mat.determinant() would be undefined rather than undeclared...
13#include <Eigen/Sparse>
Cross-compiler macros for saving / restoring / disabling warnings.
#define DISABLE_WARNING_PUSH
Definition Warnings.hpp:73
#define DISABLE_WARNING_CLASS_MEMACCESS
Definition Warnings.hpp:78
#define DISABLE_WARNING_POP
Definition Warnings.hpp:74