Loading [MathJax]/extensions/tex2jax.js
OGS
Main Page
Related Pages
Namespaces
Namespace List
Namespace 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
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
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Typedefs
b
c
e
f
h
j
k
l
m
n
p
q
r
s
t
v
w
x
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
x
Variables
Typedefs
Enumerations
Macros
a
b
c
e
g
h
i
l
m
n
o
p
r
s
t
v
w
x
GlobalMatrixProviders.cpp
Go to the documentation of this file.
1
11
#include "
GlobalMatrixProviders.h
"
12
13
#include <memory>
14
15
#include "
SimpleMatrixVectorProvider.h
"
16
17
// Initializes the static members of the structs in the header file
18
// associated with this file.
19
#define INITIALIZE_GLOBAL_MATRIX_VECTOR_PROVIDER(VARNAME) \
20
static std::unique_ptr<NumLib::SimpleMatrixVectorProvider> VARNAME{ \
21
new NumLib::SimpleMatrixVectorProvider}; \
22
\
23
namespace NumLib \
24
{ \
25
VectorProvider& GlobalVectorProvider::provider = *(VARNAME); \
26
\
27
MatrixProvider& GlobalMatrixProvider::provider = *(VARNAME); \
28
}
29
30
INITIALIZE_GLOBAL_MATRIX_VECTOR_PROVIDER
(globalSetupGlobalMatrixVectorProvider)
31
32
namespace
NumLib
33
{
34
void
cleanupGlobalMatrixProviders
()
35
{
36
globalSetupGlobalMatrixVectorProvider.reset();
37
}
38
}
// namespace NumLib
INITIALIZE_GLOBAL_MATRIX_VECTOR_PROVIDER
#define INITIALIZE_GLOBAL_MATRIX_VECTOR_PROVIDER(VARNAME)
Definition:
GlobalMatrixProviders.cpp:19
GlobalMatrixProviders.h
SimpleMatrixVectorProvider.h
NumLib
Definition:
ProjectData.h:35
NumLib::cleanupGlobalMatrixProviders
void cleanupGlobalMatrixProviders()
Definition:
GlobalMatrixProviders.cpp:34
NumLib
DOF
GlobalMatrixProviders.cpp
Generated by
1.9.1