Skip to content
Snippets Groups Projects
Commit 805d34e1 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

GeodesicFEFunctionAdaptor is a class now

[[Imported from SVN: r8238]]
parent 7036bb96
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,14 @@
#include "localgeodesicfefunction.hh"
template <class Basis, class TargetSpace>
class GeodesicFEFunctionAdaptor
{
public:
/** \brief Refine a grid globally and prolong a given geodesic finite element function
*/
template <class GridType, class TargetSpace>
void geodesicFEFunctionAdaptor(GridType& grid, std::vector<TargetSpace>& x)
template <class GridType>
static void geodesicFEFunctionAdaptor(GridType& grid, std::vector<TargetSpace>& x)
{
const int dim = GridType::dimension;
......@@ -115,8 +119,8 @@ struct CoordinateFunction
/** \brief Refine a grid globally and prolong a given geodesic finite element function
*/
template <class GridType, class TargetSpace>
void higherOrderGFEFunctionAdaptor(GridType& grid, std::vector<TargetSpace>& x)
template <class GridType>
static void higherOrderGFEFunctionAdaptor(GridType& grid, std::vector<TargetSpace>& x)
{
const int dim = GridType::dimension;
......@@ -228,4 +232,6 @@ void higherOrderGFEFunctionAdaptor(GridType& grid, std::vector<TargetSpace>& x)
}
};
#endif
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