Added an option to allocate the mesh or not upon reading the configuration file