~florian-rathgeber/fluidity/femtools-python-ctypes

Viewing all changes in revision 3499.

  • Committer: Florian Rathgeber
  • Date: 2011-06-11 20:44:57 UTC
  • Revision ID: f.rathgeber10@imperial.ac.uk-20110611204457-wy70bqvqr8qae3l0
Expose get_element to python via ctypes

Defines a python class ELEMENT equivalent to the C element struct. The
get_element method internally creates an ELEMENT object, fills it via a
call to get_element in C and returns weight, l, n and dn as a dictionary
of NumPy arrays.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: