dedalus.core.system =================== .. py:module:: dedalus.core.system .. autoapi-nested-parse:: Classes for systems of coefficients/fields. Module Contents --------------- .. py:class:: CoeffSystem(subproblems, dtype) Representation of a collection of fields that don't need to be transformed, and are therefore stored as a contigous set of coefficient data for efficient pencil and group manipulation. :Parameters: * **nfields** (*int*) -- Number of fields to represent * **domain** (*domain object*) -- Problem domain :ivar data: Contiguous buffer for field coefficients :vartype data: ndarray .. py:method:: get_subdata(sp, ss=None) .. py:attribute:: data .. py:class:: FieldSystem(fields, subproblems) Collection of fields alongside a CoeffSystem buffer for efficient pencil and group manipulation. :Parameters: * **field_names** (*list of strings*) -- Names of fields to build * **domain** (*domain object*) -- Problem domain :ivar data: Contiguous buffer for field coefficients :vartype data: ndarray :ivar fields: Field objects :vartype fields: list :ivar nfields: Number of fields in system :vartype nfields: int :ivar field_dict: Dictionary of fields :vartype field_dict: dict .. py:method:: gather() Copy fields into system buffer. .. py:method:: scatter() Extract fields from system buffer. .. py:attribute:: array_views .. py:attribute:: buffer .. py:attribute:: field_buffer .. py:attribute:: group_buffer .. py:attribute:: perm