& WaveHFile, WavePFile, FluxFormula, WaveModel,
CHARACTER*(MAX_LEN_FNAM) FluxFormula
IF (FluxFormula.EQ.'LANL') THEN
ELSEIF (FluxFormula.EQ.'COARE3') THEN
IF ( FluxFormula.EQ.'COARE3' ) THEN
IF ( .NOT.useStressOption .AND. FluxFormula.EQ.'COARE3' ) THEN
IF ( FluxFormula.EQ.'COARE3' .AND. WaveHFile.NE.' ' ) THEN
IF ( FluxFormula.EQ.'COARE3' .AND. WavePFile.NE.' ' ) THEN
FluxFormula='COARE3'
& FluxFormula,WaveModel,