StringCollection#

class ansys.dpf.core.collection_base.StringCollection(list=None, server=None, collection=None, local: bool = False)#

Bases: CollectionBase[str]

Creates a collection of strings with a list.

The collection of integral is the equivalent of an array of data sent server side. It can be used to efficiently stream large data to the server.

Parameters:

list (list[float], numpy.array) – list to transfer server side

Notes

Used by default by the 'Operator' and the``’Workflow’`` when a list is connected or returned.

Overview#

create_subtype

Create a sub type.

get_integral_entries

Get integral entries.

Import detail#

from ansys.dpf.core.collection_base import StringCollection

Attribute detail#

StringCollection.entries_type#

Method detail#

StringCollection.create_subtype(obj_by_copy)#

Create a sub type.

StringCollection.get_integral_entries()#

Get integral entries.