| src/swiift/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/api.py |
_ProgressBarProtocol.update |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/api/api.py |
_ProgressBarProtocol.close |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/api/api.py |
_VerboseProgressBarProtocol.write |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/api/api.py |
_create_path |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/api/api.py |
_load_pickle |
6 |
6 |
0 |
2 |
0 |
0% |
| src/swiift/api/api.py |
_glob |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
_dct_keys_to_array |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
_assemble_experiments |
5 |
5 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
_str_to_path |
6 |
6 |
0 |
2 |
0 |
0% |
| src/swiift/api/api.py |
load_pickles |
5 |
5 |
0 |
2 |
0 |
0% |
| src/swiift/api/api.py |
load_pickle |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.from_discrete |
6 |
6 |
0 |
4 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.timesteps |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.add_floes |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment._find_fracture_indices |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.get_pre_fracture_times |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.get_post_fracture_times |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.get_final_state |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment._save_step |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.step |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.get_states |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.get_states_strict |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment._time_interval_str |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment._generate_name |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/api/api.py |
Experiment._dump |
5 |
5 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment._clean_history |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.dump_history |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment._should_terminate |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.run |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/api/api.py |
Experiment.run |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/api/api.py |
Experiment.run |
31 |
31 |
12 |
20 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.run.pbar_print |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/api/api.py |
Experiment.run.dump_and_print |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/api/api.py |
Experiment.run.dump_and_print |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/api/api.py |
Experiment.run.dump_and_print |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/api/api.py |
(no function) |
51 |
51 |
29 |
0 |
0 |
0% |
| src/swiift/api/spectra.py |
_ParametrisedSpectrum.density |
0 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_ParametrisedSpectrum.discrete_energy |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_ParametrisedSpectrum._density_ang |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_ParametrisedSpectrum.__call__ |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_UnimodalSpectrum.peak_period |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_UnimodalSpectrum.peak_ang_frequency |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_UnimodalSpectrum.peak_frequency |
0 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_PMFamily.swh |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_PMFamily.peak_frequency |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
_PMFamily.density |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
PiersonMoskowitz._make_scale |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
PiersonMoskowitz.from_swh |
3 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
PiersonMoskowitz.from_peak_frequency |
3 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
Bretschneider.from_peak_frequency_swh |
3 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
JONSWAP.peak_frequency |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
JONSWAP.swh |
1 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
JONSWAP.from_parameters |
2 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
JONSWAP.density |
4 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/spectra.py |
(no function) |
61 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/api/utils.py |
compute_free_surface_wavenumbers |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/api/utils.py |
compute_elastic_mass_loading_wavenumbers |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/api/utils.py |
(no function) |
6 |
6 |
2 |
0 |
0 |
0% |
| src/swiift/lib/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/lib/_ph_utils.py |
_unit_wavefield |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/_ph_utils.py |
_wavefield |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/_ph_utils.py |
(no function) |
3 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/lib/att.py |
no_attenuation |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/att.py |
parameterisation_01 |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/att.py |
parameterisation_yu2022 |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/att.py |
(no function) |
17 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/lib/constants.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/lib/dr.py |
FreeSurfaceSolver.from_ocean |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/dr.py |
FreeSurfaceSolver.f |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/dr.py |
FreeSurfaceSolver.df_dk |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/dr.py |
FreeSurfaceSolver.find_k |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/lib/dr.py |
FreeSurfaceSolver._compute_real_wavenumbers |
11 |
11 |
0 |
6 |
0 |
0% |
| src/swiift/lib/dr.py |
FreeSurfaceSolver.compute_wavenumbers |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/lib/dr.py |
ElasticMassLoadingSolver.from_floating |
5 |
5 |
0 |
0 |
0 |
0% |
| src/swiift/lib/dr.py |
ElasticMassLoadingSolver.f |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/dr.py |
ElasticMassLoadingSolver.df_dk |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/dr.py |
ElasticMassLoadingSolver.extract_real_root |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/lib/dr.py |
ElasticMassLoadingSolver.find_k |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/lib/dr.py |
ElasticMassLoadingSolver._compute_real_wavenumbers |
18 |
18 |
0 |
8 |
0 |
0% |
| src/swiift/lib/dr.py |
ElasticMassLoadingSolver.compute_wavenumbers |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/lib/dr.py |
(no function) |
32 |
0 |
2 |
0 |
0 |
100% |
| src/swiift/lib/graphics.py |
_linspace_nums |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/graphics.py |
_domain_to_lengths |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/graphics.py |
_surface_segments |
11 |
11 |
0 |
2 |
0 |
0% |
| src/swiift/lib/graphics.py |
_compute_segment |
5 |
5 |
0 |
0 |
0 |
0% |
| src/swiift/lib/graphics.py |
_dis_segments |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/lib/graphics.py |
plot_displacement |
16 |
16 |
0 |
10 |
0 |
0% |
| src/swiift/lib/graphics.py |
animate_displacement |
18 |
18 |
0 |
0 |
0 |
0% |
| src/swiift/lib/graphics.py |
animate_displacement.animate |
31 |
31 |
0 |
12 |
0 |
0% |
| src/swiift/lib/graphics.py |
(no function) |
16 |
0 |
2 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_growth_kernel |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
free_surface |
7 |
7 |
0 |
2 |
0 |
0% |
| src/swiift/lib/numerical.py |
_ode_system |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_boundary_conditions |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_solve_bvp |
7 |
7 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_get_result |
6 |
6 |
0 |
4 |
0 |
0% |
| src/swiift/lib/numerical.py |
_use_an_sol |
9 |
9 |
0 |
8 |
0 |
0% |
| src/swiift/lib/numerical.py |
_extract_from_poly |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_extract_dis_poly |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_non_lin_curv |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_non_lin_curv.non_lin_curv |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_extract_cur_poly |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_extract_cur_poly |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_extract_cur_poly |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_extract_cur_poly |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/lib/numerical.py |
displacement |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
curvature |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_prepare_integrand0 |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_prepare_integrand0 |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_prepare_integrand0 |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_prepare_integrand0 |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_square_cubic_poly |
8 |
8 |
0 |
2 |
0 |
0% |
| src/swiift/lib/numerical.py |
_pseudo_analytical_integration |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_prepare_integrand |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_prepare_integrand.unit_energy |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_estimate_quad_limit |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/lib/numerical.py |
_quad_integration |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_quad_integration |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_quad_integration |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_quad_integration |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/lib/numerical.py |
_tanhsinh_integration |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_tanhsinh_integration |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_tanhsinh_integration |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/lib/numerical.py |
_tanhsinh_integration |
12 |
12 |
0 |
6 |
0 |
0% |
| src/swiift/lib/numerical.py |
unit_energy |
20 |
20 |
0 |
16 |
0 |
0% |
| src/swiift/lib/numerical.py |
(no function) |
33 |
0 |
73 |
0 |
0 |
100% |
| src/swiift/lib/phase_shift.py |
_seed_rng |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/phase_shift.py |
_ScatteringHandler.compute_edge_amplitudes |
0 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/lib/phase_shift.py |
ContinuousScatteringHandler.compute_edge_amplitudes |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/phase_shift.py |
_RandomScatteringHandler.from_seed |
0 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/lib/phase_shift.py |
UniformScatteringHandler.from_seed |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/phase_shift.py |
UniformScatteringHandler.compute_edge_amplitudes |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/phase_shift.py |
PerturbationScatteringHandler.from_seed |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/phase_shift.py |
PerturbationScatteringHandler.compute_edge_amplitudes |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/lib/phase_shift.py |
(no function) |
32 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/lib/physics.py |
_package_wuf |
5 |
5 |
0 |
2 |
0 |
0% |
| src/swiift/lib/physics.py |
_dis_par_amps |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
_dis_hom_coefs |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
_dis_hom_mat |
6 |
6 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
_dis_hom_rhs |
10 |
10 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
_demote_to_scalar |
2 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/lib/physics.py |
_demote_to_scalar.wrapper |
6 |
0 |
0 |
2 |
0 |
100% |
| src/swiift/lib/physics.py |
FluidSurfaceHandler.from_wuf |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
FluidSurfaceHandler.from_domain |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
FluidSurfaceHandler.compute |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
DisplacementHandler.from_wuf |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
DisplacementHandler._dis_hom |
6 |
6 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
DisplacementHandler._dis_par |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
DisplacementHandler._dis |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
DisplacementHandler.compute |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/lib/physics.py |
CurvatureHandler.from_wuf |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
CurvatureHandler._cur_wavefield |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
CurvatureHandler._cur_hom |
6 |
6 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
CurvatureHandler._cur_par |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
CurvatureHandler._cur |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
CurvatureHandler.compute |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/lib/physics.py |
StrainHandler.from_wuf |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
StrainHandler.compute |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler.from_wuf |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler._compute_factor |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler._egy_hom |
5 |
5 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler._egy_par_vals |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler._egy_par_pow2 |
12 |
12 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler._egy_par_m |
14 |
14 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler._egy_par_m._f |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler._egy_par |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler._egy_m |
47 |
47 |
0 |
0 |
0 |
0% |
| src/swiift/lib/physics.py |
EnergyHandler.compute |
6 |
6 |
0 |
2 |
0 |
0% |
| src/swiift/lib/physics.py |
(no function) |
74 |
0 |
2 |
0 |
0 |
100% |
| src/swiift/model/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/model/frac_handlers.py |
_make_search_array |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
_make_diagnose_array |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
_FractureHandler.split |
11 |
11 |
0 |
2 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
_FractureHandler.search |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
BinaryFracture.compute_energies |
5 |
5 |
0 |
2 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
BinaryFracture._ener_min |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
BinaryFracture.diagnose |
6 |
6 |
0 |
2 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
BinaryFracture.discrete_sweep |
6 |
6 |
0 |
2 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
BinaryFracture.search |
11 |
11 |
0 |
4 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
_StrainFracture.discrete_sweep |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
_StrainFracture.search_peaks |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
_StrainFracture.diagnose |
5 |
5 |
0 |
0 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
BinaryStrainFracture.search |
5 |
5 |
0 |
2 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
MultipleStrainFracture.search |
5 |
5 |
0 |
2 |
0 |
0% |
| src/swiift/model/frac_handlers.py |
(no function) |
49 |
0 |
0 |
0 |
0 |
100% |
| src/swiift/model/model.py |
_Subdomain.right_edge |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Ice.quad_moment |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Ice.flex_rigidity |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Ice.frac_energy_rate |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
FloatingIce.from_ice_ocean |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
FloatingIce.elastic_length |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
FloatingIce.freeboard |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
FloatingIce._elastic_number |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
FloatingIce._red_elastic_number |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderElasticPlate.from_floating |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderElasticPlate.from_ocean |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderIce.without_attenuation |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderIce.with_attenuation_01 |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderIce.with_attenuation_yu2022 |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderIce.with_generic_attenuation |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderIce._c_wavenumbers |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
FreeSurfaceWaves.from_ocean |
3 |
3 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
FreeSurfaceWaves.wavelengths |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderFloe._adim |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderFloe.make_copy |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderFloe.shift_waves |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/model/model.py |
WavesUnderFloe.shift_waves |
0 |
0 |
1 |
0 |
0 |
100% |
| src/swiift/model/model.py |
WavesUnderFloe.shift_waves |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderFloe.displacement |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderFloe.curvature |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
WavesUnderFloe.energy |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
DiscreteSpectrum.__init__ |
14 |
14 |
0 |
8 |
0 |
0% |
| src/swiift/model/model.py |
DiscreteSpectrum.from_periods |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
DiscreteSpectrum.periods |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
DiscreteSpectrum.angular_frequencies |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
DiscreteSpectrum._ang_freqs_pow2 |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
DiscreteSpectrum.nf |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
DiscreteSpectrum.energy |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Domain.from_discrete |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
Domain.with_growth_means |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Domain.with_growth_std |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Domain.__attrs_post_init__ |
11 |
11 |
0 |
10 |
0 |
0% |
| src/swiift/model/model.py |
Domain._compute_phase_shifts |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
Domain._compute_wui |
12 |
12 |
0 |
10 |
0 |
0% |
| src/swiift/model/model.py |
Domain._shift_phases |
2 |
2 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
Domain._shift_growth_means |
5 |
5 |
0 |
4 |
0 |
0% |
| src/swiift/model/model.py |
Domain.add_floes |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Domain._promote_floe |
7 |
7 |
0 |
4 |
0 |
0% |
| src/swiift/model/model.py |
Domain._check_overlap |
3 |
3 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
Domain._init_phases |
7 |
7 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
Domain._init_amplitudes |
5 |
5 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
Domain._init_subdomains |
4 |
4 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Domain.iterate |
5 |
5 |
0 |
4 |
0 |
0% |
| src/swiift/model/model.py |
Domain.breakup |
2 |
2 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
Domain.breakup.get_broken_wufs |
4 |
4 |
0 |
2 |
0 |
0% |
| src/swiift/model/model.py |
Domain.plot |
1 |
1 |
0 |
0 |
0 |
0% |
| src/swiift/model/model.py |
(no function) |
147 |
0 |
8 |
0 |
0 |
100% |
| tests/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/helpers.py |
make_growth_params |
4 |
4 |
0 |
2 |
0 |
0% |
| tests/helpers.py |
setup_wuf |
7 |
7 |
0 |
0 |
0 |
0% |
| tests/helpers.py |
(no function) |
7 |
7 |
0 |
0 |
0 |
0% |
| tests/model_strategies.py |
spec_mono |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/model_strategies.py |
spec_poly |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/model_strategies.py |
(no function) |
22 |
22 |
0 |
0 |
0 |
0% |
| tests/physical_strategies.py |
ice_density |
2 |
2 |
0 |
0 |
0 |
0% |
| tests/physical_strategies.py |
ice_thickness |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/physical_strategies.py |
floe_length |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/physical_strategies.py |
(no function) |
15 |
0 |
0 |
0 |
0 |
100% |
| tests/test_attenuation.py |
TestNoAttenuation.test_unit |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestNoAttenuation.test_integrated |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestParam01.test_unit |
2 |
2 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestParam01.test_integrated |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestYu2022.test_unit |
6 |
6 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestYu2022.test_integrated |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestGeneric.test_no_attenuation |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestGeneric.test_param01_args |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestGeneric.test_param01_kwargs |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
TestGeneric.test_yu2022 |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_attenuation.py |
(no function) |
42 |
42 |
0 |
0 |
0 |
0% |
| tests/test_diagnosis.py |
boiler_plate |
0 |
0 |
1 |
0 |
0 |
100% |
| tests/test_diagnosis.py |
boiler_plate |
0 |
0 |
1 |
0 |
0 |
100% |
| tests/test_diagnosis.py |
boiler_plate |
0 |
0 |
1 |
0 |
0 |
100% |
| tests/test_diagnosis.py |
boiler_plate |
0 |
0 |
1 |
0 |
0 |
100% |
| tests/test_diagnosis.py |
boiler_plate |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_diagnosis.py |
test_energy |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_diagnosis.py |
test_strain |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_diagnosis.py |
(no function) |
22 |
22 |
24 |
0 |
0 |
0% |
| tests/test_disp_relations.py |
_free_surface |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_disp_relations.py |
elas_mass_surface |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_disp_relations.py |
test_free_surface |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_disp_relations.py |
test_free_surface_utils |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_disp_relations.py |
test_elas_mass_loading |
7 |
7 |
0 |
0 |
0 |
0% |
| tests/test_disp_relations.py |
test_elas_mass_loading_utils |
7 |
7 |
0 |
0 |
0 |
0% |
| tests/test_disp_relations.py |
(no function) |
16 |
16 |
0 |
0 |
0 |
0% |
| tests/test_domain.py |
instantiate_domain |
6 |
6 |
0 |
2 |
0 |
0% |
| tests/test_domain.py |
test_initialisation |
9 |
9 |
0 |
0 |
0 |
0% |
| tests/test_domain.py |
test_failing |
11 |
11 |
0 |
2 |
0 |
0% |
| tests/test_domain.py |
instantiate_floe |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_domain.py |
test_att_parameterisations |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_domain.py |
test_promote |
10 |
10 |
0 |
0 |
0 |
0% |
| tests/test_domain.py |
test_breakup |
27 |
27 |
2 |
6 |
0 |
0% |
| tests/test_domain.py |
(no function) |
23 |
23 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
DummyPbar.__init__ |
2 |
2 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
DummyPbar.update |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
DummyPbar.close |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
DummyPbar.write |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
mock_breakup |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
run_time_chunks_composite |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
setup_experiment |
7 |
7 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
setup_experiment_with_floe |
6 |
6 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
step_experiment |
2 |
2 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
experiment_with_history |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_create_directory |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_simple_read |
10 |
10 |
0 |
4 |
0 |
0% |
| tests/test_experiment.py |
test_read_wrong_type |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_file_error |
5 |
5 |
0 |
2 |
0 |
0% |
| tests/test_experiment.py |
test_load_pickles |
12 |
12 |
0 |
4 |
0 |
0% |
| tests/test_experiment.py |
test_recursive_load |
4 |
4 |
0 |
2 |
0 |
0% |
| tests/test_experiment.py |
test_initialisation |
9 |
9 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_initialisation_with_opt_params |
10 |
10 |
0 |
2 |
0 |
0% |
| tests/test_experiment.py |
test_add_floes_single |
12 |
12 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_add_floes_collection |
7 |
7 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_add_floes_overlap |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
total_length_comparison |
2 |
2 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_step |
18 |
18 |
0 |
2 |
0 |
0% |
| tests/test_experiment.py |
test_get_timesteps |
7 |
7 |
0 |
2 |
0 |
0% |
| tests/test_experiment.py |
test_pre_post_factures |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_get_states_strict |
22 |
22 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_get_states_perturbated |
25 |
25 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_history_dump |
8 |
8 |
0 |
2 |
0 |
0% |
| tests/test_experiment.py |
test_run_basic |
10 |
10 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_run_basic.step_spy |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_run_with_pbar |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
test_run_with_chunk_size |
15 |
15 |
0 |
4 |
0 |
0% |
| tests/test_experiment.py |
test_verbose_run |
15 |
15 |
0 |
6 |
0 |
0% |
| tests/test_experiment.py |
test_verbose_run_with_pbar |
13 |
13 |
0 |
4 |
0 |
0% |
| tests/test_experiment.py |
test_run_early_termination |
16 |
16 |
0 |
2 |
0 |
0% |
| tests/test_experiment.py |
test_run_early_termination.mock_should_terminate |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_experiment.py |
(no function) |
87 |
87 |
0 |
0 |
0 |
0% |
| tests/test_fracture.py |
make_wuf |
8 |
8 |
0 |
0 |
0 |
0% |
| tests/test_fracture.py |
test_abstract |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_fracture.py |
test_initialisation_scattering |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_fracture.py |
test_initialisation_scattering.make_handler_from_spec |
9 |
9 |
2 |
4 |
0 |
0% |
| tests/test_fracture.py |
check_no_overlap |
3 |
3 |
0 |
2 |
0 |
0% |
| tests/test_fracture.py |
test_binary_energy_no_growth |
9 |
9 |
0 |
2 |
0 |
0% |
| tests/test_fracture.py |
test_binary_energy_with_growth |
9 |
9 |
0 |
2 |
0 |
0% |
| tests/test_fracture.py |
test_binary_strain_no_growth |
9 |
9 |
0 |
2 |
0 |
0% |
| tests/test_fracture.py |
test_binary_strain_with_growth |
9 |
9 |
0 |
2 |
0 |
0% |
| tests/test_fracture.py |
test_multi_strain_no_growth |
9 |
9 |
0 |
2 |
0 |
0% |
| tests/test_fracture.py |
test_multi_strain_with_growth |
9 |
9 |
0 |
2 |
0 |
0% |
| tests/test_fracture.py |
(no function) |
39 |
39 |
0 |
0 |
0 |
0% |
| tests/test_graphics.py |
test_num_for_linspace |
6 |
6 |
0 |
2 |
0 |
0% |
| tests/test_graphics.py |
(no function) |
5 |
5 |
0 |
0 |
0 |
0% |
| tests/test_model_objects.py |
TestSubdomain.test_right_edge |
2 |
2 |
0 |
0 |
0 |
0% |
| tests/test_model_objects.py |
(no function) |
7 |
7 |
0 |
0 |
0 |
0% |
| tests/test_numerical.py |
make_use_an_sol_params |
8 |
8 |
0 |
2 |
0 |
0% |
| tests/test_numerical.py |
test_use_an_sol |
13 |
13 |
0 |
10 |
0 |
0% |
| tests/test_numerical.py |
(no function) |
8 |
8 |
0 |
0 |
0 |
0% |
| tests/test_param_spectra.py |
test_angular_density |
6 |
0 |
0 |
2 |
0 |
100% |
| tests/test_param_spectra.py |
test_total_energy |
7 |
0 |
0 |
2 |
0 |
100% |
| tests/test_param_spectra.py |
test_properties |
3 |
0 |
0 |
0 |
0 |
100% |
| tests/test_param_spectra.py |
TestPiersonMoskowitz.test_recover_swh |
2 |
0 |
0 |
0 |
0 |
100% |
| tests/test_param_spectra.py |
TestPiersonMoskowitz.test_recover_peak_frequency |
2 |
0 |
0 |
0 |
0 |
100% |
| tests/test_param_spectra.py |
TestBretschneider.test_recover_physicak_values |
3 |
0 |
0 |
0 |
0 |
100% |
| tests/test_param_spectra.py |
(no function) |
27 |
0 |
0 |
0 |
0 |
100% |
| tests/test_physical_handlers.py |
prepare_instance |
7 |
7 |
0 |
4 |
0 |
0% |
| tests/test_physical_handlers.py |
test_shape_real |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_physical_handlers.py |
test_shape_array |
3 |
3 |
0 |
0 |
0 |
0% |
| tests/test_physical_handlers.py |
setup_wuf |
7 |
7 |
0 |
0 |
0 |
0% |
| tests/test_physical_handlers.py |
test_from_wuf_object |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_physical_handlers.py |
test_from_wuf_object_scalar |
3 |
3 |
0 |
0 |
0 |
0% |
| tests/test_physical_handlers.py |
(no function) |
34 |
34 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_flatten_and_squeeze |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.pytest_generate_tests |
2 |
2 |
0 |
2 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics._flatten_and_squeeze |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics._load |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.x_axes |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.floe_params_all |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.wave_params_all |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.growth_params_all |
1 |
1 |
0 |
2 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.displacements |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.displacements_growth |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.curvatures |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.curvatures_growth |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.energies |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.energies_growth |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.test_dimensions |
7 |
7 |
0 |
6 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.test_local |
9 |
9 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.test_local_with_growth |
8 |
8 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.test_energy |
11 |
11 |
0 |
2 |
0 |
0% |
| tests/test_physics.py |
_TestPhysics.test_energy_with_growth |
8 |
8 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
TestPhysicsMono.wave_params_all |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
TestPhysicsMono.growth_params_all |
4 |
4 |
0 |
0 |
0 |
0% |
| tests/test_physics.py |
TestPhysicsPoly.wave_params_all |
10 |
10 |
0 |
4 |
0 |
0% |
| tests/test_physics.py |
TestPhysicsPoly.growth_params_all |
10 |
10 |
0 |
6 |
0 |
0% |
| tests/test_physics.py |
(no function) |
66 |
66 |
2 |
0 |
0 |
0% |
| tests/test_pscattering.py |
test_continuity |
3 |
3 |
0 |
2 |
0 |
0% |
| tests/test_pscattering.py |
test_absolute_value_continuity |
7 |
7 |
0 |
2 |
0 |
0% |
| tests/test_pscattering.py |
test_repeatability |
6 |
6 |
0 |
0 |
0 |
0% |
| tests/test_pscattering.py |
(no function) |
19 |
19 |
0 |
0 |
0 |
0% |
| tests/test_spectrum.py |
parse_shape |
3 |
3 |
0 |
2 |
0 |
0% |
| tests/test_spectrum.py |
spectrum_arguments |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_spectrum.py |
spectrum_arguments_periods |
1 |
1 |
0 |
0 |
0 |
0% |
| tests/test_spectrum.py |
test_valid_shapes |
9 |
9 |
0 |
2 |
0 |
0% |
| tests/test_spectrum.py |
test_invalid_shapes |
5 |
5 |
0 |
2 |
0 |
0% |
| tests/test_spectrum.py |
test_from_periods |
6 |
6 |
0 |
2 |
0 |
0% |
| tests/test_spectrum.py |
test_properties |
18 |
18 |
0 |
14 |
0 |
0% |
| tests/test_spectrum.py |
(no function) |
30 |
30 |
0 |
0 |
0 |
0% |
| tests/utils.py |
(no function) |
10 |
0 |
0 |
0 |
0 |
100% |