@@ -77,8 +77,7 @@ class InversePoisson2DSquareProblem(SpatialProblem, InverseProblem):
7777 downloaded successfully.
7878
7979 :Example:
80-
81- >>> problem = InversePoisson2DSquareProblem(load=True, data_size=1.0)
80+ >>> problem = InversePoisson2DSquareProblem()
8281 """
8382
8483 output_variables = ["u" ]
@@ -96,10 +95,10 @@ class InversePoisson2DSquareProblem(SpatialProblem, InverseProblem):
9695 }
9796
9897 conditions = {
99- "g1" : Condition (domain = "g1" , equation = FixedValue (value = 0.0 )),
100- "g2" : Condition (domain = "g2" , equation = FixedValue (value = 0.0 )),
101- "g3" : Condition (domain = "g3" , equation = FixedValue (value = 0.0 )),
102- "g4" : Condition (domain = "g4" , equation = FixedValue (value = 0.0 )),
98+ "g1" : Condition (domain = "g1" , equation = FixedValue (0.0 )),
99+ "g2" : Condition (domain = "g2" , equation = FixedValue (0.0 )),
100+ "g3" : Condition (domain = "g3" , equation = FixedValue (0.0 )),
101+ "g4" : Condition (domain = "g4" , equation = FixedValue (0.0 )),
103102 "D" : Condition (domain = "D" , equation = Equation (laplace_equation )),
104103 }
105104
@@ -109,7 +108,6 @@ def __init__(self, load=True, data_size=1.0):
109108
110109 :param bool load: If True, it attempts to load data from remote URLs.
111110 Set to False to skip data loading (e.g., if no internet connection).
112- Default is True.
113111 :param float data_size: The fraction of the total data to use for the
114112 "data" condition. If set to 1.0, all available data is used.
115113 If set to 0.0, no data is used. Default is 1.0.
0 commit comments