ansys.dyna.core.lib.duplicate_card#

Attributes#

Classes#

DuplicateCard

Abstract base class for all the implementations of keyword cards.

Module Contents#

ansys.dyna.core.lib.duplicate_card.CHECK_TYPE = True[source]#
class ansys.dyna.core.lib.duplicate_card.DuplicateCard(fields: List[ansys.dyna.core.lib.card.Field], length_func, active_func=None, data=None, format=format_type.default)[source]#

Bases: ansys.dyna.core.lib.card.Card

Abstract base class for all the implementations of keyword cards.

property table[source]#
property format[source]#

Get the card format type.

read(buf: TextIO) None[source]#

Reads the card data from an input text buffer.

write(format: ansys.dyna.core.lib.format_type.format_type | None = None, buf: TextIO | None = None, comment: bool | None = True) str[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.

property bounded: bool[source]#
__repr__() str[source]#

Returns a console-friendly representation of the desired parameters for the card