Skip to content
Snippets Groups Projects
Commit abcae5ca authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[function] added missing static

parent a04367c8
No related branches found
No related tags found
No related merge requests found
#ifndef DUNE_STUFF_FUNCTION_HH
#define DUNE_STUFF_FUNCTION_HH
#ifdef HAVE_CMAKE_CONFIG
#include "cmake_config.h"
#elif defined(HAVE_CONFIG_H)
#include <config.h>
#endif // ifdef HAVE_CMAKE_CONFIG
#include <string>
#include <vector>
#include <dune/common/shared_ptr.hh>
#include <dune/common/parametertree.hh>
#include <dune/common/exceptions.hh>
......@@ -82,9 +75,7 @@ public:
}; // class Functions
// ============================================== //
// ==== begin spezialization for dims 2 -> 1 ==== //
// ============================================== //
// spezialization for dims 2 -> 1
template <class D, class R>
class Functions<D, 2, R, 1>
{
......@@ -98,7 +89,7 @@ public:
"function.affineparametric.checkerboard"};
} // ... available(...)
Dune::ParameterTree createSampleDescription(const std::string type)
static Dune::ParameterTree createSampleDescription(const std::string type)
{
if (type == "function.checkerboard")
return FunctionCheckerboard<D, 2, R, 1>::createSampleDescription();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment