Hi Lu,
Thanks for the great library.
I am learning how to use OperatorBC. As a sanity check, I did an experiment to see if OperatorBC can match DirichletBC.
The code is exactly the same as in diffusion_1D.py except that I define a function bc to return 0 and feed it into OperatorBC.
Hi Lu, Thanks for the great library. I am learning how to use
OperatorBC
. As a sanity check, I did an experiment to see ifOperatorBC
can matchDirichletBC
. The code is exactly the same as in diffusion_1D.py except that I define a functionbc
to return 0 and feed it intoOperatorBC
.The results are quite different. Did I define
bc
incorrectly?DirichletBC
OperatorBC
// Train loss for BC is 0 although it looks like BC is not satisfied?