Implement non-zero dirichlet boundary condition
Bug description / feature request:
Currently we only can use dirichlet bc which sets the boundary value as "0" through the psydac kernel apply_essential_bc_to_array
.
Boundary operator which can handle non-zero dirichlet bc might be useful later.
Expected behavior:
Users can assign the boundary values which will be used for dirichlet bc.
Proposed solution:
Replacing psydac kernel apply_essential_bc_to_array
with our own kernel and gives user defined boundary value as an input.
Boundary values can be assigned at the parameters.yml
e.g.
dirichlet_bc : [[0, 1], [False, False], [False, False]]