Navigation

Operators and Keywords

Function List:

C++ API

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

Construct a ResidualForm previously imported from a ufl file with the function import_ufl_LinearForm.

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 ResidualForm with the same name which was used in the ufl file. They can be either a Constant, a Function or an Expression.

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

Package: fem-fenics