Class BoundaryStrategy#
Defined in File BoundaryStrategy.h
Inheritance Relationships#
Derived Types#
public EdgeBoundaryStrategy
(Class EdgeBoundaryStrategy)public ToroidalBoundaryStrategy
(Class ToroidalBoundaryStrategy)
Class Documentation#
-
class BoundaryStrategy
Boundary strategy base class.
Defines the interface for boundary-type classes.
BoundaryStrategy classes implement methods specific to the boundary type of the model. The simulation area is assumed to have boundary conditions at x =
side_x
, y =side_y
, which are calculated from provided input coordinates or assumed to be 1 otherwise.Subclassed by EdgeBoundaryStrategy, ToroidalBoundaryStrategy
Public Functions
-
inline BoundaryStrategy(double side_x, double side_y)
BoundaryStrategy constructor.
- Parameters:
side_x – [in] size of one side of the simulation area (x-axis)
side_y – [in] size of one side of the simulation area (y-axis)
-
inline virtual ~BoundaryStrategy()
Protected Attributes
-
double side_x
Size of one side of the simulation area (x-axis).
-
double side_y
Size of one side of the simulation area (y-axis).
-
inline BoundaryStrategy(double side_x, double side_y)