Functional patterns for thin-film-type amorphous silicon solar cells