1. A method for interactive computation of the cardiac function of a patient, comprising: generating a patient-specific anatomical model of at least a portion of the patient's heart from medical image data of the patient; calculating cardiac electrophysiology potentials of the patient over a computational domain defined by the patient-specific anatomical model for each of a plurality of time steps using a patient-specific cardiac electrophysiology model, wherein for each of the plurality of time steps, the electrophysiology potentials acting on a plurality of nodes of the computational domain are calculated in parallel; calculating biomechanical forces over the computational domain for each of the plurality of time steps using a cardiac biomechanical model coupled to the cardiac electrophysiology model, wherein for each of the plurality of time steps, the biomechanical forces acting on a plurality of nodes of the computational domain are calculated in parallel by: pre-calculating an integer look-up table of size 2×N n ×V that stores for each node i of the computational domain, pairs of values (j, k) corresponding to adjacent mesh elements to the node i in the computational domain, wherein j is an index of each adjacent mesh element, k is a local index of the node i for each adjacent mesh element, N n is a number of the plurality of nodes of the computational domain, and V is a maximum valence of the computational domain, and for each of the plurality of time steps: invoking a kernel that performs element-wise calculations for each mesh element of the computational domain to compute element-wise contributions of each mesh element to the biomechanical forces acting on nodes shared by that mesh element and stores the element-wise contributions of each mesh element to the biomechanical forces acting on the nodes shared by that mesh element in floating point textures T k corresponding to respective values of the local index k of the nodes shared by that mesh element, and invoking a kernel that, for each node i of the computational domain, accumulates the element-wise contributions to the biomechanical forces acting on the node i based on the pairs of values (j, k) stored for the node i in the integer look-up table by accumulating the element-wise contributions stored at the j-th positions of the floating point textures T k ; computing blood flow and cardiac movement at each of the plurality of time steps based on the calculated biomechanical forces; displaying computed electrophysiology potentials, biomechanical forces and cardiac parameters; receiving, interactively, user input to change at least one of the parameters of at least one of the patient-specific anatomical model, cardiac electrophysiology model, or cardiac biomechanical model; and recalculating, the electrophysiology potentials, the biomechanical forces, and the blood flow and cardiac movement.