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
Pipeline #1162 failed with stage
......@@ -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);
......
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