implement the load function for tetmesh.