Porting of CC3Material class