Add Refmap::is_element_on_physical_coordinates.
Modify .gitignores.
Fix warnings.