Hi Everyone, I'm curious about this function:
void solve(const Equation& equation,
Function& u,
std::vector bcs,
Parameters parameters=empty_parameters);
Is there a reason the DirichletBC pointer not a shared_ptr?
The reason I ask is that arrays of naked pointers like this can be the source of memory leaks in user code.
Thanks!
Dave