90. plugins.calpy_itf
— Calpy interface for pyFormex.¶
Currently this is only used to detect the installation of calpy and add the path of the calpy module to sys.path.
Importing this module will automatically check the availabilty of calpy and set the sys.path accordingly.
90.1. Classes defined in module plugins.calpy_itf¶
- class plugins.calpy_itf.QuadInterpolator(nelems, nplex, gprule)[source]¶
A class to interface with calpy’s Quad class.
We want to use the calpy interpolation facilities without having to set up a full model for calpy processing. This class just sets the necessary data to make the interpolation methods (GP2Nodes, NodalAcc, NodalAvg) work.
Parameters:
nelems: number of elements
nplex: plexitude of the elements (supported is 4 to 9)
gprule: gauss integration rule