rompy.swan.subcomponents.boundary.ZERO#
- pydantic model rompy.swan.subcomponents.boundary.ZERO[source]#
Zero initial conditions.
ZERO
The initial spectral densities are all 0; note that if waves are generated in the model only by wind, waves can become non-zero only by the presence of the ”A” term in the growth model; see the keyword AGROW in command GEN3.
Examples
In [273]: from rompy.swan.subcomponents.boundary import ZERO In [274]: init = ZERO() In [275]: print(init.render()) ZERO
Show JSON schema
{ "title": "ZERO", "description": "Zero initial conditions.\n\n.. code-block:: text\n\n ZERO\n\nThe initial spectral densities are all 0; note that if waves are generated in the\nmodel only by wind, waves can become non-zero only by the presence of the\n\u201dA\u201d term in the growth model; see the keyword AGROW in command GEN3.\n\nExamples\n--------\n\n.. ipython:: python\n :okwarning:\n\n from rompy.swan.subcomponents.boundary import ZERO\n init = ZERO()\n print(init.render())", "type": "object", "properties": { "model_type": { "default": "zero", "description": "Model type discriminator", "enum": [ "zero", "ZERO" ], "title": "Model Type", "type": "string" } }, "additionalProperties": false }
- field model_type: Literal['zero', 'ZERO'] = 'zero'#
Model type discriminator