Kinematic routing using finite elements on a triangular irregular network