Commit 2e03314b authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

fix

parent 884eef6e
Pipeline #159462 canceled with stages
in 5 minutes and 17 seconds
......@@ -52,14 +52,9 @@ public:
Vector U; // Finite element coefficient vector of sample solution
explicit SampleSolution(IDiscretization *disc,
const std::string &name = "U") :
id(name), U(Vector(0.0, (*disc))) {
}
SampleSolution(IDiscretization *disc, const SampleID &id,
const std::string &name = "U") :
id(id), U(Vector(*disc, id.level())) {
id(id), U(Vector(0.0, *disc, id.level())) {
this->id.name = name;
}
......
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