rompy.swan.subcomponents.physics.RDIFF#

pydantic model rompy.swan.subcomponents.physics.RDIFF[source]#

Diffuse reflection.

RDIFF [pown]

Specular reflection where incident waves are scattered over reflected direction.

Examples

In [40]: from rompy.swan.subcomponents.physics import RDIFF

In [41]: refl = RDIFF()

In [42]: print(refl.render())
RDIFF

In [43]: refl = RDIFF(pown=1.0)

In [44]: print(refl.render())
RDIFF pown=1.0
Fields:
field model_type: Literal['rdiff', 'RDIFF'] = 'rdiff'#

Model type discriminator

field pown: float | None = None#

Each incoming direction θ is scattered over reflected direction θ_refl according to cos^pown(θ-θ_refl). The parameter pown indicates the widthof the redistribution function (SWAN default: 1.0)

cmd() str[source]#

Command file string for this subcomponent.