Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ net = dlupdate(@double, net);
% Visually inspect the network.
analyzeNetwork(net)
```
![figure_2.png](./images/figure_2.png)
![figure_0.png](./images/figure_0.png)

## Create training input
```matlab
Expand Down Expand Up @@ -137,7 +137,7 @@ for iteration = 1:maxIterations
end
```

![figure_0.png](./images/figure_0.png)
![figure_1.png](./images/figure_1.png)
## Plot predictions
```matlab
% Create test set using meshgrid.
Expand Down Expand Up @@ -189,7 +189,7 @@ axis equal
title('v')
```

![figure_1.png](./images/figure_1.png)
![figure_2.png](./images/figure_2.png)
## Loss function and helper functions
```matlab
function [loss, grads, lossEqnX, lossEqnY, lossBC] = pinnsLossFunction(net, xyEquation, xyBoundary, zeroVector, uvBoundary, Re)
Expand Down
Loading