A finite element model to determine the bactericidal and cytotoxic properties of nanopatterned surfaces