Commit fe4b5fef authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

fixed renamed function makeDOFVectorView to discreteFunction

parent 13a9fc32
......@@ -28,9 +28,9 @@ void test()
auto uVector = makeDOFVector(basis);
auto u = makeDOFVectorView(uVector);
auto u_0 = makeDOFVectorView(uVector, 0);
auto u_1 = makeDOFVectorView(uVector, 1);
auto u = discreteFunction(uVector);
auto u_0 = discreteFunction(uVector, 0);
auto u_1 = discreteFunction(uVector, 1);
// eval a functor at global coordinates (at quadrature points)
u_0 << evalAtQP([](auto const& x) { return x[0] + x[1]; });
......@@ -65,9 +65,9 @@ void test()
(integrate(partialAtQP(u_0,0) + partialAtQP(u_1,1), gridView)));
auto vVector(uVector);
auto v = makeDOFVectorView(vVector);
auto v_0 = makeDOFVectorView(vVector, 0);
auto v_1 = makeDOFVectorView(vVector, 1);
auto v = discreteFunction(vVector);
auto v_0 = discreteFunction(vVector, 0);
auto v_1 = discreteFunction(vVector, 1);
// test gradient
v << evalAtQP([](auto const& x) {
......
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