Construct the discretization of a system and apply essential BC. The input arguments are
The output A is a matrix representing the form_a while b represents form_L. If boundary conditions have to be applied to a vector for a nonlinear problem then it should be provided as third argument and it will be given back as the third output argument. For an example of this situation, please refer to the HyperElasticity example.
See also: BilinearForm, LinearForm, ResidualForm, JacobianForm, Functional.
Package: fem-fenics