The basic input files for DG-SWEM are similar, and meant to coincide with those of the ADCIRC project. The majority of the information about these input files can be found on the adcirc pages.
The basic difference in the input files for DG-SWEM can be found in the fort.dg file in the work directory. An example of this file (the one that ships with the repo) is:
1 ! DGSWE
0,2 ! padapt(1=on,0=off),pflag(1=smooth,2=shocks)
1,8 ! gflag(0=fixed,1=dioristic), dioristic tolerance (0-100)
1,1,1 ! pl(low p), ph(high p), px(fixed p)
0.00005 ! slimit (epsilon tolerance in pflag=1 p_enrichment)
10 ! plimit (integer timestep counter for p_enrichment)
1,0.5,2 ! k,ks,L for pflag=2 tolerance:log((k*p)**(-L*2))-ks
1 ! FLUXTYPE
2,2 ! RK_STAGE,RK_ORDER
1 ! DG_TO_CG (ignore)
0 ! MODAL_IC
0,86400 ! DGHOT,DGHOTSPOOL
5 1 ! SLOPEFLAG(only 1,4-10 work; 5 is best/fast!),weight(default 1!)
0,0.0001000,0.00001,1 ! SEDFLAG, porosity, SEVDM, and # of layers
1 ! Reaction rate when chemistry is on in (litres/(mol*days))
23556 ! Number of total elements in mesh
0,-1.0,0.0,2.5e-6,0 !artdif,kappa, s0, uniform_dif, tune_by_hand
(ZE_ROE+bed_ROE)**-1 *QX_ROE
(ZE_ROE+bed_ROE)**-1 *QY_ROE
Here is an outline of what these parameters are: