Skip to content
Snippets Groups Projects
Commit 609a5cc6 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

make all functions inline, otherwise linking errors.

[[Imported from SVN: r3544]]
parent 7cd3c5fb
Branches
Tags
No related merge requests found
......@@ -107,7 +107,7 @@ namespace AlbertHelp {
// default is doing nothing
template <int codim>
void preserveDofs (int * vec, const int k, const int nv, const EL * father, int split_face )
inline void preserveDofs (int * vec, const int k, const int nv, const EL * father, int split_face )
{
assert(false);
abort();
......@@ -115,7 +115,7 @@ namespace AlbertHelp {
// create new element numbers for children
template <>
void preserveDofs<0> (int * vec, const int k, const int nv, const EL * el, int split_face )
inline void preserveDofs<0> (int * vec, const int k, const int nv, const EL * el, int split_face )
{
enum { codim = 0 };
// create two new element numbers
......@@ -129,7 +129,7 @@ namespace AlbertHelp {
// preserve dofs for faces
template <>
void preserveDofs<1> (int * vec, const int k, const int nv, const EL * el, int split_face )
inline void preserveDofs<1> (int * vec, const int k, const int nv, const EL * el, int split_face )
{
enum { codim = 1 };
......@@ -161,7 +161,7 @@ namespace AlbertHelp {
// preserve dofs for edges
template <>
void preserveDofs<2> (int * vec, const int k, const int nv, const EL * el, int split_face )
inline void preserveDofs<2> (int * vec, const int k, const int nv, const EL * el, int split_face )
{
enum { codim = 2 };
......
......@@ -825,11 +825,11 @@ namespace AlbertHelp
static std::stack < BOUNDARY * > * Alberta_tmpBndStack = 0;
void initBndStack( std::stack < BOUNDARY * > * bndStack )
inline static void initBndStack( std::stack < BOUNDARY * > * bndStack )
{
Alberta_tmpBndStack = bndStack;
}
void removeBndStack ()
inline static void removeBndStack ()
{
Alberta_tmpBndStack = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment