UM2N.test package¶
Submodules¶
UM2N.test.bench_burgers module¶
UM2N.test.bench_swirl module¶
- class SwirlEvaluator(mesh, mesh_coarse, mesh_fine, mesh_new, mesh_model, dataset, model, eval_dir, ds_root, **kwargs)[source]¶
Bases:
object
- Evaluate error for advection swirl problem:
Solver implementation for the swirl problem
Error & Time evaluation
- solve_u(t)[source]¶
Solve the PDE problem using RK (SSPRK) scheme on the coarse mesh store the solution field to a varaible: self.u_cur
- solve_u_fine(t)[source]¶
Solve the PDE problem using RK (SSPRK) scheme on the fine mesh store the solution field to a varaible: self.u_cur_fine
UM2N.test.compare_hlmhltz module¶
UM2N.test.stat module¶
UM2N.test.tangle module¶
- check_dataset_tangle(dataset, model, n_elem_x, n_elem_y)[source]¶
Return the percentage of tangling grid of a mesh in a dataset.