Loading [MathJax]/extensions/TeX/AMSsymbols.js
MFEM
v3.4
Finite element discretization library
Main Page
Related Pages
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
config
config.hpp
Go to the documentation of this file.
1
// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at
2
// the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights
3
// reserved. See file COPYRIGHT for details.
4
//
5
// This file is part of the MFEM library. For more information and source code
6
// availability see http://mfem.org.
7
//
8
// MFEM is free software; you can redistribute it and/or modify it under the
9
// terms of the GNU Lesser General Public License (as published by the Free
10
// Software Foundation) version 2.1 dated February 1999.
11
12
13
// Support out-of-source builds: if MFEM_BUILD_DIR is defined, load the config
14
// file MFEM_BUILD_DIR/config/_config.hpp.
15
//
16
// Otherwise, use the local file: _config.hpp.
17
18
#ifdef MFEM_BUILD_DIR
19
#define MFEM_QUOTE(a) #a
20
#define MFEM_MAKE_PATH(x,y) MFEM_QUOTE(x/y)
21
#include MFEM_MAKE_PATH(MFEM_BUILD_DIR,config/_config.hpp)
22
#else
23
#include "_config.hpp"
24
#endif
25
26
// Check dependencies:
27
28
// Options that require MPI
29
#ifndef MFEM_USE_MPI
30
#ifdef MFEM_USE_SUPERLU
31
#error Building with SuperLU_DIST (MFEM_USE_SUPERLU=YES) requires MPI (MFEM_USE_MPI=YES)
32
#endif
33
#ifdef MFEM_USE_STRUMPACK
34
#error Building with STRUMPACK (MFEM_USE_STRUMPACK=YES) requires MPI (MFEM_USE_MPI=YES)
35
#endif
36
#ifdef MFEM_USE_PETSC
37
#error Building with PETSc (MFEM_USE_PETSC=YES) requires MPI (MFEM_USE_MPI=YES)
38
#endif
39
#ifdef MFEM_USE_PUMI
40
#error Building with PUMI (MFEM_USE_PUMI=YES) requires MPI (MFEM_USE_MPI=YES)
41
#endif
42
#endif // MFEM_USE_MPI not defined
Generated on Fri Feb 18 2022 19:03:34 for MFEM by
1.8.5