Skip to content
Snippets Groups Projects
Commit 82f6a3ea authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Remove ConstantFunction implementation it's in dune/solvers/tests/common.hh

parent 4c9e2b97
Branches new_interface
No related tags found
No related merge requests found
Pipeline #
......@@ -27,23 +27,6 @@
#include <dune/solvers/test/common.hh>
template <class DomainType, class RangeType>
class ConstantFunction :
public Dune::VirtualFunction<DomainType, RangeType>
{
public:
ConstantFunction(double c):
c_(c)
{}
void evaluate(const DomainType& x, RangeType& y) const
{
y = c_;
}
private:
double c_;
};
template<class F>
......@@ -287,6 +270,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
int main(int argc, char** argv) try
{
Dune::MPIHelper::instance(argc, argv);
bool passed(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment