Generalized plasticity for geomaterials with double structure