BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
armadillo.hpp
Go to the documentation of this file.
1/*
2 * BELFEM -- The Berkeley Lab Finite Element Framework
3 * Copyright (c) 2026, The Regents of the University of California,
4 * through Lawrence Berkeley National Laboratory (subject to receipt of any required
5 * approvals from the U.S. Dept. of Energy). All rights reserved.
6 *
7 * Developers: Christian Messe, Gregory Giard
8 *
9 * See the top-level LICENSE file for the complete license and disclaimer.
10 */
11
12#ifndef BELFEM_ARMADILLO_HPP
13#define BELFEM_ARMADILLO_HPP
14
15#ifdef BELFEM_GCC
16#pragma GCC diagnostic push
17#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
18#endif
19
20#define ARMA_USE_BLAS
21#define ARMA_USE_LAPACK
22#define ARMA_USE_ARPACK
23//#define ARMA_USE_SUPERLU
24#define ARMA_USE_WRAPPER
25
26#ifdef OMP
27#define ARMA_USE_OPENMP
28#endif
29
30#ifdef BELFEM_MKL
31#define ARMA_DONT_USE_FORTRAN_HIDDEN_ARGS
32//#define ARMA_USE_MKL_ALLOC
33#endif
34
35#include <armadillo>
36
37#ifdef BELFEM_GCC
38#pragma GCC diagnostic pop
39#endif
40
41#endif //BELFEM_ARMADILLO_HPP