Skip to content

Commit

Permalink
Rebaseline spheres example due to updated default quadrature rule order
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Sep 22, 2023
1 parent 4e3af66 commit b2b2d4a
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions docs/src/examples/spheres.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ The resulting extracted Maxwell capacitance matrix is saved to disk in the CSV f

```
i, C[i][1] (F), C[i][2] (F)
1.000000e+00, +1.237470540e-12, -4.771229894e-13
2.000000e+00, -4.771229894e-13, +2.478512490e-12
1.000000e+00, +1.237470440e-12, -4.771229193e-13
2.000000e+00, -4.771229193e-13, +2.478512278e-12
```

In this case, the analytic solution yields
Expand All @@ -81,8 +81,8 @@ The mutual capacitance matrix can be computed from its Maxwell counterpart, and

```
i, C_m[i][1] (F), C_m[i][2] (F)
1.000000e+00, +7.603475504e-13, +4.771229894e-13
2.000000e+00, +4.771229894e-13, +2.001389500e-12
1.000000e+00, +7.603475205e-13, +4.771229193e-13
2.000000e+00, +4.771229193e-13, +2.001389358e-12
```

Additionally, while the typical approach used by *Palace* for lumped parameter extraction
Expand All @@ -95,8 +95,8 @@ capacitances are written to `postpro/surface-C.csv`:

```
i, C[1] (F), C[2] (F)
1.000000e+00, +1.210962236e-12, -4.677852948e-13
2.000000e+00, -4.669431918e-13, +2.425918151e-12
1.000000e+00, +1.219433080e-12, -4.711763113e-13
2.000000e+00, -4.701805852e-13, +2.443652512e-12
```

and agree closely with the values computed using the default method above, as expected.
Expand Down
4 changes: 2 additions & 2 deletions test/ref/spheres/domain-E.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
i, E_elec, E_mag, E_cap, E_ind
1.000000e+00, +4.658701492e-02, +0.000000000e+00, +0.000000000e+00, +0.000000000e+00
2.000000e+00, +9.330848259e-02, +0.000000000e+00, +0.000000000e+00, +0.000000000e+00
1.000000e+00, +4.658701115e-02, +0.000000000e+00, +0.000000000e+00, +0.000000000e+00
2.000000e+00, +9.330847462e-02, +0.000000000e+00, +0.000000000e+00, +0.000000000e+00
4 changes: 2 additions & 2 deletions test/ref/spheres/probe-E.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
i, E_x[1], E_y[1], E_z[1]
1.000000e+00, +1.818302735e+02, -1.021781177e+00, +1.004988847e-01
2.000000e+00, -1.229666327e+02, +6.910014939e-01, -6.796453200e-02
1.000000e+00, +1.819934134e+02, -1.022697929e+00, +1.005890533e-01
2.000000e+00, -1.230662291e+02, +6.915611682e-01, -6.801957964e-02
4 changes: 2 additions & 2 deletions test/ref/spheres/surface-C.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
i, C[1] (F), C[2] (F)
1.000000e+00, +1.218551118e-12, -4.708334253e-13
2.000000e+00, -4.698471938e-13, +2.441796020e-12
1.000000e+00, +1.219433080e-12, -4.711763113e-13
2.000000e+00, -4.701805852e-13, +2.443652512e-12
4 changes: 2 additions & 2 deletions test/ref/spheres/terminal-C.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
i, C[i][1] (F), C[i][2] (F)
1.000000e+00, +1.237470540e-12, -4.771229894e-13
2.000000e+00, -4.771229894e-13, +2.478512490e-12
1.000000e+00, +1.237470440e-12, -4.771229193e-13
2.000000e+00, -4.771229193e-13, +2.478512278e-12
4 changes: 2 additions & 2 deletions test/ref/spheres/terminal-Cinv.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
i, C⁻¹[i][1] (1/F), C⁻¹[i][2] (1/F)
1.000000e+00, +8.728878328e+11, +1.680341955e+11
2.000000e+00, +1.680341955e+11, +4.358150230e+11
1.000000e+00, +8.728878944e+11, +1.680341970e+11
2.000000e+00, +1.680341970e+11, +4.358150558e+11
4 changes: 2 additions & 2 deletions test/ref/spheres/terminal-Cm.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
i, C_m[i][1] (F), C_m[i][2] (F)
1.000000e+00, +7.603475504e-13, +4.771229894e-13
2.000000e+00, +4.771229894e-13, +2.001389500e-12
1.000000e+00, +7.603475205e-13, +4.771229193e-13
2.000000e+00, +4.771229193e-13, +2.001389358e-12

0 comments on commit b2b2d4a

Please sign in to comment.