Refactor Python wrapper method la.Vector.norm
into function
#3103
Labels
enhancement
New feature or request
la.Vector.norm
into function
#3103
Describe new/missing feature
I would like to move the Python wrapper method
la.Vector.norm
https://github.com/FEniCS/dolfinx/blob/main/python/dolfinx/wrappers/la.cpp#L51-L55
to a function defined in the
declare_functions
functionhttps://github.com/FEniCS/dolfinx/blob/main/python/dolfinx/wrappers/la.cpp#L179
To better match the C++ structure from the Python interface the norm method
https://github.com/FEniCS/dolfinx/blob/main/python/dolfinx/la.py#L261-L270
would be refactored into a standalone function of the form
This would further permit declaring
la.Vector
s containingint32_t
,int64_t
etc, which is very useful for, e.g., mesh associated data. E.g:yields
Suggested user interface
No response
The text was updated successfully, but these errors were encountered: