Prakhar Sharma

Results 85 comments of Prakhar Sharma

If the geometry is not defined, you can pass anchor points for collocation points and `PointSetBC` for BC points.

Yes the number of points will increase exponentially with the increase in number of features. Instead of `np.meshgrid()` I would suggest you to use `itertools.product()`. For the second comment, I...

I mean just create a geometry in your favourite CAD tool. Mesh the geometry and extract the nodal coordinates. Firstly, you need to put all the nodal coordinates in the...

Suppose you have 2 different BCs. You need to extract the nodal coordinates for each BC and manually apply the prescribed value for each BC. You can use `np.meshgrid` but...

Yes, that is correct. True this is not implemented for NeumannBC.

Can you please put a 0.5 weight for the PDE loss and 1.0 for all the BC losses? > Although the total loss has decreased, the result does not seem...

Please put the full trackback of the error inside the code snippet i.e. `` icon in the toolbar. When you say "ODE specified in a matrix form" i guess you...

`InvalidArgumentError: Incompatible shapes: [39,1] vs. [2,39].` You might want to replace ``` rhs = tf.matmul(A_tf, y, transpose_b=False) ``` I didn't run your code.