API reference#

The element classes, their Data and Probe classes and the constants DOF, INT and DOUBLE are available directly from the pyfe3d namespace, and the solvers from pyfe3d.solver:

Finite elements for 3D problems in Python/Cython#

The pyfe3d namespace gives the element classes Quad4, Quad4R, Tria3R, Tria3DSG, BeamC, BeamLR, Truss and Spring, each with its Data and Probe classes (e.g. BeamCData and BeamCProbe), and the module pyfe3d.solver. It also defines:

  • DOF = 6: number of degrees of freedom per node;

  • INT: NumPy integer type of the C long of the platform, np.int64 when a C long has 8 bytes and np.int32 otherwise, matching the long arrays of row and column indices of the update_* methods of the elements;

  • DOUBLE = np.float64: NumPy type of the arrays of values.