Numerical modeling of ferroelectric materials in the presence of flexoelectricity | Synapse