From 53ad57803dd953ecf06a1eb604ed00e21818ec74 Mon Sep 17 00:00:00 2001 From: Joaquin Matres <4514346+joamatab@users.noreply.github.com> Date: Sun, 4 Jan 2026 11:57:33 -0800 Subject: [PATCH] fix elmer --- gplugins/elmer/get_capacitance.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gplugins/elmer/get_capacitance.py b/gplugins/elmer/get_capacitance.py index 4e443164..1ab644e7 100644 --- a/gplugins/elmer/get_capacitance.py +++ b/gplugins/elmer/get_capacitance.py @@ -224,10 +224,7 @@ def run_capacitive_simulation_elmer( else: prisms = get_meshwell_prisms( component=component, - type="3D", - filename=simulation_folder / filename, layer_stack=layer_stack, - n_threads=n_processes, ) cad( entities_list=prisms, @@ -263,7 +260,7 @@ def run_capacitive_simulation_elmer( # Signals are converted to Elmer Boundary Conditions ground_layers = { next(k for k, v in layer_stack.layers.items() if v.layer == port.layer) - for port in component.get_ports() + for port in component.ports } # ports allowed only on metal metal_surfaces = [ e for e in mesh_surface_entities if any(ground in e for ground in ground_layers)