Skip to content

Commit

Permalink
simplify example
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Oct 11, 2023
1 parent 0c65326 commit 35e58a6
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions docs/electronics/examples/capacitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,38 +30,16 @@
# First, we parametrize a simple geometry:

# %%
from collections import OrderedDict

import matplotlib.pyplot as plt
import numpy as np
import shapely
import shapely.affinity
from meshwell.model import Model
from meshwell.polysurface import PolySurface
from scipy.constants import epsilon_0, speed_of_light
from shapely.ops import clip_by_rect
from skfem import (
Basis,
BilinearForm,
ElementDG,
ElementTriN1,
ElementTriN2,
ElementTriP0,
ElementTriP1,
ElementTriP2,
ElementVector,
Functional,
InteriorFacetBasis,
LinearForm,
Mesh,
condense,
solve,
)
from skfem import Basis, ElementDG, ElementTriP0, Functional
from skfem.helpers import dot
from skfem.io.meshio import from_meshio

from femwell.coulomb import solve_coulomb
from femwell.maxwell.waveguide import compute_modes
from femwell.visualization import plot_domains, plot_subdomain_boundaries

# %%
Expand Down

0 comments on commit 35e58a6

Please sign in to comment.