timedomain

Abstract class which is used to implement timedomains

timedomain

Bases: domain

Class for domains with time components

__init__(dim, timeRange)

Constructor for class

Parameters:
  • dim (int) –

    Spatial dimension of domain.

  • timeRange (list) –

    Range of time to solve equation over, e.g, [0, 1].

get_timeRange()

Returns:
  • list

    Range of time o solve equation over.

onInitial(point) abstractmethod

Abstract method all timedomains must specify. Determines whether a point is an initial point.

Parameters:
  • point (list) –

    Point in time+spatial dimensions of domain.

Returns:
  • bool

    True if point is an initial point, False otherwise.