Skip to content

Commit

Permalink
Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrom96git committed Jan 5, 2024
1 parent 638bd3c commit f9d98e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pySDC/projects/Second_orderSDC/penningtrap_Simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def compute_global_error_data(self, Picard=False, RK=False, VV=False, work_count
file.close()

# find expected local convergence order for position
def local_order_pos(self, order_K, order_quad):
def local_order_pos(self, order_K, order_quad): # pragma: no cover
if self.description['sweeper_params']['initial_guess'] == 'spread':
if self.quad_type == 'GAUSS' or self.quad_type == 'RADAU-RIGHT':
return np.array([np.min([order_K + 2 + 2, order_quad]), np.min([2 * order_K + 3, order_quad])])
Expand All @@ -687,7 +687,7 @@ def local_order_pos(self, order_K, order_quad):
raise NotImplementedError('order of convergence explicitly not implemented ')

# find expected local convergence order for velocity
def local_order_vel(self, order_K, order_quad):
def local_order_vel(self, order_K, order_quad): # pragma: no cover
if self.description['sweeper_params']['initial_guess'] == 'spread':
if self.quad_type == 'GAUSS' or self.quad_type == 'RADAU-RIGHT':
return np.array([np.min([order_K + 1 + 2, order_quad]), np.min([2 * order_K + 2, order_quad])])
Expand Down Expand Up @@ -882,7 +882,7 @@ def plot_stability(self, region, title=""): # pragma: no cover
plt.clabel(CS1, inline=True, fmt="%3.2f")

plt.gca().set_xticks(np.arange(0, int(lam_k_max) + 3, 3))
plt.gca().set_yticks(np.arange(0, int(lam_mu_max) + 3, 3))
plt.gca().set_yticks(np.arange(0, int(lam_mu_max) + 5, 5))
plt.gca().tick_params(axis="both", which="both")
plt.xlim([0.0, lam_k_max])
plt.ylim([0.0, lam_mu_max])
Expand Down

0 comments on commit f9d98e1

Please sign in to comment.