Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Die Konto der externen Nutzer:innen sind über den Reiter "Standard" erreichbar. Die Administratoren

Dear Gitlab user, it is now possible to log in to our service using the ZIH login/LDAP. The accounts of external users can be accessed via the "Standard" tab. The administrators

Commit 7bdefbc6 authored by Müller, Felix's avatar Müller, Felix
Browse files

Remove makeGridFunctionMarker

parent 412f676d
......@@ -407,16 +407,6 @@ namespace AMDiS
-> GridFunctionMarker<Grid,
TYPEOF( makeGridFunction(FWD(gf), grid->leafGridView()) )>;
// Generator function for GridFunctionMarker class
template <class Grid, class PreGridFct>
auto makeGridFunctionMarker(std::string const& name, std::shared_ptr<Grid> const& grid,
PreGridFct&& preGridFct)
{
auto gridFct = makeGridFunction(FWD(preGridFct), grid->leafGridView());
return GridFunctionMarker<Grid,TYPEOF(gridFct)>{name, grid, std::move(gridFct)};
}
} // end namespace AMDiS
#include "Marker.inc.hpp"
......@@ -50,7 +50,7 @@ int main(int argc, char** argv)
int ref_int = Parameters::get<int>("refinement->interface").value_or(10);
int ref_bulk = Parameters::get<int>("refinement->bulk").value_or(2);
auto marker = makeGridFunctionMarker("interface", prob.grid(),
GridFunctionMarker marker("interface", prob.grid(),
invokeAtQP([ref_int, ref_bulk](double phi) {
return phi > 0.05 && phi < 0.95 ? ref_int : ref_bulk;
}, phi));
......
......@@ -39,7 +39,6 @@ int main(int argc, char** argv)
};
GridFunctionMarker marker("mymarker", prob.grid(), markerFunc);
auto marker2 = makeGridFunctionMarker("mymarker", prob.grid(), markerFunc);
prob.addMarker(marker);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment