Hello,
This is explained in page 65/144 of the Tomawac documentation (for initial conditions but it is the same for prescribing boundary conditions) : a parameterised spectrum with two directional peaks can be generated. In such case, both main propagation directions (theta1 and theta2) as well as the weighting factor (lambda) between the two power peaks must be specified.
I assume you have a single peak spectrum. In this case, the value of lambda is equal to 1 (default value) and you don't need to worry about that.
About the value of Smax given by Goda, you cannot use it directly as S (given by BOUNDARY DIRECTIONAL SPREAD 1 in the parameter file) is not equal to Smax in the formula included in Tomawac. Do you know the parametrisation of the S you want to use or only the values of Smax?
Nevertheless, you can still try to use the values of S equal to 10, 25 or 75 and see if the results suit you. But what exactly do you want to model?
Regards,
Elodie