[Dune] [#700] Remove C0LocalBasis base class and traits

Dune flyspray at dune-project.org
Wed Jan 13 13:57:54 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#700 - Remove C0LocalBasis base class and traits
User who did this - Carsten Gräser (Carsten)

----------
Oliver and I would also prefer Andreas suggestion as summerized below.

* There is one 'template <int maxDerivOrder> class VirtualLocalBasisInterface'.
* It contains 'evaluateFunction(...)' AND 'evaluateJacobian(...)' for all maxDerivOrder.
* It contains 'evaluate(const Dune::array<int,k>&,...)' for k=0,...,maxDerivOrder.
* 'VirtualLocalBasisInterface<k>' derives from 'VirtualLocalBasisInterface<k-1>'
* There is only one LocalBasisTraits template

There are still the following open questions:

1) Should 'evaluate(...)' methods for k=0 always exist ?
If yes we must implement them in all FEs.

2) Should maxDerivOrder be part of LocalBasisTraits or handed to the interface seperately ?

3) How should the maxDerivOrder enum be called ?

I'd suggest:
@1) Yes, but provide a default default implementation in the interface using 'evaluateFunction(...)' as temp workaround 
@2) It should be part of the Traits, i.e. CkLocalBasisTraits becomes the new LocalBasisTraits
@3) As the jacobian is always there 'maxPartialDerivativeOrder' would be more precise but the current 'diffOrder' would be nicer

----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=700#comment1621

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list