ansys.dyna.core.lib.option_card#
Classes#
Abstract base class for all the implementations of keyword cards. |
|
API for an individual option associated with a keyword. |
|
API for options associated with a keyword. |
Module Contents#
- class ansys.dyna.core.lib.option_card.OptionCardSet(option_spec: OptionSpec, cards: List[ansys.dyna.core.lib.card_interface.CardInterface], **kwargs)[source]#
Bases:
ansys.dyna.core.lib.card_interface.CardInterface
Abstract base class for all the implementations of keyword cards.
- property cards: List[ansys.dyna.core.lib.card_interface.CardInterface][source]#
- property option_spec: OptionSpec[source]#
- property format: ansys.dyna.core.lib.format_type.format_type[source]#
Get the card format type.
- __lt__(other: OptionCardSet)[source]#
- write(format: ansys.dyna.core.lib.format_type.format_type | None = None, buf: TextIO | None = None, comment: bool | None = True) str | None [source]#
Renders the card in the dyna keyword format. :param buf: Buffer to write to. If None, the output is returned as a string :param format: format_type to use. Default to standard.