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:
Basic
DefNode 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#
- property domain_dtype#
This property is used when we create the type of a constant for pyccel in build_pyccel_types_decorator.
- 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:
object
The 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#