MFEM
v4.5.2
Finite element discretization library
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
v
x
+
Enumerations
a
b
c
d
e
f
i
j
m
o
r
s
t
w
x
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Related Functions
a
b
d
f
g
h
i
l
m
n
p
q
r
s
t
v
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Variables
a
b
c
d
e
f
g
i
k
m
n
o
p
q
r
s
t
v
w
Typedefs
Enumerations
Enumerator
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
config
get_mumps_version.cpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
2
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3
// LICENSE and NOTICE for details. LLNL-CODE-806117.
4
//
5
// This file is part of the MFEM library. For more information and source code
6
// availability visit https://mfem.org.
7
//
8
// MFEM is free software; you can redistribute it and/or modify it under the
9
// terms of the BSD-3 license. We welcome feedback and contributions, see file
10
// CONTRIBUTING.md for details.
11
12
#include "dmumps_c.h"
13
#include <string>
14
#include <iostream>
15
#include <algorithm>
16
17
// Macros to expand a macro as a string
18
#define STR_EXPAND(s) #s
19
#define STR(s) STR_EXPAND(s)
20
21
int
main
()
22
{
23
#ifdef MUMPS_VERSION
24
const
char
*ptr = STR(MUMPS_VERSION);
25
std::string
s
(ptr);
26
s
.erase(std::remove(
s
.begin(),
s
.end(),
'"'
),
s
.end());
27
s
.erase(std::remove(
s
.begin(),
s
.end(),
'.'
),
s
.end());
28
std::cout <<
s
<<
"\n"
;
29
return
0;
30
#else
31
return
-1;
32
#endif
33
}
s
RefCoord s[3]
Definition:
ncmesh_tables.hpp:182
main
int main()
Definition:
get_mumps_version.cpp:21
Generated on Thu Mar 23 2023 16:28:18 for MFEM by
1.8.14