Navigation

Operators and Keywords

Function List:

C++ API

Function File: [L] = LinearForm (my_problem, U, coefficient_1, coefficient_2,...)

Construct a Functional previously imported from a ufl file.

The compulsory arguments are:

  • my_problem, the name of the problem to solve.
  • the FunctionSpace U where the problem is defined.

The optional arguments are the coefficient_1, coefficient_2 which specify the parameters for the LinearForm with the same name which was used in the ufl file. They can be either a Constant, a Function or an Expression. You can also optionally provide a MeshFunction marking subdomains.

See also: import_ufl_LinearForm, import_ufl_Problem, BilinearForm, ResidualForm, MeshFunction.

Package: fem-fenics