IntCollection#

class ansys.dpf.core.collection_base.IntCollection(list=None, server=None, collection=None)#

Bases: CollectionBase[int]

Creates a collection of integers 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[int], 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 IntCollection

Attribute detail#

IntCollection.entries_type#

Method detail#

IntCollection.create_subtype(obj_by_copy)#

Create a sub type.

IntCollection.get_integral_entries()#

Get integral entries.