estr ( elements ) ¶įormat list of elements for printing. Pretty-print dictionary of key-value pairs. dict_sum ( items ) ¶Ĭonstruct a dict, in between dict(items) and sum(items), by accumulating items for each key. counted_init ( self, count=None, countedclass=None ) ¶ ufl.common. component_to_index ( component, shape ) ¶ ufl.common. camel2underscore ( name ) ¶Ĭonvert a CamelCaps string to underscore_syntax. Return ‘and’ of all pairs in two sequences of same length. UFLTypeDefaultDict ( default ) ¶īases: dict class ufl.common. Timer ( name ) ¶ end ( ) ¶ class ufl.common. pop ( ) ¶ push ( k, v ) ¶ class ufl.common. StackDict ( *args, **kwargs ) ¶Ī dict that can be changed incrementally with ‘d.push(k,v)’ and have changes rolled back with ‘k,v = d.pop()’. peek ( ) ¶ push ( v ) ¶ class ufl.common. The old inheritance pattern is deprecated. ExampleCounted ( count=None ) ¶Īn example class for classes of objects identified by a global counter. EmptyDictType ¶īases: dict update ( *args, **kwargs ) ¶ class ufl.common. This module contains a collection of common utilities. UFL value: Represents a globally constant vector valued coefficient. VectorConstant ( domain, dim=None, count=None ) ¶ UFL value: Represents a globally constant tensor valued coefficient. TensorConstant ( domain, shape=None, symmetry=None, count=None ) ¶ ConstantBase ( element, count ) ¶īases: class ufl.coefficient. UFL value: Represents a globally constant scalar valued coefficient. Tuple with the function components corresponding to the subelements. UFL value: Create a Coefficient in a mixed space, and return a Signature data for form arguments depend on the global numbering of the form arguments and domains. reconstruct ( element=None, count=None ) ¶ shape ( ) ¶ signature_data ( count, domain_numbering ) ¶ Return whether this expression is spatially constant over each cell. UFL form argument type: Representation of a form coefficient. This module defines the Coefficient class and a number Maps from UFL cell or cell name to topological dimension as_cell ( cell ) ¶Ĭonvert any valid object to a Cell (in particular, cellname string), Return the cellname of the facet of this cell. ProductCell ( *cells ) ¶īases: facet_cellname ( ) ¶ facet_horiz ¶ facet_vert ¶ class ufl.cell. Representation of a cell formed as the Cartesian product of Deprecated, please use the constructor types instead. Return the dimension of the topology of this cell. Return the dimension of the space this cell is embedded in. Only valid if the geometric and topological dimensions are the same. Cell ( cellname, geometric_dimension=None, topological_dimension=None ) ¶ UFL value: Create a TrialFunction in a mixed space, and return a UFL value: Create a trial function argument to a form. UFL value: Create a TestFunction in a mixed space, and return a UFL value: Create a test function argument to a form. UFL value: Create an Argument in a mixed space, and return a number ( ) ¶ part ( ) ¶ reconstruct ( element=None, number=None, part=None ) ¶ shape ( ) ¶ signature_data ( domain_numbering ) ¶ Return tuple of domains related to this terminal object. UFL value: Representation of an argument to a form. Argument ( element, number, part=None ) ¶ This module defines the class Argument and a number of relatedĬlasses (functions), including TestFunction and TrialFunction. Sum ( a, b ) ¶īases: evaluate ( x, mapping, component, index_values ) ¶ free_indices ( ) ¶ index_dimensions ( ) ¶ operands ( ) ¶ shape ( ) ¶ evaluate ( x, mapping, component, index_values ) ¶ free_indices ( ) ¶ index_dimensions ( ) ¶ operands ( ) ¶ shape ( ) ¶ class ufl.algebra. Power ( a, b ) ¶īases: evaluate ( x, mapping, component, index_values ) ¶ free_indices ( ) ¶ index_dimensions ( ) ¶ operands ( ) ¶ shape ( ) ¶ class ufl.algebra. Division ( a, b ) ¶īases: evaluate ( x, mapping, component, index_values ) ¶ free_indices ( ) ¶ index_dimensions ( ) ¶ operands ( ) ¶ shape ( ) ¶ class ufl.algebra. Abs ( a ) ¶īases: evaluate ( x, mapping, component, index_values ) ¶ free_indices ( ) ¶ index_dimensions ( ) ¶ operands ( ) ¶ shape ( ) ¶ class ufl.algebra.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |