[Dune-devel] GenericLocalFiniteElement cleanup in dune-localfunctions

Oliver Sander oliver.sander at tu-dresden.de
Sun Apr 26 18:37:40 CEST 2020


Hi Simon,

> 1. Removed reinterpret_cast of FieldMatrix into FieldVector and similar types. Related to issue #14 in dune-localfunctions (ciritcal bug). This could be fixed with some kind of flat-view helper, I think.
> 2. Allow flexible domain and range field type for the local basis (the storage and compute fields do not do the job). Currently it is fixed to double.
> 3. Clarify the meaning and difference between Domain, Range, StorageField, ComputeField. Is there any reasonable application of four different types?
> 4. Maybe replace the virtual interface by some variant based type-erasure. The Topology type must be type-erased, but there are only very few different Topologies per dimension.
> 5. Remove several of unused and unnecessary utilities, like Precision and maybe field_cast
> 6. Maybe add some documentation of the overall utility
> 7. Extraction of the Tensor data-structure (?)
> 
> Is there work going on currently in resolving one of the issues above? Is someone willing to contribute and to cooperate in fixing some? 

fixing those issues would be great, IMO.  But there is more:

8. Get rid of the Prism and Pyramid class (and Co.) in dune/geometry/type.hh
   This should be easier than ever with the updated compiler requirements.
9. Implement an alternative to the monomials (e.g., Bernstein polynomials),
   because constructing shape functions from monomials is notoriously
   ill-conditioned.

I spend a bit of time cleaning up dune/localfunctions/utility/monomialbasis.hh (in quest for 8.),
but I'm afraid I have too much other stuff on my plate currently to really continue here.
If you send patches I can try to review them.

Best,
Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5198 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20200426/eab2a9b9/attachment.bin>


More information about the Dune-devel mailing list