Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pyccel/psydac
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1a246640c558b211e9217928a68680c013689c49
Choose a base ref
..
head repository: pyccel/psydac
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c810edc6bb9d3c10436ea79c5291a78ee4f716ef
Choose a head ref
4 changes: 2 additions & 2 deletions psydac/feec/multipatch/examples/ppc_test_cases.py
Original file line number Diff line number Diff line change
@@ -113,8 +113,8 @@ def get_Gaussian_beam2(x_0, y_0, domain=None):

t = [(x-x0)*cos(theta) - (y - y0) * sin(theta), (x-x0)*sin(theta) + (y-y0) * cos(theta)]

## Gaussian beam
"""
"""
Gaussian beam
Beam inciding from the left, centered and normal to wall:
x: axial normalized distance to the beam's focus
y: radial normalized distance to the center axis of the beam
17 changes: 8 additions & 9 deletions psydac/feec/multipatch/examples_nc/hcurl_eigen_testcase.py
Original file line number Diff line number Diff line change
@@ -116,9 +116,13 @@
case_dir = 'eigenpbm_'+operator+'_'+method
ref_case_dir = case_dir

cb_min_sol = None
cb_max_sol = None

ref_sigmas = None
sigma = None
nb_eigs_solve = None
nb_eigs_plot = None
skip_eigs_threshold = None
diags = None
eigenvalues = None

if domain_name == 'refined_square':
assert domain == [[0, np.pi],[0, np.pi]]
@@ -180,12 +184,7 @@
nb_eigs_solve = 10
nb_eigs_plot = 5
skip_eigs_threshold = 1e-7
else:
ref_sigmas = None
sigma = None
nb_eigs_solve = None
nb_eigs_plot = None
skip_eigs_threshold = None

#
# ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----

3 changes: 0 additions & 3 deletions psydac/feec/multipatch/examples_nc/timedomain_maxwell_nc.py
Original file line number Diff line number Diff line change
@@ -484,9 +484,6 @@ def is_plotting_time(nt, *, dt=dt, Nt=Nt, plot_time_ranges=plot_time_ranges):

# f0_c = np.zeros(V1h.nbasis)

def source_enveloppe(tau):
return 1

if source_omega is not None:
f0_harmonic = f0
f0 = None