The Case of Simple Boundaries
If the boundary is a hypercube then for the case of Dirichlet BCs we have developed the following solution model.
?m(x) = B(x) + Z(x)N(x,p)
B(x) satisfies the boundary conditions.
Z(x) is zero only on the boundary.
N(x,p) is a Neural Network.