Computation of the linear elastic properties of random porous materials with a wide variety of microstructure | Synapse