Use Poisson problem from problems zoo in test_problem and minor fix in AbstractProblem

This commit is contained in:
FilippoOlivo
2025-02-06 16:08:51 +01:00
committed by Nicola Demo
parent 84775849d1
commit c4749efc8b
4 changed files with 18 additions and 91 deletions

View File

@@ -99,7 +99,6 @@ def test_pinn_collector():
if isinstance(v, DomainEquationCondition):
assert list(collector.data_collections[k].keys()) == ['input_points', 'equation']
def test_supervised_graph_collector():
pos = torch.rand((100,3))
x = [torch.rand((100,3)) for _ in range(10)]