Dear deal.ii developers,

is there any reason for not making FEFieldFunction::set_active_cell virtual?
I'll explain my use-case and why I need that polymorphic behaviour.
I have an electric potential distribution in volume and I need to calculate
Joule heat. It depends on gradient of electric potential, which is a result
of finite element calculation. Thus I use FEFieldFunction to calculate those
gradients. Plus to that Joule heat also depends on electric conductivity
(which is also a FEFieldFunction on the same DoFHandler). And so, I need to
propagate set_active_cell to both of these functions (and it would be nice
if I could maintain at least FEFieldFunction abstraction). It doesn't seem
to be possible without virtual set_active_cell().

Any ideas?

Best regards,
   Rostislav.

PS: now I'm working under linux and I really miss Visual Studio IDE, so did
you have any thoughts on my 'algorithm' of building deal.ii with Intel C++
under windows?
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to