Application of an Inverse Method to Coastal Modeling