FloatCollection#

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

Bases: CollectionBase[float]

Creates a collection of floats (double64) 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 FloatCollection

Attribute detail#

FloatCollection.entries_type#

Method detail#

FloatCollection.create_subtype(obj_by_copy)#

Create a sub type.

FloatCollection.get_integral_entries()#

Get integral entries.