api.ast.fem#
Functions#
|
|
|
This function returns the index of a Function Space in a 3D DeRham sequence |
|
This function expands vector functions into indexed functions |
|
This function expands vector functions of type hdiv and hculr into indexed functions |
|
|
|
|
|
This function regourps the test/trial functions by their Function Space |
|
Classes#

|
The AST class transforms a terminal expression returned from SymPDE into a DefNode object, which it stores into the attribute expr. |
|
DefNode represents a function definition where it contains the arguments and the body |
Details#
- class DefNode(name, arguments, local_variables, body, imports, results, kind, domain_dtype='real')[source]#
Bases:
BasicDefNode represents a function definition where it contains the arguments and the body
- property name#
- property arguments#
- property local_variables#
- property body#
- property imports#
- property results#
- property kind#
Default kind for all SymPy object. If the kind is not defined for the object, or if the object cannot infer the kind from its arguments, this will be returned.
Examples
>>> from sympy import Expr >>> Expr().kind UndefinedKind
- property domain_dtype#
This property is used when we create the type of a constant for pyccel in build_pyccel_types_decorator.
- default_assumptions = {}#
- expand_hdiv_hcurl(args)[source]#
This function expands vector functions of type hdiv and hculr into indexed functions
- class AST(expr, terminal_expr, spaces, *, nquads, mapping_space=None, tag=None, mapping=None, is_rational_mapping=None, num_threads=1, **kwargs)[source]#
Bases:
objectThe AST class transforms a terminal expression returned from SymPDE into a DefNode object, which it stores into the attribute expr.
A DefNode represents a function definition, and it contains the full PSYDAC abstract syntax tree for the assembly function of a BilinearForm, LinearForm, or Functional.
- property expr#
- property nderiv#
- property domain#
- property mapping#
- property dim#
- property num_threads#