-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (29 loc) · 1009 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE HTML>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/5.0.0/math.min.js"></script>
<script src="https://cdn.plot.ly/plotly-2.0.0.min.js"></script>
<!-- <script src="myMath.js"></script> -->
<script src="js/Laplace1D.js"></script>
<script src="js/Poisson1D.js"></script>
<script src="js/Laplace2D.js"></script>
<script src="js/2DLaplaceLusolve.js"></script>
<style>
#myDiv {
border: solid;
border-style: solid;
border-radius: 7px;
}
.myButton {
width: 48%;
}
</style>
</head>
<body onload="draw_Laplace1D()">
<button class="myButton" onclick="draw_Laplace1D()">Laplace 1D</button>
<button class="myButton" onclick="draw_Poisson1D()">Poisson 1D</button>
<button class="myButton" onclick="draw_Laplace2D()">Laplace 2D Gauss-Seidel</button>
<button class="myButton" onclick="draw_Laplace2D_Lusolve()">Laplace 2D Lusolve</button>
<div id="myDiv" style="width: 603pt; height: 500pt"></div>
</body>
</html>