Functions and constants definitions for IOOS_inundation2.
Re-factored.