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