The meshmapping module

Mesh Mapping

Map values of one FEM mesh into another

class pylife.mesh.meshmapping.MeshmapperAccessor(pandas_obj)[source]

Mapper to map points of one mesh to another

Notes

The accessed DataFrame needs to be accessible by a PlainMeshAccessor.

process(from_df, value_key, method='linear')[source]

Performs the mapping

Parameters:from_df (pandas.DataFrame accessible by a PlainMeshAccessor.) – The DataFrame that is to be mapped to the accessed one. Needs to have the same dimensions (2D or 3D) as the accessed one