Skip to content

Commit

Permalink
Azure CI commit ref c67d0341f466f257a63e54a06f0c85af28291ca0
Browse files Browse the repository at this point in the history
  • Loading branch information
simpeg-bot committed Oct 27, 2023
1 parent 4857e7c commit 8bf2b58
Show file tree
Hide file tree
Showing 4,552 changed files with 256,645 additions and 53,809 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Here we provide an example of edge inner product line matrix.
# For simplicity, we will work on a 2 x 2 x 2 tensor mesh.
# As seen below, we begin by constructing and imaging the basic
# edge inner product line matrix.
#
from discretize import TensorMesh
import matplotlib.pyplot as plt
import numpy as np
#
h = np.ones(2)
mesh = TensorMesh([h, h, h])
Me = mesh.get_edge_inner_product_line()
#
fig = plt.figure(figsize=(6, 6))
ax = fig.add_subplot(111)
ax.imshow(Me.todense())
ax.set_title('Basic Edge Inner Product Line Matrix', fontsize=18)
plt.show()
#
# Next, we consider the case where the physical properties
# are defined by diagnostic properties on mesh edges. For the isotropic case,
# we show the physical property tensor for a single cell.
#
# Define the diagnostic property values for x, y and z faces.
#
tau_x, tau_y, tau_z = 3, 2, 1
#
# Here construct and image the edge inner product line matrix for the isotropic case.
# Spy plots are used to demonstrate the sparsity of the matrix.
#
tau = np.r_[
tau_x * np.ones(mesh.n_edges_x),
tau_y * np.ones(mesh.n_edges_y),
tau_z * np.ones(mesh.n_edges_z)
]
M = mesh.get_edge_inner_product_line(tau)
#
# Then plot the sparse representation,
#
fig = plt.figure(figsize=(4, 4))
ax1 = fig.add_subplot(111)
ax1.imshow(M.todense())
ax1.set_title("M (isotropic)", fontsize=16)
plt.show()
Binary file not shown.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Here we provide an example of edge inner product surface matrix.
# For simplicity, we will work on a 2 x 2 x 2 tensor mesh.
# As seen below, we begin by constructing and imaging the basic
# edge inner product surface matrix.
#
from discretize import TensorMesh
import matplotlib.pyplot as plt
import numpy as np
import matplotlib as mpl
#
h = np.ones(2)
mesh = TensorMesh([h, h, h])
Me = mesh.get_edge_inner_product_surface()
#
fig = plt.figure(figsize=(6, 6))
ax = fig.add_subplot(111)
ax.imshow(Me.todense())
ax.set_title('Basic Edge Inner Product Surface Matrix', fontsize=18)
plt.show()
#
# Next, we consider the case where the physical properties
# are defined by diagnostic properties on mesh faces. For the isotropic case,
# we show the physical property tensor for a single cell.
#
# Define the diagnostic property values for x, y and z faces.
#
tau_x, tau_y, tau_z = 3, 2, 1
#
# Here construct and image the edge inner product surface matrix for the isotropic case.
# Spy plots are used to demonstrate the sparsity of the inner product surface matrices.
#
tau = np.r_[
tau_x * np.ones(mesh.n_faces_x),
tau_y * np.ones(mesh.n_faces_y),
tau_z * np.ones(mesh.n_faces_z)
]
M = mesh.get_edge_inner_product_surface(tau)
#
# Then plot the sparse representation,
#
fig = plt.figure(figsize=(4, 4))
ax1 = fig.add_subplot(111)
ax1.imshow(M.todense())
ax1.set_title("M (isotropic)", fontsize=16)
plt.show()
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Binary file not shown.
Diff not rendered.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Here we provide an example of edge inner product line matrix.
# For simplicity, we will work on a 2 x 2 x 2 tensor mesh.
# As seen below, we begin by constructing and imaging the basic
# edge inner product line matrix.
#
from discretize import TensorMesh
import matplotlib.pyplot as plt
import numpy as np
#
h = np.ones(2)
mesh = TensorMesh([h, h, h])
Me = mesh.get_edge_inner_product_line()
#
fig = plt.figure(figsize=(6, 6))
ax = fig.add_subplot(111)
ax.imshow(Me.todense())
ax.set_title('Basic Edge Inner Product Line Matrix', fontsize=18)
plt.show()
#
# Next, we consider the case where the physical properties
# are defined by diagnostic properties on mesh edges. For the isotropic case,
# we show the physical property tensor for a single cell.
#
# Define the diagnostic property values for x, y and z faces.
#
tau_x, tau_y, tau_z = 3, 2, 1
#
# Here construct and image the edge inner product line matrix for the isotropic case.
# Spy plots are used to demonstrate the sparsity of the matrix.
#
tau = np.r_[
tau_x * np.ones(mesh.n_edges_x),
tau_y * np.ones(mesh.n_edges_y),
tau_z * np.ones(mesh.n_edges_z)
]
M = mesh.get_edge_inner_product_line(tau)
#
# Then plot the sparse representation,
#
fig = plt.figure(figsize=(4, 4))
ax1 = fig.add_subplot(111)
ax1.imshow(M.todense())
ax1.set_title("M (isotropic)", fontsize=16)
plt.show()
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Here we provide an example of edge inner product line matrix.
# For simplicity, we will work on a 2 x 2 x 2 tensor mesh.
# As seen below, we begin by constructing and imaging the basic
# edge inner product line matrix.
#
from discretize import TensorMesh
import matplotlib.pyplot as plt
import numpy as np
#
h = np.ones(2)
mesh = TensorMesh([h, h, h])
Me = mesh.get_edge_inner_product_line()
#
fig = plt.figure(figsize=(6, 6))
ax = fig.add_subplot(111)
ax.imshow(Me.todense())
ax.set_title('Basic Edge Inner Product Line Matrix', fontsize=18)
plt.show()
#
# Next, we consider the case where the physical properties
# are defined by diagnostic properties on mesh edges. For the isotropic case,
# we show the physical property tensor for a single cell.
#
# Define the diagnostic property values for x, y and z faces.
#
tau_x, tau_y, tau_z = 3, 2, 1
#
# Here construct and image the edge inner product line matrix for the isotropic case.
# Spy plots are used to demonstrate the sparsity of the matrix.
#
tau = np.r_[
tau_x * np.ones(mesh.n_edges_x),
tau_y * np.ones(mesh.n_edges_y),
tau_z * np.ones(mesh.n_edges_z)
]
M = mesh.get_edge_inner_product_line(tau)
#
# Then plot the sparse representation,
#
fig = plt.figure(figsize=(4, 4))
ax1 = fig.add_subplot(111)
ax1.imshow(M.todense())
ax1.set_title("M (isotropic)", fontsize=16)
plt.show()
Binary file not shown.
Loading

0 comments on commit 8bf2b58

Please sign in to comment.