Full-field surrogate modeling of cardiac function encoding geometric variability