An error occurred while retrieving approval data for this merge request.
Fix Dirichlet boundary condition for scalar case
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
Filter activity
assigned to @holzer
- Resolved by Stephan Seitz
90 91 92 @pytest.mark.parametrize('with_indices', ('with_indices', False)) 93 def test_dirichlet(with_indices): 94 dh = SerialDataHandling(domain_size=(7, 7)) 95 src = dh.add_array('src', values_per_cell=3 if with_indices else 1) 96 boundary_stencil = [(1, 0), (-1, 0), (0, 1), (0, -1)] 97 boundary_handling = BoundaryHandling(dh, src.name, boundary_stencil) 98 dirichlet = Dirichlet((1, 20, 3) if with_indices else 1) 99 assert dirichlet.name == 'Dirichlet' 100 dirichlet.name = "wall" 101 assert dirichlet.name == 'wall' 102 103 for d in ('N', 'S', 'W', 'E'): 104 boundary_handling.set_boundary(dirichlet, slice_from_direction(d, dim=2)) 105 boundary_handling() added 1 commit
- df4da009 - Fix Dirichlet boundary condition for scalar case
added 1 commit
- e4874494 - Fix Dirichlet boundary condition for scalar case
mentioned in commit 28c5a8ee