Update solvers (#434)
* Enable DDP training with batch_size=None and add validity check for split sizes * Refactoring SolverInterfaces (#435) * Solver update + weighting * Updating PINN for 0.2 * Modify GAROM + tests * Adding more versatile loggers * Disable compilation when running on Windows * Fix tests --------- Co-authored-by: giovanni <giovanni.canali98@yahoo.it> Co-authored-by: FilippoOlivo <filippo@filippoolivo.com>
This commit is contained in:
committed by
Nicola Demo
parent
780c4921eb
commit
9cae9a438f
@@ -36,8 +36,7 @@ class AbstractProblem(metaclass=ABCMeta):
|
||||
if not hasattr(self, "domains"):
|
||||
self.domains = {}
|
||||
for cond_name, cond in self.conditions.items():
|
||||
if isinstance(cond, (DomainEquationCondition,
|
||||
InputPointsEquationCondition)):
|
||||
if isinstance(cond, DomainEquationCondition):
|
||||
if isinstance(cond.domain, DomainInterface):
|
||||
self.domains[cond_name] = cond.domain
|
||||
cond.domain = cond_name
|
||||
|
||||
Reference in New Issue
Block a user