Before creating a new material I check if it already exist with the following line: G4Material* mat = G4Material::GetMaterial( name ); since I am creating materials as needed and I could have two logical volumes with the same material. In my first check I get the print-out: ---> warning from G4Material::GetMaterial(). The material: name does not exist in the table. Return NULL pointer. In my case the fact that the pointer is null is fine because I then create it. I would like to be able to switch off this message in my normal job, where as I said is not a problem. Could the printing of this message be under the control of the user?
We will investigate the possibility of verboseLevel in Materials category