Mixed finite element and atomistic formulation for complex crystals