fix problem doc

This commit is contained in:
giovanni
2025-03-13 12:04:02 +01:00
committed by FilippoOlivo
parent 47cd46bb4a
commit 89a6b39bd1
10 changed files with 120 additions and 102 deletions

View File

@@ -7,13 +7,8 @@ from .abstract_problem import AbstractProblem
class TimeDependentProblem(AbstractProblem):
"""
The class for the definition of time-dependent problems, i.e., for problems
depending on time.
Here's an example of a 1D wave problem.
:Example:
TODO
Class for defining time-dependent problems, where the system's behavior
changes with respect to time.
"""
@abstractmethod
@@ -25,6 +20,9 @@ class TimeDependentProblem(AbstractProblem):
@property
def temporal_variable(self):
"""
The time variable of the problem.
Get the time variable of the problem.
:return: The time variable of the problem.
:rtype: list[str]
"""
return self.temporal_domain.variables