1. A method comprising: generating a finite element model (FEM) representing a physical structure of a heart, said FEM comprising a plurality of elements each corresponding to a location in the heart; sensing electrogram data at a plurality of location in the heart; mapping said electrogram data for each of said plurality of locations to a corresponding one of said plurality of elements of said FEM; concurrently calculating at least one functional parameter for each said plurality of elements of said FEM based on electrogram data mapped to the elements; assigning an ablation priority based on the said functional parameter to individual element of said FEM enabling identification of a priority order of ablation and localization of tissue to be ablated in response to the sensed electrogram data.