In the present case, I have to subclass Function everytime I want to write a new right hand side/boundary condition/solution, which is about 4 classes taking up 50 lines of code for each manufactured example. Using something like this, that could go down to 4 lines of code with no extra classes. That would also make #2 easier
In the present case, I have to subclass Function everytime I want to write a new right hand side/boundary condition/solution, which is about 4 classes taking up 50 lines of code for each manufactured example. Using something like this, that could go down to 4 lines of code with no extra classes. That would also make #2 easier