|
Peano
|
Functions | |
| patch_file (dimensions, metadata_kind, name, dof, unknowns, patches, mapping=None, description="test data") | |
| patches: list of (patch_id, offset, size) metadata_kind: "cell" or "vertex" | |
| meta_file (snapshots) | |
| snapshots: list of (timestamp, [file names]) | |
| read_csv (file_name) | |
| probe_single_file (tmp_path, monkeypatch, content, point) | |
| test_cell_data_2d_picks_right_cell (tmp_path, monkeypatch) | |
| test_point_on_face_takes_upper_patch (tmp_path, monkeypatch) | |
| test_point_on_domain_boundary_takes_lower_patch (tmp_path, monkeypatch) | |
| test_adaptive_mesh_takes_finest_patch (tmp_path, monkeypatch) | |
| test_cell_data_3d (tmp_path, monkeypatch) | |
| test_2d_data_ignores_z (tmp_path, monkeypatch) | |
| test_vertex_data_nearest_dof_with_mapping (tmp_path, monkeypatch) | |
| test_point_outside_domain_yields_nan (tmp_path, monkeypatch) | |
| test_cell_data_with_non_default_mapping_is_rejected (tmp_path, monkeypatch) | |
| test_meta_file_with_partial_files_and_multiple_snapshots (tmp_path, monkeypatch) | |
| test_meta_file_in_other_directory (tmp_path, monkeypatch) | |
| test_named_unknowns_become_column_names (tmp_path, monkeypatch) | |
| test_same_names_in_two_data_sets_are_prefixed (tmp_path, monkeypatch) | |
| test_patch_filter_skips_patches (tmp_path) | |
Variables | |
| list | TWO_PATCHES_2D = [(1, (0.0, 0.0), (0.5, 0.5)), (2, (0.5, 0.0), (0.5, 0.5))] |
| test_point_probe.meta_file | ( | snapshots | ) |
snapshots: list of (timestamp, [file names])
Definition at line 69 of file test_point_probe.py.
Referenced by test_meta_file_in_other_directory(), test_meta_file_with_partial_files_and_multiple_snapshots(), and test_same_names_in_two_data_sets_are_prefixed().

| test_point_probe.patch_file | ( | dimensions, | |
| metadata_kind, | |||
| name, | |||
| dof, | |||
| unknowns, | |||
| patches, | |||
mapping = None, |
|||
description = "test data" |
|||
| ) |
patches: list of (patch_id, offset, size) metadata_kind: "cell" or "vertex"
Definition at line 19 of file test_point_probe.py.
| test_point_probe.probe_single_file | ( | tmp_path, | |
| monkeypatch, | |||
| content, | |||
| point | |||
| ) |
Definition at line 87 of file test_point_probe.py.
References read_csv().
Referenced by test_2d_data_ignores_z(), test_adaptive_mesh_takes_finest_patch(), test_cell_data_2d_picks_right_cell(), test_cell_data_3d(), test_cell_data_with_non_default_mapping_is_rejected(), test_named_unknowns_become_column_names(), test_point_on_domain_boundary_takes_lower_patch(), test_point_on_face_takes_upper_patch(), test_point_outside_domain_yields_nan(), and test_vertex_data_nearest_dof_with_mapping().


| test_point_probe.read_csv | ( | file_name | ) |
Definition at line 81 of file test_point_probe.py.
Referenced by probe_single_file(), test_meta_file_in_other_directory(), test_meta_file_with_partial_files_and_multiple_snapshots(), and test_same_names_in_two_data_sets_are_prefixed().

| test_point_probe.test_2d_data_ignores_z | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 139 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_adaptive_mesh_takes_finest_patch | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 124 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_cell_data_2d_picks_right_cell | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 102 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_cell_data_3d | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 131 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_cell_data_with_non_default_mapping_is_rejected | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 162 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_meta_file_in_other_directory | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 196 of file test_point_probe.py.
References meta_file(), and read_csv().

| test_point_probe.test_meta_file_with_partial_files_and_multiple_snapshots | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 170 of file test_point_probe.py.
References meta_file(), and read_csv().

| test_point_probe.test_named_unknowns_become_column_names | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 218 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_patch_filter_skips_patches | ( | tmp_path | ) |
Definition at line 242 of file test_point_probe.py.
| test_point_probe.test_point_on_domain_boundary_takes_lower_patch | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 117 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_point_on_face_takes_upper_patch | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 110 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_point_outside_domain_yields_nan | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 156 of file test_point_probe.py.
References probe_single_file().

| test_point_probe.test_same_names_in_two_data_sets_are_prefixed | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 225 of file test_point_probe.py.
References meta_file(), and read_csv().

| test_point_probe.test_vertex_data_nearest_dof_with_mapping | ( | tmp_path, | |
| monkeypatch | |||
| ) |
Definition at line 145 of file test_point_probe.py.
References probe_single_file().

| list test_point_probe.TWO_PATCHES_2D = [(1, (0.0, 0.0), (0.5, 0.5)), (2, (0.5, 0.0), (0.5, 0.5))] |
Definition at line 99 of file test_point_probe.py.